joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ee630
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d78d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov edx, dword [ebp + 8]
test edx, edx
mov eax, dword [0x644904]
push esi
mov dword [ebp - 0x10], eax
push edi
jl 0x4ee789
cmp edx, 6
jge 0x4ee789
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x4ee789
cmp dword [ecx + edx*4 + 0x34], eax
jge 0x4ee789
mov edx, dword [edx*4 + 0x63eee4]
mov eax, dword [0x645858]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0x84]
add esp, 0xc
mov eax, dword [0x645858]
mov esi, dword [eax]
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call dword [fcn.005ea360]
mov ecx, dword [0x63ee90]
push eax
mov eax, dword [0x645858]
push ecx
lea edx, [ebp - 0x48]
push edx
push eax
call dword [esi + 0x84]
add esp, 0x10
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [fcn.005ea360]
lea ecx, [ebp - 0x2c]
mov esi, eax
call dword [fcn.005ea34c]
mov eax, dword [0x645858]
test eax, eax
mov byte [ebp - 4], 2
je 0x4ee72a
test esi, esi
jne 0x4ee72e
mov edx, dword [0x63ee90]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x80]
push edx
push eax
call dword [ecx + 0x84]
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [fcn.005ea358]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call dword [fcn.005ea35c]
jmp 0x4ee738
test esi, esi
je 0x4ee738
push esi
lea ecx, [ebp - 0x2c]
call dword [fcn.005ea348]
mov eax, dword [ebp - 0x18]
test eax, eax
lea ecx, [ebp - 0x2c]
je 0x4ee75e
mov esi, dword [0x646074]
mov edi, dword [esi]
call dword [fcn.005ea360]
push eax
push 0x85
mov ecx, esi
call dword [edi + 0x4c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [fcn.005ea35c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [fcn.005ea35c]
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call dword [fcn.005ea35c]
xor eax, eax
jmp 0x4ee78e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.005c8895
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4f70e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x609cf8
or eax, 0xffffffff
xor ebx, ebx
lea edi, [esi + 0x20]
mov ecx, edi
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.004ef830
mov dword [edi + 4], eax
mov byte [eax + 0x35], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x50ed50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daafa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push edi
xor edi, edi
mov dword [esi], 0x60e8f8
mov dword [ebp - 0x10], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.00509910
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edi
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
call dword [fcn.005ea34c]
push edi
mov ecx, ebx
call fcn.004bb660
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x14], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51ecb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov eax, dword [0x644904]
mov ecx, dword [0x64581c]
push ebx
mov dword [esp + 0x144], eax
mov eax, dword [0x645800]
cmp eax, ecx
push esi
push edi
jne 0x51ed69
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0xc]
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0x4a
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add ebx, 0xc
mov ecx, ebx
stosb byte es:[edi], al
call dword [edx]
mov ecx, pe_nt_image_headers32
mov esi, eax
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
nop
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
xor byte [esp + esi + 0x18], al
inc esi
cmp esi, 0x100
jl 0x51ed10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push 0xe8
push eax
mov byte [esp + 0x110], 0
call fcn.00575d00
add esp, 0x10
test al, al
je 0x51ed69
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
dec edx
neg edx
sbb edx, edx
push ecx
mov ecx, dword [0x64577c]
add edx, 7
push edx
call fcn.0048db90
mov ecx, dword [esp + 0x14c]
mov eax, 2
call fcn.005c8895
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x530ae0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5dd0ab
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
mov ebx, ecx
jne 0x530b1e
push 0x611a50
push 0x5de
push 0x611a34
call dword [fcn.005ea888]
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, ebx
call fcn.0052eb20
cmp eax, esi
jne 0x530ba1
push 0x64
call fcn.005c8833
add esp, 4
mov dword [ebp + 8], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x530b68
mov edx, dword [0x6431c8]
cmp edx, esi
jge 0x530b55
mov edx, 1
mov esi, edx
inc edx
push esi
mov ecx, eax
mov dword [0x6431c8], edx
call fcn.00517690
mov esi, eax
push edi
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.005176e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebx + 0x30]
mov dword [ebp + 8], eax
call fcn.005301a0
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov ecx, eax
call fcn.005176e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53dd30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd969
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
mov dword [ebx], fcn.0051e930
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebp - 4], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
lea esi, [ebx + 0x4c]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0053c7a0
mov dword [esi + 4], eax
mov byte [eax + 0x1d], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], edi
lea ecx, [ebx + 0x5c]
mov byte [ebp - 4], 2
call dword [fcn.005ea34c]
lea ecx, [ebx + 0x78]
mov byte [ebp - 4], 3
call dword [fcn.005ea34c]
mov esi, dword [ebp + 8]
cmp esi, edi
mov byte [ebp - 4], 4
jne 0x53ddd3
push 0x612600
push 0x23
push 0x6125a0
call dword [fcn.005ea888]
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebx + 4], esi
mov dword [ebp - 0x14], ecx
sub esp, 0x24
mov dword [ebx + 0x28], edi
mov edi, esp
mov ecx, 9
lea esi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
lea ecx, [ebx + 0x38]
mov dword [ebx + 8], eax
call fcn.0053d8b0
mov dl, byte [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0xa8], esi
mov dword [ebx + 0xac], esi
mov dword [ebx + 0xa4], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0xa0], esi
pop edi
mov byte [ebx + 0x49], dl
mov byte [ebx + 0x34], 0
mov byte [ebx + 0x48], 0
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x56ee50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x644904]
mov ecx, dword [0x64581c]
mov dword [ebp - 4], eax
mov eax, dword [0x645800]
cmp eax, ecx
jne 0x56ef15
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0xc]
push esi
push edi
mov byte [ebp - 0x130], 0
xor eax, eax
mov ecx, 0x4a
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add ebx, 0xc
mov ecx, ebx
stosb byte es:[edi], al
call dword [edx]
mov ecx, pe_nt_image_headers32
mov esi, eax
lea edi, [ebp - 0x130]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edi, edi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
xor byte [ebp + esi - 0x130], al
inc esi
cmp esi, 0x100
jl 0x56eeb0
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x130]
push 0xe8
push eax
mov byte [ebp - 0x48], 0
call fcn.00575d00
add esp, 0x10
test al, al
pop edi
pop esi
pop ebx
je 0x56ef15
mov edx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x138]
dec edx
neg edx
sbb edx, edx
push ecx
mov ecx, dword [0x64577c]
add edx, 7
push edx
call fcn.0048db90
mov ecx, dword [ebp - 4]
mov eax, 2
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x5723a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e08c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x615ef0
mov dword [esp + 8], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 1
call fcn.00572050
mov al, byte [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
mov edx, dword [esp + 0x1c]
mov byte [esi + 0x64], al
lea eax, [esi + 0x65]
mov dword [esi + 4], edx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [eax], bl
je 0x572430
push ecx
push 0x5ebcc4
push 0x20
push eax
call dword [fcn.005ea384]
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x573780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov dword [ecx], 0x615f88
jmp fcn.005736d0

Function at 0x576b20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jle 0x576b66
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x576b40
mov bl, byte [eax + esi]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov edx, ecx
shr edx, 0x10
add dl, 2
xor dl, bl
xor dl, 0x26
mov byte [eax + esi], dl
inc eax
cmp eax, edi
jl 0x576b40
pop esi
pop ebx
pop edi
ret

Function at 0x5780e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x578123
mov edx, dword [esp + 0xc]
test edx, edx
je 0x578123
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x578125
push ebx
push edi
lea esp, [esp]
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
mov ebx, dword [edi*4 + 0x643388]
shr eax, 8
xor eax, ebx
inc ecx
cmp ecx, edx
jb 0x578100
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x587210
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x40
mov ecx, dword [0x619e38]
mov eax, dword [0x644904]
mov edx, dword [0x619e3c]
xor eax, esp
mov dword [esp + 4], ecx
mov ecx, dword [0x619e24]
mov dword [esp + 0x10], ecx
mov cx, word [0x619e30]
push ebx
push esi
push edi
mov word [esp + 0x28], cx
mov ecx, 6
mov esi, 0x619e08
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [0x619e34]
mov dword [esp + 0xc], eax
mov al, byte [0x619e40]
mov dword [esp + 0x14], edx
mov edx, dword [0x619e28]
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x18], al
mov eax, dword [0x619e2c]
mov dword [esp + 0x20], edx
mov esi, 0x7f
lea edx, [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x24], eax
sub esi, edx
mov edi, edi
lea eax, [esp + ecx + 0xc]
lea edx, [esi + eax]
and edx, 0x800000ff
jns 0x5872a7
dec edx
or edx, 0xffffff00
inc edx
mov bl, byte [eax]
xor bl, dl
inc ecx
cmp ecx, 0xc
mov byte [eax], bl
jl 0x587290
lea eax, [esp + 0xc]
push eax
call dword [fcn.005ea0d0]
mov ebx, eax
xor ecx, ecx
lea eax, [esp + ecx + 0xc]
lea edx, [esi + eax]
and edx, 0x800000ff
jns 0x5872d9
dec edx
or edx, 0xffffff00
inc edx
xor byte [eax], dl
inc ecx
cmp ecx, 0xc
jl 0x5872c2
test ebx, ebx
jne 0x5872f9
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005c8895
add esp, 0x40
ret
mov edi, 0x7f
lea eax, [esp + 0x1c]
xor ecx, ecx
sub edi, eax
jmp 0x587310
lea eax, [esp + ecx + 0x1c]
lea edx, [edi + eax]
and edx, 0x800000ff
jns 0x587327
dec edx
or edx, 0xffffff00
inc edx
xor byte [eax], dl
inc ecx
cmp ecx, 0xd
jl 0x587310
push ebp
mov ebp, dword [fcn.005ea0d4]
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
mov esi, eax
neg esi
sbb esi, esi
neg esi
xor edx, edx
jmp 0x587350
lea ecx, [esp + edx + 0x20]
lea eax, [edi + ecx]
and eax, 0x800000ff
jns 0x587365
dec eax
or eax, 0xffffff00
inc eax
xor byte [ecx], al
inc edx
cmp edx, 0xd
jl 0x587350
test esi, esi
jne 0x587386
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.005c8895
add esp, 0x40
ret
mov esi, 0x7f
lea edx, [esp + 0x30]
xor ecx, ecx
sub esi, edx
lea eax, [esp + ecx + 0x30]
lea edx, [esi + eax]
and edx, 0x800000ff
jns 0x5873aa
dec edx
or edx, 0xffffff00
inc edx
xor byte [eax], dl
inc ecx
cmp ecx, 0x18
jl 0x587393
lea eax, [esp + 0x30]
push eax
push ebx
call ebp
mov edi, eax
xor edx, edx
mov edi, edi
lea ecx, [esp + edx + 0x30]
lea eax, [esi + ecx]
and eax, 0x800000ff
jns 0x5873d5
dec eax
or eax, 0xffffff00
inc eax
mov bl, byte [ecx]
xor bl, al
inc edx
cmp edx, 0x18
mov byte [ecx], bl
jl 0x5873c0
mov cl, byte [edi]
pop ebp
pop edi
xor eax, eax
cmp cl, 0xcc
mov ecx, dword [esp + 0x44]
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.005c8895
add esp, 0x40
ret
Function at 0x587400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call fcn.00587210
test eax, eax
je 0x587483
mov ecx, dword [0x6437e4]
mov edx, dword [0x656b80]
mov eax, ecx
shr ecx, 2
mov esi, 0x6437a0
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x6437e4]
xor eax, eax
test ecx, ecx
jle 0x587448
mov edi, edi
xor byte [eax + edx], al
inc eax
cmp eax, ecx
jl 0x587440
mov dword [edx + 0x1e], edx
add edx, 0x1d
mov dword [ebp - 4], edx
call dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [0x6437e4]
mov edi, dword [0x656b80]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 8]
xor eax, eax
test ecx, ecx
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x58e6d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x5adb37
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e0ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.005731f0
mov dword [esi], 0x61ea44
xor eax, eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
mov byte [esi + 0x2c], bl
call fcn.005adba0
lea ecx, [esi + 0x870]
call fcn.004eba00
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x8dc], ebx
mov byte [esi + 0x8e0], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5aeca7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e0ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005731f0
mov dword [esp + 0x18], 0
mov dword [esi], 0x61ed5c
lea edi, [esi + 0x34]
mov ebp, 6
lea ebx, [ebx]
mov ecx, edi
call fcn.0055e640
add edi, 0x7c
dec ebp
jne 0x5aecd0
mov byte [esi + 0xd], 0
xor eax, eax
lea ecx, [esi + 0xe]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov word [ecx + 0x1c], ax
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x30], al
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67f5ea
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x67f607
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67f5f8
add dl, dl
jne 0x67f612
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67f65e
xor eax, eax
add dl, dl
jne 0x67f61f
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x67f6fb
add dl, dl
jne 0x67f62e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f639
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f644
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f64f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x67f659
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x67f5fe
mov eax, 1
add dl, dl
jne 0x67f66c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x67f677
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67f663
sub eax, 2
jne 0x67f6a6
mov ecx, 1
add dl, dl
jne 0x67f68c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67f697
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67f683
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67f5fe
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x67f6bd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x67f6c8
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x67f6b4
cmp eax, 0x7d00
jae 0x67f6eb
cmp eax, 0x500
jb 0x67f6e6
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67f5fe
cmp eax, 0x7f
ja 0x67f6ee
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67f5fe
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x67f717
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x67f5fe
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret 8
Function at 0x439eb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cf8db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004bf085
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x439f32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bbfc4
mov eax, dword [eax]
push 0x636d34
push eax
call fcn.004add34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bf310
test bl, bl
je 0x439f32
push 0x636d34
lea ecx, [esp + 0xc]
call fcn.004bf6ec
push 0x636d40
lea ecx, [esp + 0xc]
call fcn.004bf6ec
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x439f6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bf310
jmp 0x43a039
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x439ff2
lea edx, [esp + 0x7c]
push 0x636d3c
push edx
call fcn.004add34
add esp, 8
test eax, eax
je 0x439ff2
lea eax, [esp + 0x7c]
push 0x636d38
push eax
call fcn.004add34
add esp, 8
test eax, eax
je 0x439ff2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x439f82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004bf310
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43b290
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43b2f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc