joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414ad0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584b63
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5e9750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004541f6
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi], vtable.CNfcMemDC.0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], vtable.CBitmap.0
mov byte [ebp - 4], 1
lea edi, [esi + 0x20]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
xor ecx, ecx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], eax
cmp dword [ebx + 0xc], eax
sete cl
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
jne 0x414b4c
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push edi
mov ecx, ebx
call eax
jmp 0x414b62
mov edx, dword [ecx]
mov dword [edi], edx
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov edx, dword [ecx + 8]
mov dword [edi + 8], edx
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
cmp dword [esi + 0x30], 1
jne 0x414c4d
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004547ea
mov ecx, dword [ebx + 8]
push 2
push edi
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x10]
call fcn.00454abe
lea eax, [esi + 0x10]
test eax, eax
je 0x414bb5
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00454b4f
mov dword [esi + 0x18], eax
mov ecx, dword [ebx + 8]
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.00454aaa
push eax
mov ecx, esi
call fcn.00454bab
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.00453ff9
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.00417220
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.004171f0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call edx
mov eax, dword [ebx + 8]
push 2
push edi
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esi + 0x24]
mov edx, dword [edi]
push ecx
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00454378
jmp 0x414c5f
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.004600ee
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x418030
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58516b
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x5e9750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x222]
push ecx
mov word [ebp - 0x224], ax
call fcn.005474c0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x224]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
xor edx, edx
push 0x1fe
mov word [edi], ax
mov dword [ebp - 0x16], eax
push edx
lea eax, [ebp - 0x822]
xor ecx, ecx
push eax
mov word [ebp - 0x18], cx
mov word [ebp - 0x824], dx
call fcn.005474c0
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x622]
push edx
mov word [ebp - 0x624], cx
call fcn.005474c0
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x422]
push ecx
mov word [ebp - 0x424], ax
call fcn.005474c0
push 0x100
lea edx, [ebp - 0x424]
push edx
push 0x100
lea eax, [ebp - 0x624]
push eax
push 0x100
lea ecx, [ebp - 0x824]
push ecx
push 3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.005467d4
add esp, 0x48
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor edx, edx
cmp eax, 5
sete dl
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x82c], edx
call fcn.00405ab0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x828]
mov esi, dword [ecx - 0xc]
test esi, esi
jns 0x41816b
push 0x80070057
call fcn.00405920
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x41818e
push esi
lea ecx, [ebp - 0x828]
call fcn.00405880
mov ecx, dword [ebp - 0x828]
lea edx, [esi + 1]
push edx
push ecx
call fcn.00546b89
mov eax, dword [ebp - 0x828]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x418161
mov dword [eax - 0xc], esi
mov ecx, dword [ebp - 0x828]
xor eax, eax
mov word [ecx + esi*2], ax
mov ecx, dword [ebp - 0x828]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4181d4
jns 0x4181ce
push 0x80070057
call fcn.00405920
mov dx, word [ecx]
mov word [edi], dx
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4181f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x82c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545559
mov esp, ebp
pop ebp
ret
Function at 0x41a1f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5e9750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov edi, eax
xor eax, eax
push 0xfe
push eax
lea ecx, [ebp - 0x102]
push ecx
mov word [ebp - 0x104], ax
call fcn.005474c0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add esp, 0xc
push 0x7f
lea edx, [ebp - 0x104]
push edx
push 0xe
push edi
call ebx
lea eax, [ebp - 0x104]
lea edx, [eax + 2]
jmp 0x41a250
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a250
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x18c]
call fcn.00405970
mov eax, dword [esi + 0x18c]
lea ecx, [esi + 0x18c]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41a299
mov edx, dword [eax + 4]
push edx
call fcn.004057b0
mov eax, dword [esi + 0x18c]
sub eax, 0x10
or ecx, 0xffffffff
add dword [eax + 0xc], ecx
jne 0x41a2a4
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x18c]
push 0x100
lea ecx, [ebp - 0x104]
push 0
push ecx
mov dword [esi + 0x180], eax
call fcn.005474c0
add esp, 0xc
push 0x7f
lea edx, [ebp - 0x104]
push edx
push 0x10
push edi
call ebx
lea eax, [esi + 0x17c]
push eax
lea ecx, [ebp - 0x104]
push 0x5bd4f0
push ecx
call fcn.00546e45
push 0x100
lea edx, [ebp - 0x104]
push 0
push edx
call fcn.005474c0
add esp, 0x18
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0xf
push edi
call ebx
lea eax, [ebp - 0x104]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a320
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [esi + 0x190]
call fcn.00405970
mov eax, dword [esi + 0x190]
lea ecx, [esi + 0x190]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x41a369
mov edx, dword [eax + 4]
push edx
call fcn.004057b0
mov eax, dword [esi + 0x190]
sub eax, 0x10
or ecx, 0xffffffff
add dword [eax + 0xc], ecx
jne 0x41a374
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x190]
push 0x100
lea ecx, [ebp - 0x104]
push 0
push ecx
mov dword [esi + 0x184], eax
call fcn.005474c0
add esp, 0xc
push 0x7f
lea edx, [ebp - 0x104]
push edx
push 0x11
push edi
call ebx
lea eax, [esi + 0x174]
push eax
lea ecx, [ebp - 0x104]
push 0x5bd4f0
push ecx
call fcn.00546e45
push 0x100
lea edx, [ebp - 0x104]
push 0
push edx
call fcn.005474c0
add esp, 0x18
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x12
push edi
call ebx
xor ecx, ecx
cmp word [ebp - 0x104], 0x31
push 0x100
sete cl
lea edx, [ebp - 0x104]
push 0
push edx
mov dword [esi + 0x178], ecx
call fcn.005474c0
add esp, 0xc
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x1010
push edi
call ebx
xor ecx, ecx
cmp word [ebp - 0x104], 0x31
pop edi
sete cl
pop ebx
mov dword [esi + 0x188], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545559
mov esp, ebp
pop ebp
ret
Function at 0x42207e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5e9750]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0
jl 0x4220bd
call fcn.00421f30
push 7
lea ecx, [ebp - 0x14]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4220bd
lea eax, [ebp - 0x14]
push eax
call fcn.005473fd
pop ecx
jmp 0x4220bf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545559
leave
ret

