joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d830
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040e730
cmp eax, 0xffffffff
je 0x40d859
test al, 0x10
jne 0x40d859
test al, 1
je 0x40d859
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40d86b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40d86b
mov al, 1
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4

Function at 0x40d880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab5200
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0xaf908c]
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, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x23c]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test esi, esi
je 0x40d997
cmp esi, 0x114
jae 0x40d906
xor eax, eax
mov ecx, edi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x23c]
push eax
call fcn.0040a9a0
mov al, 1
jmp 0x40d999
lea ecx, [ebp - 0x248]
call fcn.0040a7f0
mov dword [ebp - 4], 0
cmp esi, dword [ebp - 0x240]
jbe 0x40d92c
push esi
lea ecx, [ebp - 0x248]
call fcn.0040b270
push dword [ebp - 0x248]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
test edx, edx
je 0x40d989
mov ecx, dword [ebp - 0x248]
xor eax, eax
mov word [ecx + esi*2], ax
cmp word [ecx], ax
je 0x40d958
inc eax
cmp word [ecx + eax*2], 0
jne 0x40d950
mov dword [ebp - 0x244], eax
cmp eax, edx
jne 0x40d989
lea eax, [esi - 1]
cmp eax, edx
jne 0x40d989
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.0040a820
push dword [ebp - 0x248]
call fcn.00a407cc
add esp, 4
mov al, 1
jmp 0x40d999
push dword [ebp - 0x248]
call fcn.00a407cc
add esp, 4
xor al, al
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.00a405be
mov esp, ebp
pop ebp
ret 4

Function at 0x40db60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret 8

Function at 0x40db80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov eax, edx
and ecx, 0x3fff
and eax, 0xf0000000
cmove ecx, edx
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret 8
Function at 0x40e790
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab5374
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0xaf908c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [edi + 4]
test esi, esi
je 0x40e7e2
mov eax, dword [edi]
dec esi
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x40e7de
push dword [ebx]
call fcn.00a407cc
push 0xc
push ebx
call fcn.00a407b5
add esp, 0xc
test esi, esi
jne 0x40e7c2
push 0
push 0
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test ebx, ebx
jne 0x40e80f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a407c3
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
push esi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40e977
cmp eax, ebx
ja 0x40e977
lea ecx, [ebp - 0x38]
call fcn.0040a7f0
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edx
mov dword [ebp + 8], eax
test ecx, ecx
je 0x40e965
mov ebx, 2
mov dword [ebp - 0x18], 4
nop
cmp word [esi + ebx - 2], 0
jne 0x40e953
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a9a0
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ebx
cmp dword [edi + 4], ecx
jne 0x40e912
cmp ecx, 0x7fffffff
jae 0x40e998
mov eax, ecx
mov edx, SysReAllocString
sub edx, ecx
shr eax, 2
inc eax
cmp eax, edx
cmovbe edx, eax
add edx, ecx
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x20], edx
mul dword [ebp - 0x18]
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a407c3
mov ecx, dword [edi + 4]
add esp, 4
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x40e8fd
shl ecx, 2
push ecx
push dword [edi]
push eax
call fcn.00a91c60
add esp, 0xc
push dword [edi]
call fcn.00a407cc
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
push 0xc
call fcn.00a40785
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x40e936
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.0040a610
mov edx, eax
jmp 0x40e938
xor edx, edx
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 1
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
inc eax
add ebx, 2
mov dword [ebp + 8], eax
cmp eax, ecx
jb 0x40e880
mov edx, dword [ebp - 0x14]
push dword [ebp - 0x38]
cmp edx, ecx
sete bl
call fcn.00a407cc
add esp, 4
jmp 0x40e979
xor bl, bl
push esi
call fcn.00a407cc
add esp, 4
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 4
push 0xaf24ec
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x7e5
push eax
call fcn.00a9269c
int3
Function at 0x40e9b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0xaf908c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x4a8], eax
nop word [eax + eax]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x40ea6c
lea ecx, [ebp - 0x254]
push ecx
push eax
call ebx
test eax, eax
jne 0x40ea00
xor al, al
jmp 0x40ea96
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x24c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x250]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x248]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x244]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x23c]
mov dword [esi + 0x18], eax
xor eax, eax
add eax, dword [ebp - 0x234]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x238]
adc ecx, 0
mov dword [esi], eax
lea eax, [ebp - 0x228]
mov dword [esi + 4], ecx
push eax
lea ecx, [esi + 0x28]
mov word [esi + 0x24], 0
call fcn.0040a9a0
jmp 0x40ea94
lea eax, [ebp - 0x4a4]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x40ea87
xor al, al
jmp 0x40ea96
push esi
lea eax, [ebp - 0x4a4]
push eax
call fcn.0040dcd0
mov al, 1
test al, al
je 0x40eac7
mov ecx, esi
call fcn.0040e750
test al, al
jne 0x40e9e0
mov eax, dword [ebp - 0x4a8]
mov byte [eax], 1
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a405be
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x4a8]
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0xffffffff
je 0x40eaf4
pop edi
cmp eax, 0x12
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a405be
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
je 0x40eab2
cmp eax, 5
jne 0x40eb31
mov ecx, dword [edi + 8]
sub ecx, 0x1b
je 0x40eb1c
test ecx, ecx
jle 0x40eb31
mov eax, dword [edi + 4]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x40eb1c
cmp eax, 0x2f
jne 0x40eb31
mov eax, dword [edi + 4]
push str.System_Volume_Information
lea eax, [eax + ecx*2]
push eax
call fcn.0040b8e0
test al, al
jne 0x40eab2
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a405be
mov esp, ebp
pop ebp
ret 8

