joyce8/EMBER2024-capa huggingface dataset:
Function at 0x533980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c83b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b3480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0x5a0fdc
mov dword [ebp - 4], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0x5a0fe0
mov dword [ebx + 8], 0
lea edi, [ebx + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x18], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0x5a0fe8
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov edx, dword [ebx + 0x30]
mov byte [ebp - 4], 3
test edx, edx
je 0x533ae5
mov ecx, eax
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x533aec
inc dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call esi
inc dword [edi + 0x18]
push edi
call esi
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x533a69
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
mov dword [ebx + 0x28], 0
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x533a7e
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov dword [ebx + 0x38], 0
dec dword [edi + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
push 0x1002
push 0
push dword [ebx + 0x2c]
push 0
push ebx
call fcn.00541c00
add esp, 0x14
mov esi, eax
lea eax, [ebx + 0xc]
mov dword [ebx + 0x28], esi
dec dword [eax + 0x18]
push eax
call edi
test esi, esi
je 0x533af8
mov edx, dword [ebp + 8]
test edx, edx
je 0x533ac1
mov ecx, dword [ebp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x533acf
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebx + 0x2c], 0
push 0
push 0x80070057
call fcn.00492b30
push 0
push 0x80004005
call fcn.00492b30
int3
Function at 0x53e3d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebp
mov ebp, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [esp + 0x14], ebp
mov eax, esi
shl eax, cl
cmp edx, eax
ja 0x53e56b
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
push ebx
mov ebx, dword [ebp + 4]
push edi
push ebx
lea ecx, [ecx + 1]
mov dword [esp + 0x18], ebx
shl esi, cl
lea ecx, [ebp + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00417480
lea eax, [esi - 1]
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], eax
mov edi, dword [ebp + 4]
mov edi, dword [edi]
cmp edi, ebx
je 0x53e545
mov esi, edi
mov dword [esp + 0x10], esi
jmp 0x53e440
mov edx, dword [esi + 0xc]
mov eax, 0xcccccccd
mov edi, dword [edi]
and edx, 0x7fffffff
mov dword [esp + 0x24], edx
xor ebx, ebx
mul edx
mov dword [esp + 0x18], edi
mov ecx, 0x811c9dc5
mov ebp, edx
shr ebp, 3
inc ebp
cmp dword [esp + 0x24], ebx
jbe 0x53e49b
mov edx, dword [esi + 8]
lea esi, [ebp*2]
mov edi, dword [esp + 0x24]
jmp 0x53e480
movzx eax, word [edx]
add ebx, ebp
imul ecx, ecx, 0x1000193
add edx, esi
xor ecx, eax
cmp ebx, edi
jb 0x53e480
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
and ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov ebp, dword [eax + ecx*8]
lea eax, [eax + ecx*8]
mov dword [esp + 0x24], eax
cmp ebp, dword [esp + 0x14]
jne 0x53e4bc
mov dword [eax], esi
mov dword [eax + 4], esi
jmp 0x53e535
mov ebx, dword [eax + 4]
lea ecx, [esi + 8]
lea eax, [ebx + 8]
push eax
call fcn.00485c00
test al, al
je 0x53e4f6
mov ebx, dword [ebx]
cmp ebx, esi
je 0x53e4ed
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 4], esi
jmp 0x53e535
cmp ebp, ebx
je 0x53e517
lea ebx, [ebx]
mov ebx, dword [ebx + 4]
lea ecx, [esi + 8]
lea eax, [ebx + 8]
push eax
call fcn.00485c00
test al, al
jne 0x53e54f
cmp ebp, ebx
jne 0x53e500
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], esi
mov esi, edi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x14]
jne 0x53e440
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x10
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x53e535
push str.invalid_hash_bucket_count
call fcn.0048f815
int3
Function at 0x53ea10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
mov dword [esp], ecx
mov eax, 0xcccccccd
mov ecx, dword [esp + 8]
push ebx
push esi
push edi
mov ebx, dword [ecx + 4]
xor edi, edi
and ebx, 0x7fffffff
mov esi, 0x811c9dc5
mul ebx
shr edx, 3
inc edx
test ebx, ebx
je 0x53ea54
mov ecx, dword [ecx]
push ebp
lea ebp, [edx + edx]
movzx eax, word [ecx]
add edi, edx
imul esi, esi, 0x1000193
add ecx, ebp
xor esi, eax
cmp edi, ebx
jb 0x53ea40
pop ebp
mov eax, dword [esp + 0xc]
pop edi
mov eax, dword [eax + 0x18]
and eax, esi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x54ec90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x56db10
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5b3480]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0x104
push ecx
push edi
push edi
push edi
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x54edcc
mov ebx, dword [ebp + 0x218]
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x54ed45
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub eax, esi
je 0x54ed35
sub eax, 2
jne 0x54eda0
call fcn.0054f410
jmp 0x54eda0
push dword [ebp - 0x14]
call fcn.0054f090
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
lea eax, [ebp]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x240]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], esi
test ecx, ecx
je 0x54ee1c
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [eax + 8]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x3c]
push edx
call eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
test ecx, ecx
je 0x54ed9c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
test al, al
je 0x54edd3
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
inc edi
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x54ed07
cmp eax, 0x103
je 0x54edd7
xor bl, bl
jmp 0x54edd9
mov bl, 1
mov ecx, dword [ebp + 0x240]
test ecx, ecx
je 0x54edf7
mov esi, dword [ecx]
lea eax, [ebp + 0x21c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
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 + 0x208]
xor ecx, ebp
call fcn.004913e0
lea esp, [ebp + 0x20c]
pop ebp
ret
call fcn.0048f7f8
int3
Function at 0x5501f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dc4d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5b3480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 8
mov dword [ebp - 4], 0
mov bl, 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.00491411
lea ecx, [ebp - 0x20]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x20], eax
mov dword [eax], ecx
mov eax, ecx
mov dword [ebp - 0x54], 0x5a2480
mov dword [ebp - 0x50], eax
lea ecx, [ebp + 0xc]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], bl
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0054e450
push eax
call fcn.0054ee30
movsx ecx, byte [ebp - 0x2c]
add esp, 8
inc ecx
mov bh, al
sub ecx, 0
je 0x5502b7
sub ecx, 1
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x5502b7
mov edx, dword [ecx]
lea eax, [ebp - 0x54]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
test bh, bh
jne 0x5502bf
xor bl, bl
jmp 0x55030b
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x24], eax
cmp esi, eax
je 0x55030b
mov edi, edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x14], 7
jbe 0x5502e4
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0054e450
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x550303
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov byte [edi + 0xc], 1
jmp 0x550305
xor bl, bl
inc esi
cmp esi, dword [ebp - 0x24]
jne 0x5502d0
lea ecx, [ebp - 0x20]
call fcn.00552300
mov eax, dword [ebp - 0x20]
push 8
push eax
mov dword [ebp - 0x20], 0
call fcn.00491173
mov ecx, dword [ebp + 0x30]
add esp, 8
test ecx, ecx
je 0x550340
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5517f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dd8d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x5b3480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x551825
or eax, 2
mov dword [ebp + 0x10], eax
test al, 1
mov esi, dword [ebp + 0xc]
jne 0x551855
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x551855
jle 0x551924
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xffffffff
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
call dword [eax + 0x3c]
push dword [ebp + 0x10]
test eax, eax
sete al
movzx eax, al
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.00550360
mov eax, dword [ebp - 0x3c]
add esp, 0x14
test eax, eax
je 0x5518ef
cmp dword [ebp - 0x34], 0xffffffff
je 0x5518df
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5518f7
push 1
call fcn.0054e6f0
jmp 0x5518f7
lea ecx, [ebp - 0x3c]
call fcn.0054e760
mov ax, word [ebp + 0x10]
test ah, ah
je 0x55191d
xor edx, edx
mov ecx, 0x80004005
test al, al
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x551960
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
sub eax, 0x1001
je 0x5519ad
sub eax, 1
je 0x551975
xor al, al
pop esi
ret
cmp byte [esp + 0x10], 0
je 0x5519a9
mov esi, dword [esp + 0xc]
mov ecx, esi
push 4
push 0x571024
push 1
push 0
push 0
call fcn.0054e450
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x551971
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0xc], 1
mov al, 1
pop esi
ret
mov esi, dword [esp + 0xc]
mov ecx, esi
push 4
push 0x57634c
push 1
push 0
push 0
call fcn.0054e450
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x5519da
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0xc], 1
sete al
pop esi
ret
Function at 0x557ec0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
mov dword [esp], 0
push esi
test eax, eax
je 0x557fa9
mov ecx, dword [eax]
test ecx, ecx
je 0x557fa9
cmp ecx, 0xffffffff
je 0x557fa9
xor esi, esi
mov dword [esp + 8], 4
push esi
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
push ecx
push 0x20000013
push dword [eax]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x557f30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
js 0x557f2c
jne 0x557f23
xor esi, esi
xor eax, eax
jmp 0x557f34
movzx esi, si
or esi, 0x83ff0000
xor eax, eax
jmp 0x557f34
mov eax, dword [esp + 4]
test esi, esi
js 0x557fae
cmp eax, 0x12c
jae 0x557f46
xor eax, eax
pop esi
add esp, 8
ret
cmp eax, 0x190
jb 0x557f8d
cmp eax, 0x1f4
jae 0x557f86
mov ecx, eax
sub ecx, 0x191
je 0x557f7c
sub ecx, 3
je 0x557f72
sub ecx, 3
jne 0x557f8d
mov eax, 0x82211197
pop esi
add esp, 8
ret
mov eax, 0x42211194
pop esi
add esp, 8
ret
mov eax, 0x82211191
pop esi
add esp, 8
ret
cmp eax, 0x258
jae 0x557f9f
add eax, 0x1000
movzx eax, ax
or eax, 0x82210000
pop esi
add esp, 8
ret
mov eax, 0x80004005
pop esi
add esp, 8
ret
mov esi, 0x82211003
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x55a840
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e235
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5b3480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
lea edi, [ecx + 2]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x2c], 1
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a8e0
lea eax, [ebp - 0x64]
sub ecx, edi
push eax
push 0
sar ecx, 1
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x55a92d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
js 0x55aa62
je 0x55a92d
movzx eax, ax
or eax, 0x83ff0000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x55a940
push eax
push dword [ebp - 0x48]
lea ecx, [esi + 0x64]
call fcn.00404760
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x55a953
push eax
push dword [ebp - 0x40]
lea ecx, [esi + 0x70]
call fcn.00404760
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x55a971
push 0x23
push eax
call fcn.00493806
add esp, 8
test eax, eax
je 0x55a971
sub eax, dword [ebp - 0x30]
sar eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push dword [ebp - 0x54]
call fcn.004058f0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push dword [ebp - 0x38]
call fcn.004058f0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x55a9d5
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
call fcn.004058f0
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
sub eax, 1
je 0x55aa02
sub eax, 2
je 0x55a9fb
sub eax, 1
je 0x55a9f4
mov esi, 0x80004005
jmp 0x55aa46
mov eax, 2
jmp 0x55aa04
mov eax, 1
jmp 0x55aa04
xor eax, eax
push eax
movzx eax, word [ebp - 0x4c]
test edi, edi
mov ecx, 0x570fe0
cmovne ecx, edi
push eax
push ecx
mov ecx, esi
call fcn.00558a00
mov esi, eax
test esi, esi
js 0x55aa46
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x10]
test ebx, ebx
push dword [ebp + 0x18]
mov eax, 0x570fe0
push dword [ebp + 0x10]
cmovne eax, ebx
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
call fcn.00559fc0
mov esi, eax
test ebx, ebx
je 0x55aa53
push ebx
call fcn.0040bd60
add esp, 4
test edi, edi
je 0x55aa60
push edi
call fcn.0040bd60
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x55aeb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x55aedd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x55aedd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x562470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566f40
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5b3480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x70
call fcn.00565bc0
add esp, 4
mov esi, eax
mov cl, byte [ebp + 8]
xor eax, eax
mov byte [esi], cl
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 7
mov word [esi + 0x20], ax
mov byte [esi + 0x38], al
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [ebp - 4], 0
mov dword [esi + 0x48], 1
mov byte [esi + 0x4c], 1
call fcn.00562270
push eax
lea ecx, [esi + 0x50]
call fcn.0054b5d0
mov al, byte [esi]
cmp al, 5
je 0x562529
cmp al, 4
je 0x562529
mov dword [esi + 0x68], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xc
call fcn.00565bc0
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esi + 0x68], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5655b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e5b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5b3480]
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, dword [ebp + 8]
lea ecx, [ebp - 0x28]
movzx edi, word [ebp + 0xc]
xor eax, eax
push 2
push 0x5a3fcc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0054b4f0
mov ax, di
mov esi, edi
shr ax, 0xc
movzx edx, ax
add dx, 0x30
shr esi, 8
and esi, 0xf
add esi, 0x30
cmp dx, 0x39
lea eax, [edx + 7]
movzx ecx, ax
movzx eax, dx
cmovbe ecx, eax
movzx eax, cx
lea ecx, [ebp - 0x28]
push eax
call fcn.00553e80
lea eax, [esi + 7]
cmp si, 0x39
movzx ecx, ax
movzx eax, si
cmovbe ecx, eax
movzx eax, cx
lea ecx, [ebp - 0x28]
push eax
call fcn.00553e80
mov edx, edi
and edi, 0xf
shr edx, 4
and edx, 0xf
add edx, 0x30
cmp dx, 0x39
lea esi, [edi + 0x30]
lea eax, [edx + 7]
movzx ecx, ax
movzx eax, dx
cmovbe ecx, eax
movzx eax, cx
lea ecx, [ebp - 0x28]
push eax
call fcn.00553e80
lea eax, [esi + 7]
cmp si, 0x39
movzx ecx, ax
movzx eax, si
cmovbe ecx, eax
movzx eax, cx
lea ecx, [ebp - 0x28]
push eax
call fcn.00553e80
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebx], eax
mov eax, ebx
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x14], ecx
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.004913e0
mov esp, ebp
pop ebp
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x10d66845
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x78f27d47
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219