Function at 0x4221e7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5e9750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
je 0x422243
cmp word [esi], di
je 0x422243
push edi
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x422243
push eax
call fcn.005460d2
mov edi, eax
pop ecx
test edi, edi
je 0x422243
push edi
push dword [ebp - 0x18]
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x422266
push edi
call fcn.00546078
pop ecx
xor eax, eax
movzx ecx, ax
mov eax, ecx
shl ecx, 0x10
or eax, ecx
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00545559
leave
ret
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5bb0ac
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42223c
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0042408c
push edi
call fcn.00546078
lea esi, [ebp - 0x10]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsw word es:[edi], word [esi]
jmp 0x422255
Function at 0x4255f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 2
push eax
xor edi, edi
push esi
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42567e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 4]
push ecx
push esi
mov ecx, ebx
mov edi, eax
call fcn.00425530
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
test eax, eax
je 0x425652
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 4]
push 0
push esi
lea ecx, [esi + eax*4]
add ecx, dword [esi]
push ecx
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427620
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573eb6
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x5e9750]
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, dword [ebp + 8]
xor ebx, ebx
push 0x820
lea ecx, [ebp - 0x832]
xor eax, eax
push ebx
mov dword [ebp - 0x840], ebx
push ecx
mov word [ebp - 0x834], ax
call fcn.005474c0
add esp, 0xc
push 0x410
lea edx, [ebp - 0x834]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x834]
push ecx
mov dword [ebp - 0x848], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x4276d3
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x834]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x4276d3
push 0x5bb280
mov ecx, edi
call fcn.00405ab0
jmp 0x427815
lea ecx, [ebp - 0x835]
push ecx
push esi
lea ecx, [ebp - 0x858]
mov byte [ebp - 0x835], bl
mov dword [ebp - 0x858], ebx
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], ebx
call fcn.00412460
mov edx, dword [ebp - 0x858]
push edx
push esi
push ebx
lea eax, [ebp - 0x834]
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x42772b
push 0x5bb280
mov ecx, edi
call fcn.00405ab0
jmp 0x427802
mov esi, dword [ebp - 0x858]
lea ecx, [ebp - 0x840]
push ecx
lea edx, [ebp - 0x844]
push edx
push 0x5bb0ac
push esi
mov dword [ebp - 0x840], ebx
mov dword [ebp - 0x844], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x427774
push 0x5bb280
mov ecx, edi
call fcn.00405ab0
cmp esi, ebx
je 0x427815
push esi
jmp 0x42780d
call fcn.00447243
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42778e
push 0x80004005
call fcn.00405920
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp - 0x844]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
push edx
movzx edx, word [eax + 0x12]
push ecx
push edx
lea eax, [ebp - 0x83c]
push str._d._d._d._d
push eax
mov byte [ebp - 4], 1
call fcn.004075c0
mov esi, dword [ebp - 0x83c]
add esi, 0xfffffff0
push esi
call fcn.00405300
add eax, 0x10
add esp, 0x1c
mov dword [edi], eax
mov byte [ebp - 4], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427802
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x858]
cmp eax, ebx
je 0x427815
push eax
call fcn.0044663b
add esp, 4
mov eax, edi
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.00545559
mov esp, ebp
pop ebp
ret 4
Function at 0x42c800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push ecx
push edx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42c890
push esi
mov esi, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 8]
push ecx
lea edx, [esi + 1]
lea eax, [esi + esi]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00404140
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edx, dword [ebp + 0x10]
push esi
push edi
push esi
push edx
mov dword [ebp - 8], eax
call fcn.0054643f
mov eax, dword [ebp - 4]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x42c88b
push edi
call fcn.0044663b
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c8a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574648
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5e9750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call fcn.00405ab0
push str.mailto:
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00405ab0
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx - 0xc]
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x42c944
push 0x40
push ecx
call fcn.00545cba
add esp, 8
test eax, eax
je 0x42c944
sub eax, dword [ebp - 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x42c944
push esi
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00403560
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ebx, 1
call fcn.00417950
add esp, 8
mov byte [ebp - 0xd], bl
test al, al
jne 0x42c948
mov byte [ebp - 0xd], 0
test bl, 1
je 0x42c96c
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c96c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x42c9b6
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00406de0
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00405370
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c9b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
push 5
push 0x5bb280
push 0
push ecx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c9f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ca1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x42ccd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b0
mov eax, dword [0x5e9750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x8b0], ebx
test edi, edi
je 0x42ce45
cmp dword [ebp + 0x10], esi
je 0x42cd1b
push edi
call fcn.0042c8a0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545559
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x820
push eax
lea ecx, [ebp - 0x826]
push ecx
mov word [ebp - 0x828], ax
call fcn.005474c0
push 0x410
lea edx, [ebp - 0x828]
push edx
push str..htm
push SysReAllocStringLen
call fcn.0042c800
add esp, 0x1c
test eax, eax
jne 0x42ce58
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea eax, [ebp - 0x828]
push eax
call ebx
push 0x410
lea ecx, [ebp - 0x828]
push ecx
mov edx, ecx
push edx
push SysReAllocStringLen
call fcn.0042c800
add esp, 0x10
test eax, eax
jne 0x42ce45
lea eax, [ebp - 0x828]
push str.__1_
push eax
call fcn.0054829e
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cde5
lea ecx, [ebp - 0x828]
push 0x58c790
push ecx
call fcn.0054829e
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cdde
lea edx, [ebp - 0x828]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x82a]
jmp 0x42cdea
xor eax, eax
mov word [esi], ax
jmp 0x42cdea
xor ecx, ecx
mov word [esi], cx
push 0x5bb4b0
push esi
call ebx
push edi
push esi
call ebx
push 3
lea eax, [ebp - 0x828]
lea edx, [ebp - 0x8a8]
push eax
lea ecx, [ebp - 0x8ac]
mov dword [ebp - 0x8ac], edx
call fcn.0042414e
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8ac]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
mov eax, dword [ebp - 0x8ac]
lea ecx, [ebp - 0x8a8]
cmp eax, ecx
je 0x42ce45
push eax
call fcn.00546078
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545559
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 0
push edi
push str.explore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545559
mov esp, ebp
pop ebp
ret
Function at 0x42ef50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5746e6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e9750]
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 eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
xor ebx, ebx
push ebx
lea eax, [edi + 0x14]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00418e30
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push ebx
lea eax, [edi + 0x30]
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov dword [ebp - 4], ebx
mov word [ecx], dx
call fcn.00418e30
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
push ebx
add edi, 0x4c
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push edi
mov byte [ebp - 4], 1
mov word [ecx], dx
call fcn.00418e30
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 4
Function at 0x42f120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574720
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5e9750]
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, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
test esi, esi
je 0x42f272
cmp dword [ebx + 8], 0
je 0x42f272
cmp dword [esi + 4], 0x104
jne 0x42f272
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x42f272
mov eax, dword [esi + 8]
cmp eax, 0x41
jb 0x42f195
cmp eax, 0x5a
jbe 0x42f1a7
cmp eax, 0x30
jb 0x42f272
cmp eax, 0x39
ja 0x42f272
mov ecx, 7
lea edi, [ebp - 0x68]
xor eax, eax
xor edx, edx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], eax
movzx eax, word [ebp - 0x60]
push eax
call fcn.005493f4
movzx eax, ax
add esp, 4
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042477f
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov esi, dword [ecx]
mov eax, ecx
cmp esi, eax
je 0x42f260
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [esi + 8]
call fcn.0042f020
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
jae 0x42f20a
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push edx
push ecx
mov ecx, dword [eax + 0x10]
push ecx
push 0
mov ecx, eax
call fcn.00423fe3
test eax, eax
sete bl
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 0
jb 0x42f237
mov edx, dword [ebp - 0x48]
push edx
call fcn.0044663b
add esp, 4
test bl, bl
je 0x42f254
mov edi, dword [esi + 8]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42f254
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x42f292
mov eax, dword [ebp - 0x4c]
mov esi, dword [esi]
mov ecx, dword [eax + 8]
cmp esi, dword [ecx]
jne 0x42f1ee
cmp dword [ebp - 0x18], 8
jb 0x42f272
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044663b
add esp, 4
xor al, 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.00545559
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [ebp - 0x68]
push edx
push eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
lea ecx, [ebp - 0x2c]
call fcn.00418d60
mov al, 1
jmp 0x42f274