Function at 0x40ec30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ec62
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40ec62
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x415010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov edi, ecx
call fcn.0040ff50
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x415183
cmp dword [edi + 0xe8], 0
je 0x415183
mov eax, dword [ebp + 8]
mov ecx, dword [esi + eax*4]
mov esi, dword [esi + eax*4 + 4]
sub esi, ecx
mov dword [ebp + 0xc], ecx
cmp esi, 0x4000
jae 0x415183
lea eax, [esi - 1]
push eax
push ebx
call fcn.0040ff10
test eax, eax
jne 0x415185
mov eax, dword [edi + 0xe8]
xor edi, edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + ecx*2]
test esi, esi
je 0x415183
cmp esi, 0x10
jb 0x415155
lea eax, [ecx - 2]
lea eax, [eax + esi*2]
lea ebx, [edx - 2]
lea ebx, [ebx + esi*2]
cmp edx, eax
ja 0x4150a3
cmp ebx, ecx
jae 0x415155
movaps xmm5, xmmword [str._________]
mov eax, esi
movaps xmm6, xmmword [0xabaaa0]
and eax, 0xfffffff0
movaps xmm4, xmmword [0xabaa80]
movaps xmm7, xmmword [0xabaa90]
movups xmm0, xmmword [ecx]
add edi, 0x10
movaps xmm3, xmm5
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm3, xmm5
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, 0x20
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp edi, eax
jb 0x4150c4
cmp edi, esi
jae 0x415183
sub esi, edi
mov edi, 0xf05c
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
cmp eax, 0x2f
jne 0x415172
mov eax, 0x5c
jmp 0x415178
cmp eax, 0x5c
cmove eax, edi
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x415160
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x418930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx + 9]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], esi
call fcn.004188a0
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.004188a0
lea edi, [esi + 0x74]
mov ecx, edi
call fcn.004199f0
push 0x88
call fcn.00a40785
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x418a34
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.NCoderMixer2::CCoderMT.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0x68], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
jmp 0x418a36
xor esi, esi
mov ecx, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dword [eax + ecx*4], esi
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x20], eax
mov edi, dword [ebx]
test edi, edi
je 0x418a56
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x418a63
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x18], edi
mov edi, dword [ebx + 4]
test edi, edi
je 0x418a73
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x418a80
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [esi + 0x1c], edi
pop edi
mov al, byte [eax + 0x5c]
mov byte [esi + 0x68], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x428350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab6aaa
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xaf908c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x428392
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 2
mov dword [esi + 4], ecx
test ecx, ecx
je 0x4283ad
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 4
mov dword [esi + 8], ecx
test ecx, ecx
je 0x4283c1
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 6
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x4283d5
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.0040a610
lea eax, [edi + 0x24]
mov byte [ebp - 4], 8
lea ecx, [esi + 0x24]
push eax
call fcn.0040a610
lea eax, [edi + 0x30]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x30]
push eax
call fcn.0040a610
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
mov dword [esi + 0x70], eax
lea eax, [edi + 0x78]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x78]
push eax
mov byte [ebp - 4], 0xa
call fcn.00428620
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0xa8]
call fcn.00428620
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [esi + 0xd8], eax
mov eax, esi
mov dword [esi + 0xdc], ecx
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 0x4284f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab6b40
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0xaf908c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.0040a7f0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.0040a7f0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.0040a7f0
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040a7f0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.0040a7f0
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040a7f0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.0040a7f0
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 0x4286c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab6bd7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0xaf908c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x14], 0
mov dword [edi], vtable.COpenCallbackImp.0
mov dword [edi + 4], vtable.COpenCallbackImp.1.0
mov dword [edi + 8], vtable.COpenCallbackImp.2.0
mov dword [edi + 0xc], vtable.COpenCallbackImp.3.0
mov dword [edi + 0x10], vtable.COpenCallbackImp.4.0
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.0040a7f0
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040a7f0
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.0040dc50
lea ecx, [esi + 0x28]
call fcn.0040a7f0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.004247d0
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 0x4287c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab6c00
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0xaf908c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.00a407cc
push dword [esi + 0xc0]
call fcn.00a407cc
push dword [esi + 0x9c]
call fcn.00a407cc
push dword [esi + 0x90]
call fcn.00a407cc
push dword [esi + 0x30]
call fcn.00a407cc
push dword [esi + 0x24]
call fcn.00a407cc
push dword [esi + 0x18]
call fcn.00a407cc
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x428840
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x428854
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x428868
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x42887b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42aed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xab6faf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xaf908c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.0040a7f0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040a7f0
mov word [esi + 0x60], 0
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.0040a7f0
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.0040a7f0
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 0x42c270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x42c29f.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x42c29f.154
movzx eax, byte [eax + 0x42c3a4]
jmp dword [eax*4 + 0x42c38c]
cmp byte [0xaf9038], 0
je case.0x42c29f.154
call fcn.0042c0e0
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0xaf9038], 0
jne case.0x42c29f.154
call fcn.0042c0e0
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x42c2f9
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.0042d120
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.0042d120
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x42c34e
cmp edx, 0x52
je 0x42c33d
cmp ecx, 0x76
jne 0x42c34a
mov ecx, esi
call fcn.0042ba60
jmp 0x42c355
test al, al
je 0x42c34a
mov ecx, esi
call fcn.0042d120
jmp 0x42c355
xor bl, bl
jmp 0x42c357
mov ecx, esi
call fcn.0042c620
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor al, al
pop esi
pop ebp
ret 8