joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f230
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x49e044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x20]
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov al, byte [eax + 0x7c]
test al, al
je 0x42f319
push ebx
push edi
mov edi, dword [ecx + 0x20]
xor ebx, ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov eax, dword [edx + 0x10]
inc eax
cmp dword [edx + 0x14], 0x10
jb 0x42f26d
mov edx, dword [edx]
push esi
lea ecx, [edi + 0x68]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push edx
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42f2ce
push 0xffffffffffffffff
push dword [edi + 0x78]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f2c1
push 1
lea eax, [ebp - 8]
push eax
lea eax, [edi + 0x68]
push eax
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
neg eax
sbb esi, esi
and esi, 0xfffffffe
add esi, 2
jmp 0x42f2c6
mov esi, 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test esi, esi
pop esi
jne 0x42f2e8
test eax, eax
jne 0x42f305
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0xc]
pop edi
mov dword [eax + 0x1c], ebx
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004528ff
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004528ff
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 3
xor ecx, ebp
call fcn.004528ff
mov esp, ebp
pop ebp
ret 4

Function at 0x42fb20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4787eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49e044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov dword [edi], vtable.RemoteCommonBrowserFrames::AudioSessionController.0
mov byte [edi + 4], 0
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 1
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push 0xc
mov byte [ebp - 4], 1
call fcn.00452b1d
xor ecx, ecx
mov dword [ebp + 8], eax
add esp, 4
mov dword [eax + 8], ecx
mov dword [eax], vtable.RemoteCommonBrowserFrames::RemoteFrameAudioSessionEvents.0
mov dword [eax + 4], esi
mov dword [edi + 0x3c], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
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 4
Function at 0x434cc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479039
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x49e044]
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], vtable.IEClientSite.1.0
mov dword [edi + 4], vtable.IEClientSite.5.0
mov dword [edi + 8], vtable.IEClientSite.3.0
mov dword [edi + 0xc], vtable.IEClientSite.9.0
mov dword [edi + 0x10], vtable.IEClientSite.11.0
mov dword [edi + 0x14], vtable.IEClientSite.7.0
mov dword [edi + 0x18], vtable.IEClientSite.6.0
mov dword [edi + 0x1c], vtable.IEClientSite.8.0
mov dword [edi + 0x20], vtable.IEClientSite.0
mov dword [edi + 0x24], vtable.IEClientSite.10.0
mov dword [edi + 0x28], vtable.IEClientSite.4.0
mov dword [edi + 0x2c], vtable.IEClientSite.2.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x10
mov dword [ebp - 4], 0
call fcn.00452b1d
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], ecx
push dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov al, byte [ebp + 8]
mov dword [ecx], vtable.BtIESec::BtAppSecurityManager.0
mov byte [ecx + 0xc], al
mov dword [edi + 0x40], ecx
lea ecx, [edi + 0x4c]
mov byte [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.00428e50
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x5c]
mov byte [edi + 0x58], 1
call fcn.004149f0
mov dword [edi + 0x74], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0xf
mov byte [edi + 0x74], 0
xor eax, eax
mov dword [edi + 0x8c], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 7
mov word [edi + 0x8c], ax
mov word [edi + 0xa4], ax
mov dword [edi + 0xa8], eax
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], 7
mov word [edi + 0xa8], ax
mov dword [edi + 0xc0], eax
lea esi, [edi + 0xc4]
mov byte [ebp - 4], 6
push 0x2c
mov dword [ebp + 8], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00452b1d
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xcc]
mov byte [ebp - 4], 7
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x2c
call fcn.00452b1d
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0xd4], 0x3e8
mov word [edi + 0xd8], 0x100
mov byte [edi + 0xda], 0
mov dword [edi + 0xdc], 0
mov word [edi + 0xdc], ax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 7
mov dword [edi + 0xf4], eax
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 0x14
Function at 0x43be10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x49e044]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x43be58
cmp dword [esi + 8], 0x4f
je 0x43bf5a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x43be71
cmp dword [esi + 8], 0x4e
je 0x43bf5a
cmp dword [esi + 4], 0x100
jne case.0x43be94.113
mov eax, dword [esi + 8]
add eax, 0xffffff90
cmp eax, 0xb
ja case.0x43be94.113
movzx eax, byte [eax + 0x43bfe8]
jmp dword [eax*4 + 0x43bfdc]
mov eax, dword [edi + 0x94]
cmp byte [eax + 0xa5], 0
jne case.0x43be94.112
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
mov ecx, dword [edi + 0x98]
push edx
push 0x47f088
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x18], 0
call dword [eax]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43bf49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
jmp 0x43bfb7
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.0042f960
push eax
push 0xc
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.0043ca50
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x43bf49
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43bf3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bfd4
push edx
push ecx
call fcn.00452f08
add esp, 8
mov eax, 1
jmp 0x43bfb7
mov ecx, dword [edi + 0x98]
test ecx, ecx
jne 0x43bf5e
xor eax, eax
jmp 0x43bfb7
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 3
mov eax, dword [ecx]
push edx
push 0x47f038
push ecx
mov dword [ebp - 0x1c], 0
call dword [eax]
test eax, eax
js 0x43bf9f
mov eax, dword [ebp - 0x1c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x43bf9f
cmp eax, 1
je 0x43bf9f
mov esi, 1
jmp 0x43bfa1
xor esi, esi
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43bfb5
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004528ff
mov esp, ebp
pop ebp
ret 4
call fcn.0045e090
lea ecx, [ecx]
cli
mov esi, -1097138109
inc ebx
add byte [eax - 0x41], dl
inc ebx
add byte [eax], al
add al, byte [edx]
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add ah, cl
int3
Function at 0x43cd60
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0
mov ebx, edx
mov esi, ecx
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
push ebx
push 0x42eeb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xf
push str.LIEFrameControl
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov edi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 7
call fcn.00416e00
lea eax, [ebp - 0x18]
mov edx, esi
push eax
mov ecx, 0x4349d0
call fcn.0042f8d0
mov edx, dword [ebp - 4]
add esp, 4
cmp edx, 8
jb 0x43cdfc
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43cdf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ceff
push edx
push ecx
call fcn.00452f08
add esp, 8
push 0x14
push str.Creating_root_window
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
call fcn.00417240
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x43ce54
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ce4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cf04
push edx
push ecx
call fcn.00452f08
add esp, 8
push 0
push 0
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0
push str.Remote_Frame_Message_Window
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x43cef8
push 0xa
push str.Running_IE
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
call fcn.00417240
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x43ced2
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43cec8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43cf04
push edx
push ecx
call fcn.00452f08
add esp, 8
mov edx, ebx
mov ecx, esi
call fcn.0043c000
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_OleUninitialize]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0045e090
call fcn.0045e090
int3
Function at 0x43de60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x40
jb 0x43de77
mov eax, 0x10
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x20], 0x80
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x38
jbe 0x43dec3
cmp eax, 0x40
jae 0x43deb0
lea esp, [esp]
mov byte [eax + esi + 0x20], 0
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x40
jb 0x43dea0
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.0043d980
mov dword [esi + 0x1c], 0
jmp 0x43dec5
jae 0x43ded6
mov eax, dword [esi + 0x1c]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
cmp dword [esi + 0x1c], 0x38
jb 0x43dec5
movzx eax, byte [esi + 7]
lea edx, [esi + 0x20]
mov byte [esi + 0x58], al
mov ecx, esi
movzx eax, byte [esi + 6]
mov byte [esi + 0x59], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x5a], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x5b], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x5c], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x5d], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x5e], al
movzx eax, byte [esi]
mov byte [esi + 0x5f], al
call fcn.0043d980
mov ecx, dword [ebp + 0xc]
movzx eax, byte [esi + 0xb]
mov byte [ecx], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 1], al
movzx eax, byte [esi + 9]
mov byte [ecx + 2], al
movzx eax, byte [esi + 8]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 4], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x11]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [ecx + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [ecx + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x13], al
xor eax, eax
pop esi
pop ebp
ret
Function at 0x46d288
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046cf05
Function at 0x40220a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, eax
sub ecx, dword [esi + 0x14]
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0x10]
mov edx, dword [esi]
push edi
push 1
push ecx
xor ebx, ebx
mov dword [ebp + 0x10], ecx
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x8c]
mov edi, dword [esi + 0x174]
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x402351
push edi
call fcn.00432231
mov ebx, eax
test ebx, ebx
pop ecx
je 0x402321
mov eax, dword [ebx + 0xc]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x402287
lea eax, [ebx + 0x10]
push eax
call fcn.00427556
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.004324bf
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x174], eax
jne 0x4022de
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
cmp eax, ecx
je 0x4022d0
cmp word [eax], cx
je 0x4022d0
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x402321
cmp dword [ebx + 0xc], ecx
je 0x402321
mov dword [ebp - 4], 1
jmp 0x402321
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x4022fd
lea eax, [ebx + 0x10]
push eax
call fcn.00427556
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.004324bf
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x174], ecx
je 0x402332
push 0x67
jmp 0x40234a
cmp dword [ebp - 8], ecx
je 0x402351
cmp dword [ebp - 0xc], ecx
je 0x402351
lea eax, [esi + 0x170]
cmp edi, dword [eax]
jne 0x402348
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00401e15
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x403c90
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x598cb5
call fcn.00595190
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.004328f9
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.004133a1
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x406556
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0049bec0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x4065af
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x40665d
mov eax, dword [ebp - 0x94]
dec eax
je 0x406649
dec eax
jne 0x40665d
cmp dword [ebp - 0xa0], 6
jne 0x4065fa
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x4065e2
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x4065f6
cmp dword [ebp - 0x9c], edi
jne 0x406636
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x40665d
cmp dword [ebp - 0xa0], 5
jne 0x406629
cmp dword [ebp - 0x9c], 2
jne 0x406610
push 5
jmp 0x406646
cmp dword [ebp - 0x9c], 1
jne 0x40661d
push 6
jmp 0x406646
cmp dword [ebp - 0x9c], edi
jne 0x40665d
push 3
jmp 0x406646
cmp dword [ebp - 0xa0], 4
ja 0x40665d
push 4
jmp 0x406646
cmp dword [ebp - 0x9c], 2
jne 0x40665d
cmp byte [ebp + 0x76], al
jne 0x40665d
push 0xa
pop edi
jmp 0x40665d
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x409638
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x596e7e
call fcn.00595190
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi], edi
mov dword [ebp - 4], edi
mov eax, vtable.KEvent.0
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov byte [ebp - 4], 3
call fcn.00412371
lea ecx, [esi + 0x3c]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40a9b3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
inc edi
cmp dword [ebp + 0xc], 0x4e
jne 0x40a9e8
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x3e8
jne 0x40a9e8
mov ecx, esi
mov dword [esi + 0x52c], edi
call fcn.0040a921
mov dword [ebx], eax
cmp dword [esi + 0x52c], 0
je 0x40a9e8
mov eax, edi
jmp 0x40aa2f
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cfa3
test eax, eax
jne 0x40a9e4
mov eax, dword [ebp + 0xc]
cmp eax, 0x402
jne 0x40aa34
push 5
push dword [esi + 4]
lea eax, [esi + 0x52c]
mov dword [ebp + 0xc], eax
mov dword [eax], edi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x40a9e4
xor eax, eax
pop edi
pop ebp
ret 0x10
cmp eax, 0x403
jne 0x40aa6e
mov eax, dword [esi + 0x530]
mov dword [esi + 0x28], eax
xor eax, eax
push eax
push eax
push eax
mov dword [esi + 0x52c], edi
mov dword [esi + 0x51c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
and dword [ebx], 0
cmp dword [esi + 0x52c], 0
jmp 0x40aa2b
cmp eax, 0x465
jne 0x40aa9b
lea ecx, [esi + 0x2c]
mov dword [esi + 0x52c], edi
call fcn.0040b9df
mov dword [esi + 0x5a4], eax
mov eax, dword [esi + 0x30]
push 5
lea ecx, [esi + 0x568]
call fcn.0048cd48
jmp 0x40aa62
cmp eax, 0x110
jne 0x40aa2d
lea eax, [esi + 0x52c]
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ebp + 0xc], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
call fcn.0040a37d
mov dword [ebx], eax
jmp 0x40aa25
Function at 0x40b138
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0x4e
push edi
mov edi, eax
jne 0x40b170
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x3e8
jne 0x40b170
mov ecx, edi
mov dword [edi + 0x528], esi
call fcn.0040b0ae
mov dword [ebx], eax
cmp dword [edi + 0x528], 0
je 0x40b170
mov eax, esi
jmp 0x40b1b7
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cfa3
test eax, eax
jne 0x40b16c
mov eax, dword [ebp + 0xc]
cmp eax, 0x402
jne 0x40b1bd
push 5
push dword [edi + 4]
lea eax, [edi + 0x528]
mov dword [ebp + 0xc], eax
mov dword [eax], esi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x40b16c
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x10
cmp eax, 0x403
jne 0x40b1f7
mov eax, dword [edi + 0x530]
mov dword [edi + 0x28], eax
xor eax, eax
push eax
push eax
push eax
mov dword [edi + 0x528], esi
mov dword [edi + 0x51c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
and dword [ebx], 0
cmp dword [edi + 0x528], 0
jmp 0x40b1b3
cmp eax, 0x465
jne 0x40b224
lea ecx, [edi + 0x2c]
mov dword [edi + 0x528], esi
call fcn.0040b9df
mov dword [edi + 0x590], eax
mov eax, dword [edi + 0x30]
push 5
lea ecx, [edi + 0x560]
call fcn.00449442
jmp 0x40b1eb
cmp eax, 0x110
jne 0x40b1b5
lea eax, [edi + 0x528]
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], esi
mov dword [ebp + 0xc], eax
mov eax, esp
mov dword [eax], ecx
call fcn.0040ad78
mov dword [ebx], eax
jmp 0x40b1ad
Function at 0x40ce38
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov ebx, eax
mov dword [esp + 0x18], esi
jne 0x40ce6f
mov eax, dword [0x61e5bc]
cmp eax, esi
je 0x40ce5d
mov ebp, dword [eax + 4]
jmp 0x40ce5f
xor ebp, ebp
cmp ebp, esi
jne 0x40ce6f
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x40ce94
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x40ce94
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40ce94
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.0040e3f5
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x40cebd
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x40cf99
mov edx, eax
call fcn.0041a714
mov dword [esp + 0x1c], eax
mov eax, ebp
call fcn.0040ea0a
cmp dword [ebx + 0x510], esi
je 0x40cf3f
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x24]
je 0x40cf23
push 1
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x24]
je 0x40cf3f
push esi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0043943e
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], esi
je 0x40cf84
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x40cf84
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x40cf84
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x1c]
call fcn.0041a714
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4