joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f050
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x5b03ec]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
xorps xmm0, xmm0
push edi
movlpd qword [esp + 8], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x28
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x44f08f
mov esi, dword [esp + 0x60]
xor edi, edi
jmp 0x44f097
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, edi
mov ecx, esi
call fcn.004e5eb0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 8], xmm0
call fcn.004e5eb0
movsd xmm1, qword [esp + 8]
divsd xmm1, xmm0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
cvtpd2ps xmm0, xmm1
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret

Function at 0x44f300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e3bd
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x438], ebx
mov esi, ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x434], 0
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043c260
mov dword [esi], eax
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x434], 1
nop word [eax + eax]
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00521d00
add esp, 0xc
mov dword [ebp - 0x428], 0x208
lea eax, [ebp - 0x42c]
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44f47e
mov dword [ebp - 0x444], eax
inc edi
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x440], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44f400
sub eax, edx
lea ecx, [ebp - 0x454]
sar eax, 1
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00429120
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x454]
mov ebx, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [ebx + 4]
push eax
push ebx
mov dword [ebp - 0x430], eax
call fcn.00456e90
mov edx, dword [esi + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x44f49c
lea ecx, [edx + 1]
mov byte [ebp - 4], 0
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x430]
mov dword [ebx + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x454]
call fcn.00428da0
mov ebx, dword [ebp - 0x438]
jmp 0x44f390
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0046321f
int3
Function at 0x44f4b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e412
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x234], edi
mov esi, ecx
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x230], 0
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043c260
mov dword [esi], eax
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x230], 1
nop word [eax + eax]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00521d00
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44f5cf
mov edi, dword [esi]
lea eax, [ebp - 0x21c]
inc ebx
mov ecx, esi
push eax
mov dword [ebp - 0x22c], ebx
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.00456260
mov edx, dword [esi + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x44f5ed
lea ecx, [edx + 1]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x234]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x22c]
jmp 0x44f540
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0046321f
int3
Function at 0x44f760
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x50], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x44f897
cmp dword [edi + 0x14], 8
mov ebx, dword [edi + 0x10]
jb 0x44f7aa
mov edx, dword [edi]
test ebx, ebx
je 0x44f906
or ecx, 0xffffffff
lea eax, [ebx - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea esi, [edx + ecx*2]
je 0x44f7d8
cmp esi, edx
je 0x44f906
sub esi, 2
cmp word [esi], 0x5c
jne 0x44f7c7
sub esi, edx
sar esi, 1
cmp esi, 0xffffffff
je 0x44f906
lea eax, [esi + 1]
cmp eax, ebx
jae 0x44f906
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.00427040
push esi
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00427040
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.0044f160
add esp, 8
test al, al
je 0x44f874
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.00412f40
mov esi, eax
jmp 0x44f877
or esi, 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x44f885
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x34]
call fcn.00428da0
lea ecx, [ebp - 0x4c]
call fcn.00428da0
jmp 0x44f909
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
cmp dword [edi + 0x14], 8
jb 0x44f8ca
mov edi, dword [edi]
push dword [ebp + 0xc]
mov edx, eax
lea ecx, [ebp - 0x1c]
push edi
call fcn.0044f160
mov edi, dword [ebp - 0x1c]
add esp, 8
test al, al
je 0x44f8f6
cmp dword [esi + 0x14], 8
jb 0x44f8ea
mov esi, dword [esi]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
jmp 0x44f8f9
or esi, 0xffffffff
test edi, edi
je 0x44f909
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f909
or esi, 0xffffffff
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x44f930
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x44f969
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 4
je 0x44f97b
mov bl, 1
jmp 0x44facf
mov eax, dword [0x5bacc0]
test al, 1
jne 0x44f996
or eax, 1
mov dword [0x5bacb8], 0
mov dword [0x5bacc0], eax
xorps xmm0, xmm0
mov byte [ebp - 0x51], 0
movlpd qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.004627c5
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x51]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0x456310
push 0x5bacb8
call fcn.00462aae
add esp, 0x10
test eax, eax
je 0x44faed
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
call fcn.004627ff
sub esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov edx, esp
mov ecx, 0x5ba96c
xor eax, eax
mov dword [edx + 0x10], 0
lea edi, [ecx + 2]
mov dword [edx + 0x14], 7
mov word [edx], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fa20
sub ecx, edi
sar ecx, 1
push ecx
push 0x5ba96c
mov ecx, edx
call fcn.00429120
lea ecx, [ebp - 0x50]
call fcn.0044ff60
add esp, 0x18
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
mov eax, esi
cmovae ecx, dword [ebp - 0x50]
cmp dword [esi + 0x14], 8
jb 0x44fa63
mov eax, dword [esi]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44fa73
mov bl, 1
jmp 0x44fac7
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.00451310
cmp dword [ebp - 0x28], 0
je 0x44fabf
mov esi, dword [0x5b99e4]
mov edi, dword [0x5b99e8]
cmp esi, edi
je 0x44fabf
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x44fa9d
mov ecx, dword [esi]
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x44fabd
add esi, 0x18
cmp esi, edi
jne 0x44fa93
jmp 0x44fabf
mov bl, 1
lea ecx, [ebp - 0x38]
call fcn.00428da0
lea ecx, [ebp - 0x50]
call fcn.00428da0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.00462820
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x44fb0a
call fcn.00462ac6
sub esp, 8
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00411b40
call fcn.00411c00
int3
Function at 0x450530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x5c], 0x6e0075
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x5c]
mov eax, 0x5ba658
mov dword [ebp - 0x58], 0x620061
push edi
mov dword [ebp - 0x54], 0x65006c
mov edx, 0x2b
mov dword [ebp - 0x50], 0x740020
sub esi, eax
mov dword [ebp - 0x4c], 0x20006f
mov dword [ebp - 0x48], 0x720063
mov dword [ebp - 0x44], 0x610065
mov dword [ebp - 0x40], 0x650074
mov dword [ebp - 0x3c], 0x490020
mov dword [ebp - 0x38], 0x6e004b
mov dword [ebp - 0x34], 0x77006f
mov dword [ebp - 0x30], 0x46006e
mov dword [ebp - 0x2c], 0x6c006f
mov dword [ebp - 0x28], 0x650064
mov dword [ebp - 0x24], 0x4d0072
mov dword [ebp - 0x20], 0x6e0061
mov dword [ebp - 0x1c], 0x670061
mov dword [ebp - 0x18], 0x720065
mov dword [ebp - 0x14], 0x20002e
mov dword [ebp - 0x10], 0x720068
mov dword [ebp - 0xc], 0x20003a
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffd3]
test ecx, ecx
je 0x45060e
movzx ecx, word [esi + eax]
test cx, cx
je 0x45060e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4505f0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x450680
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e688
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x34], esi
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x10], eax
je 0x450777
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x2c], eax
mov eax, edi
jb 0x4506e1
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x450777
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x38], ecx
call fcn.004e52af
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x450735
push dword [ebp - 0x38]
push 0
push eax
call fcn.00521d00
mov eax, dword [ebp - 0x30]
add esp, 0xc
xor ecx, ecx
mov word [eax], cx
jmp 0x45073a
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [edi + 0x14], 8
jb 0x450742
mov edi, dword [edi]
push dword [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, dword [ebp - 0x30]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450755
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00429120
push edi
call fcn.004e52db
add esp, 4
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x28]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
call fcn.00428da0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x451a40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e979
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5b03ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], esi
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push edx
mov dword [ebp - 0x18], 1
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x451b24
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451ad0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00429120
lea eax, [ebp - 0x30]
cmp esi, eax
je 0x451b1c
mov ecx, esi
call fcn.00428da0
movups xmm0, xmmword [ebp - 0x30]
xor eax, eax
mov word [ebp - 0x30], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
lea ecx, [ebp - 0x30]
call fcn.00428da0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x451b32
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e4cdc
mov esp, ebp
pop ebp
ret
Function at 0x452e90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x452f7b
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x452f6a
jg 0x452ed0
test edx, edx
je 0x452f6a
nop dword [eax]
call fcn.00429550
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x452f27
jg 0x452ee7
test esi, esi
je 0x452f27
cmp ebx, eax
jg 0x452ef7
jl 0x452ef1
cmp edi, esi
jae 0x452ef7
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [esp + 0x18]
call fcn.00521780
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x10]
jmp 0x452f4c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x452f64
mov eax, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x10], eax
test ebx, ebx
jg 0x452ed0
jl 0x452f64
test edi, edi
jne 0x452ed0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x452f9d
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x452f9f
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x453055
jg 0x452fba
test esi, esi
je 0x453055
test eax, eax
jl 0x453003
jg 0x452fc4
test ebx, ebx
je 0x453003
cmp edi, eax
jg 0x452fd4
jl 0x452fce
cmp esi, ebx
jae 0x452fd4
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.00521780
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x2c]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x45300a
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test edi, edi
jl 0x453055
jg 0x453014
test esi, esi
je 0x453055
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x453055
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x453040
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [esp + 0x1c]
call fcn.0052ce1d
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4544c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b610
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b03ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e4ef6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00462d90
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push 0
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.004542d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4548f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559620
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b03ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e4ef6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00462d90
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x455fc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x455ff1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x455fe0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x45ddd0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559620
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b03ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call fcn.004645c1
mov eax, dword [esi + 8]
add esp, 4
or eax, dword [esi + 0xc]
je 0x45de2b
push 1
push dword [esi + 0x18]
push str.NT_Kernel_Logger
push dword [esi + 0x14]
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_ControlTraceW]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edx, dword [esi + 0x10]
mov eax, edx
mov ecx, dword [esi + 0x14]
or eax, ecx
je 0x45de4d
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CloseTrace]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [esi + 0x1c8]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x45de76
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
push esi
call fcn.004645dd
mov edi, dword [esi + 0x1c0]
add esp, 4
mov dword [esi + 0x1c0], 0
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45deab
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret