joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4074d0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x42a6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x154]
push 0
push eax
mov dword [ebp - 0x158], 0x44
call fcn.0040dc80
add esp, 0xc
xor eax, eax
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x12c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407900
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x42a6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x42d180
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.00409099
push 0x427e48
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.004090ee
push 0x427d64
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.004090ee
add esp, 0x24
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407a07
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
je 0x407a07
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [ebp - 0x31c], 0x2e
je 0x4079ee
push 0x42d180
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.00409099
push 0x4278a0
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.004090ee
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.004090ee
add esp, 0x24
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call ebx
lea eax, [ebp - 0x348]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
call esi
cmp eax, 0x12
jne 0x407991
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040903f
mov esp, ebp
pop ebp
ret
Function at 0x407b50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42a6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x10
mov ebx, eax
call fcn.0040862d
push str.FirewallGUI.exe
mov edi, eax
push 0x10
push edi
call fcn.00409099
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x407c97
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x407c97
mov ecx, edi
xor edx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407bd0
sub ecx, esi
je 0x407c03
jmp 0x407be0
mov al, byte [edx + edi]
cmp al, 0x41
jl 0x407bf0
cmp al, 0x5a
jg 0x407bf0
add al, 0x20
mov byte [edx + edi], al
mov eax, edi
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407bf6
sub eax, esi
cmp edx, eax
jb 0x407be0
lea ecx, [ebp - 0x10c]
xor edx, edx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407c10
sub ecx, esi
je 0x407c4f
jmp 0x407c20
mov al, byte [ebp + edx - 0x10c]
cmp al, 0x41
jl 0x407c38
cmp al, 0x5a
jg 0x407c38
add al, 0x20
mov byte [ebp + edx - 0x10c], al
lea ecx, [ebp - 0x10c]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407c42
sub ecx, esi
cmp edx, ecx
jb 0x407c20
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407c77
test dl, dl
je 0x407c73
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407c77
add eax, 2
add ecx, 2
test dl, dl
jne 0x407c57
xor eax, eax
jmp 0x407c7c
sbb eax, eax
or eax, 1
test eax, eax
je 0x407cba
lea eax, [ebp - 0x130]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x407bc3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00409151
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040903f
mov esp, ebp
pop ebp
ret
push edi
call fcn.00409151
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov al, 1
pop ebx
call fcn.0040903f
mov esp, ebp
pop ebp
ret
Function at 0x4180db
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a6dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040df2a
mov dword [ebp - 0x14], eax
cmp dword [0x42d030], edi
jne 0x4181cc
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x418159
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4182ac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4182ac
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4182ac
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x42d030], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x42d034], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x42d038], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d040], eax
test eax, eax
je 0x4181c9
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d03c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4181f1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4181e4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x418206
push 4
pop eax
jmp 0x4182ae
cmp dword [ebp - 0x14], edi
je 0x418206
push dword [0x42d030]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4181eb
mov eax, dword [0x42d03c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x418264
cmp dword [0x42d040], esi
je 0x418264
push eax
call ebx
push dword [0x42d040]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x418264
test eax, eax
je 0x418264
call ecx
test eax, eax
je 0x418259
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x418259
test byte [ebp - 8], 1
jne 0x418264
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x418294
mov eax, dword [0x42d034]
cmp eax, esi
je 0x418291
push eax
call ebx
test eax, eax
je 0x418291
call eax
mov edi, eax
test edi, edi
je 0x418291
mov eax, dword [0x42d038]
cmp eax, esi
je 0x418291
push eax
call ebx
test eax, eax
je 0x418291
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x42d030]
call ebx
test eax, eax
je 0x4182ac
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4182ae
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040903f
leave
ret
Function at 0x41b2d2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00413428
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41b30a
xor eax, eax
jmp 0x41b336
cmp esi, dword [ebp - 4]
je 0x41b333
cmp dword [ebp + 0xc], 0
je 0x41b333
push dword [edi + 0x9c]
call fcn.0041aee0
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040e2d6
pop ecx
pop ecx
cmp esi, eax
je 0x41b306
xor eax, eax
inc eax
pop edi
pop esi
leave
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x6ed710fa
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x7001313e
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4021e0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x7e9404
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 3]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x14], edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [esp + 0x18], esi
mov byte [esi], al
call fcn.00404c40
mov dl, byte [esp + 0xf]
lea ecx, [esi + 0x10]
push ebx
mov dword [esp + 0x24], ebx
mov byte [ecx], dl
call fcn.00404c40
mov al, byte [esp + 0xf]
lea ecx, [esi + 0x20]
push ebx
mov byte [esp + 0x24], 1
mov byte [ecx], al
call fcn.00404c40
mov cl, byte [esp + 0xf]
mov dword [esi + 0x34], ebx
mov byte [esi + 0x30], cl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dl, byte [esp + 0xf]
lea esi, [edi + 0x48]
push ebx
mov dword [esp + 0x24], 2
lea ecx, [esi + 8]
mov dword [esp + 0x18], esi
mov byte [ecx], dl
call fcn.00404c40
mov al, byte [esp + 0xf]
lea ecx, [esi + 0x18]
push ebx
mov byte [esp + 0x24], 3
mov byte [ecx], al
call fcn.00404c40
mov dl, byte [esp + 0xf]
lea ecx, [esi + 0x2c]
push ebx
mov byte [esp + 0x24], 4
mov byte [ecx], dl
call fcn.00404c40
mov ecx, dword [esp + 0x18]
mov byte [esi], bl
mov dword [esi + 4], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [edi + 0x8c], bl
mov byte [edi + 0x8d], bl
mov dword [edi + 0x90], 0xffffffff
mov dword [edi], vtable.ActState.0
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x403d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7e9538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetACP]
mov esi, eax
mov al, byte [esp + 0x48]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00404c40
mov dword [esp + 0xc], vtable.basic_string_ext_char_.0
mov cl, byte [esp + 0x48]
push ebx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], esi
call fcn.00404c40
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
mov dword [esp + 0xc], vtable.dbcsstring.0
call fcn.00577bc0
mov edx, dword [esp + 0x48]
push 0xffffffffffffffff
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00402e90
mov esi, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x44], 2
call fcn.004066f0
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, ebx
je 0x403e0c
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x403e03
dec cl
mov byte [eax], cl
jmp 0x403e0c
push eax
call fcn.007d7349
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x403e48
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x403e3f
dec cl
mov byte [eax], cl
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4048f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7e95f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0xc]
push edi
cmp ecx, 0x201
mov dword [ebp - 0x10], esp
jne 0x404992
mov ecx, dword [0x94c1a8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 0x1c]
lea edx, [ebp + 8]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.006332e0
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
je 0x404987
cmp word [eax], 0x5c
je 0x404987
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.007d75e7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4066f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7e9670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov al, byte [esp + 0x2c]
push esi
push edi
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], al
call fcn.00404f20
mov dword [esp + 0xc], vtable.ucs2string.0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x30], 0
call fcn.00579c60
mov edi, dword [esp + 0x38]
mov al, byte [esp + 0x3c]
add esp, 8
lea esi, [edi + 4]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00404f20
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x34], 1
mov dword [edi], vtable.ucs2string.0
call fcn.00403760
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4067ab
mov cl, byte [eax - 1]
test cl, cl
je 0x40679f
dec cl
mov byte [eax - 1], cl
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4067c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7e9690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov al, byte [esp + 0x2c]
push esi
push edi
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], al
call fcn.00404f20
mov dword [esp + 0xc], vtable.ucs2string.0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x30], 0
call fcn.00579ec0
mov edi, dword [esp + 0x38]
mov al, byte [esp + 0x3c]
add esp, 8
lea esi, [edi + 4]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00404f20
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x34], 1
mov dword [edi], vtable.ucs2string.0
call fcn.00403760
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40687b
mov cl, byte [eax - 1]
test cl, cl
je 0x40686f
dec cl
mov byte [eax - 1], cl
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x408190
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x16
mov dword [esp + 0x10], 0x114
lea ebp, [esi + 4]
mov dword [esi + 0x5c], eax
xor eax, eax
mov edi, ebp
mov dword [esi], vtable.CAdvFileDialog.0
lea ebx, [esi + 0x268]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x60]
mov ecx, 0x82
rep stosd dword es:[edi], eax
mov ecx, 0x82
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x470]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [ebp], 0x4c
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x408213
cmp dword [esp + 0x20], 2
jne 0x408213
cmp dword [esp + 0x14], 5
jb 0x408213
mov dword [ebp], 0x58
mov eax, dword [esp + 0x134]
test eax, eax
je 0x40822d
push 0x103
push eax
push ebx
call fcn.007acaca
add esp, 0xc
mov eax, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x138]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x60]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x13c]
mov dword [esi + 0x20], eax
mov eax, 0x104
or ecx, 0x80000
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x140]
mov dword [esi + 0x28], ebx
test eax, eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x10], edx
je 0x408280
mov eax, dword [eax + 0x1c]
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x409f80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov esi, ecx
call edi
xor ecx, ecx
push 0xa2
test ax, ax
setl cl
mov ebp, ecx
call edi
test ax, ax
jl 0x409fac
push 0xa3
call edi
mov eax, dword [esp + 0x10]
cmp eax, 9
je 0x40a00b
cmp eax, 0xd
je 0x409fdb
cmp eax, 0x1b
je 0x409fc7
pop edi
pop esi
xor al, al
pop ebp
ret 0xc
mov ecx, dword [esi + 8]
mov byte [esi + 6], 1
call fcn.007d7212
pop edi
pop esi
mov al, 1
pop ebp
ret 0xc
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x40a06e
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 5], 1
call dword [eax + 0x10]
test al, al
jne 0x40a06e
mov ecx, dword [esi + 8]
call fcn.007d7212
pop edi
pop esi
mov al, 1
pop ebp
ret 0xc
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x40a06e
test ebp, ebp
je 0x40a03f
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x40a06e
mov ecx, dword [esi + 8]
dec eax
push 0
push eax
mov eax, dword [esi + 0xc]
mov byte [esi + 4], 1
push eax
call fcn.00408fa0
pop edi
pop esi
mov al, 1
pop ebp
ret 0xc
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x5c]
test edx, edx
jne 0x40a04d
xor eax, eax
jmp 0x40a055
mov eax, dword [ecx + 0x60]
sub eax, edx
sar eax, 2
mov edx, dword [esi + 0x10]
dec eax
cmp edx, eax
jge 0x40a06e
inc edx
push 0
push edx
mov edx, dword [esi + 0xc]
push edx
mov byte [esi + 4], 1
call fcn.00408fa0
pop edi
pop esi
mov al, 1
pop ebp
ret 0xc
Function at 0x4128e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x7eaec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], ebx
mov byte [esi + 8], al
mov eax, vtable.utf8string.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esi + 4], eax
mov cl, byte [esp + 0xf]
mov dword [esi + 0x18], 0x438
mov byte [esi + 0x20], cl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x1c], eax
lea edi, [esi + 0x30]
push ebx
mov ecx, edi
mov byte [esp + 0x20], 1
mov dword [edi + 4], 0x8536f0
mov dword [edi + 0x84], ebx
call fcn.006d1680
mov ecx, dword [esp + 0x14]
mov dword [edi], vtable.RandomCryptBlockEx.0
mov byte [esi + 0xb8], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x412f30
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x7eb02d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xe]
push edi
lea ebp, [esi + 4]
push eax
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.00478ac0
mov edi, 0x8fb658
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
mov dword [esi], vtable.ascstring.0
mov dword [esp + 0x28], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x8fb658
mov ecx, ebp
call fcn.004030a0
lea edx, [esp + 0x13]
lea edi, [esi + 0x18]
push edx
lea eax, [esp + 0x18]
push ebx
mov byte [esi + 0x14], 1
lea ecx, [edi + 4]
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x28], edi
mov dword [edi], 0xfde9
call fcn.0043bb40
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
lea ecx, [esp + 0x12]
lea edx, [esp + 0x15]
push ecx
push edx
lea ecx, [edi + 0x28]
mov byte [esp + 0x30], 3
call fcn.00431a40
lea eax, [esp + 0x16]
lea ecx, [esp + 0x17]
push eax
push ecx
lea ecx, [edi + 0x38]
mov byte [esp + 0x30], 4
call fcn.00431990
mov dl, byte [esp + 0x17]
lea ecx, [esi + 0x74]
mov dword [esi + 0x60], 0x50
mov dword [esi + 0x64], 0x19
mov dword [esi + 0x68], 0x12c
mov byte [esi + 0x6c], 7
mov byte [esi + 0x6d], 1
mov byte [esi + 0x6e], bl
push ebx
mov byte [esp + 0x2c], 5
mov byte [ecx], dl
call fcn.00404c40
mov dword [esi + 0x70], vtable.utf8string.0
lea edi, [esi + 0x88]
mov byte [esp + 0x28], 6
mov byte [esi + 0x84], bl
mov dword [esp + 0x1c], edi
lea ebp, [edi + 4]
lea eax, [esp + 0x17]
push eax
mov ecx, ebp
call fcn.00478ac0
mov dword [edi], vtable.utf8string.0
mov edi, str.127.0.0.1:0.0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x28], 7
push ecx
push str.127.0.0.1:0.0
mov ecx, ebp
call fcn.004030a0
mov dl, byte [esp + 0x17]
lea ecx, [esi + 0x9c]
push ebx
mov byte [esp + 0x2c], 8
mov byte [ecx], dl
call fcn.00404c40
mov ecx, dword [esp + 0x20]
mov byte [esi + 0xac], bl
mov byte [esi + 0xad], bl
mov byte [esi + 0xae], bl
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x414380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7eb1f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [esp + 3]
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea ecx, [ebx + 0xc]
mov byte [ebx], 0
mov dword [ebx + 4], 0x7f000001
push 0
mov dword [esp + 0x1c], ebx
mov byte [ecx], al
call fcn.00404c40
mov dword [ebx + 8], vtable.ascstring.0
mov cl, byte [esp + 0x13]
lea esi, [ebx + 0x1c]
push 0
mov dword [esp + 0x2c], 0
lea ebp, [esi + 4]
mov dword [esp + 0x20], esi
mov byte [ebp], cl
mov ecx, ebp
call fcn.00404c40
mov edi, 0x8fb810
or ecx, 0xffffffff
xor eax, eax
mov dword [esi], vtable.ascstring.0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebp
push esi
mov byte [esp + 0x30], 1
mov dword [esp + 0x1c], esi
call fcn.00404a50
test al, al
je 0x414435
mov edi, dword [ebp + 4]
mov ecx, esi
mov edx, ecx
mov esi, 0x8fb810
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004049b0
mov dl, byte [esp + 0x13]
lea ecx, [ebx + 0x34]
push 0
mov byte [esp + 0x2c], 2
mov byte [ecx], dl
call fcn.00404c40
mov dword [ebx + 0x30], vtable.ascstring.0
lea eax, [ebx + 8]
mov byte [esp + 0x28], 3
test eax, eax
je 0x414462
lea eax, [ebx + 0xc]
jmp 0x414464
xor eax, eax
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.005c5f30
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret