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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x470b94]
cmp byte [eax + 0xc], 0
je 0x4447dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4447d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471b64], 0
jne 0x4446c4
push 0x4447e4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4447ec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b64], eax
cmp dword [0x46fc3c], 0
jne 0x4447bf
push 0x4447fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46fc3c], eax
cmp dword [0x46fc3c], 0
je 0x4447bf
push 0x444808
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b68], eax
push 0x444818
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b6c], eax
push 0x44482c
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b70], eax
push 0x444844
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b74], eax
push 0x44485c
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b78], eax
push 0x444870
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b7c], eax
push 0x444888
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b80], eax
push 0x4448a0
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b84], eax
push 0x4448bc
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b88], eax
push 0x4448c8
mov eax, dword [0x46fc3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4447dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x448684
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.00403e4c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4486d3
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.004040bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fe18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44fe68]
test si, 4
je 0x44fe2c
or bl, 1
test si, 8
je 0x44fe36
or bl, 4
test si, 1
je 0x44fe40
or bl, 8
test si, 2
je 0x44fe4a
or bl, 0x10
test si, 0x10
je 0x44fe54
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fe63
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44fe6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44fea4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fe85
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fe94
or bl, 4
test esi, 0x20000000
je 0x44fe9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45654c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45655e
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192dc
mov eax, dword [0x47084c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4568f0
mov eax, dword [0x470858]
mov dword [eax + 4], ebx
mov dword [eax], 0x4568fc
mov eax, ebx
call fcn.00456908
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4115d4]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4115d4]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4115d4]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4115d4]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4115d4]
call fcn.004030cc
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, 0x452d24
push eax
push 0
push 0
mov eax, dword [0x4709a4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ad58]
call fcn.0041c4cc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ad58]
call fcn.0041c4cc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ad58]
call fcn.0041c4cc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456d28
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456c04
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456c04
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456c04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45669b
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4569e8
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 0x456b93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456b74
mov dl, 1
mov eax, dword [0x4119f0]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456b63
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.004449d0
test al, al
je 0x456b56
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, 0x456ba4
lea eax, [ebp - 0x254]
call fcn.00408ab0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456b56
xor eax, eax
push ebp
push 0x456b4f
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 0x456bdc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456b38
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
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 0x456b38
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456b56
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456a59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004154cc
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 0x456b9a
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

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

Disassembly:
push ecx
mov eax, dword [0x471bb0]
cmp byte [eax + 0xa5], 0
jne 0x457539
cmp dword [0x471bc8], 0
jne 0x4574fa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457484
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471bc8], eax
cmp dword [0x471bc4], 0
jne 0x457515
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471bc4], eax
cmp dword [0x471bcc], 0
jne 0x457539
push esp
push 0
push 0
push 0x457428
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471bcc], eax
pop edx
ret
Function at 0x457630
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457647
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192dc
mov eax, dword [0x470990]
cmp word [eax + 2], 0
jne 0x45766f
mov eax, dword [0x470990]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458d08
mov eax, dword [0x470a40]
cmp word [eax + 2], 0
jne 0x457689
mov eax, dword [0x470a40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458f00
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4115d4]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4115d4]
call fcn.004030cc
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 [0x41b838]
call fcn.00422fc8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457810
mov eax, dword [0x4708b8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423398
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4594a0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4708b8]
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.0040c178
test eax, eax
je 0x45777e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408490
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c1a0
test eax, eax
je 0x457792
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.004040bc
mov eax, dword [0x47079c]
cmp byte [eax], 0
jne 0x4577c6
mov eax, ebx
call fcn.00457938
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.0045967c
mov eax, ebx
call fcn.0045a040
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457806
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457bb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bb0]
cmp dword [eax + 0x30], 0
je 0x457c62
cmp dword [ebx + 0x94], 0
jne 0x457c5c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457b48
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457c5c
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 0x457c22
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457c5c
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.0041393c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457c31
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4587c4
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 0x4587f9
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.00403f3c
jmp 0x458806
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459858
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459899
mov eax, esi
call fcn.0043fffc
test al, al
je 0x459899
mov eax, dword [ebx + 0x84]
call fcn.0043fcf8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459899
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043fcf8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45d044
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45d072
mov eax, ebx
call fcn.0045daf8
cmp dword [ebx + 0x40], 0
je 0x45d06b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45d0e3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45d0d5
cmp dword [ebx + 8], 0
je 0x45d094
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45d0a6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45d0d5
cmp dword [ebx + 8], 0
je 0x45d087
cmp eax, 3
je 0x45d0b9
dec eax
jne 0x45d087
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45d087
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45d087
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45d101
cmp dword [ebx + 0x14], 0xcc
je 0x45d101
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045d10c
pop ebx
ret
Function at 0x4218d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x4218f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4218f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4218e8
mov eax, 1
add ebx, ebx
jne 0x42190b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421900
jne 0x42191c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421900
xor ecx, ecx
sub eax, 3
jb 0x421930
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4219a2
mov ebp, eax
add ebx, ebx
jne 0x42193b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42196c
inc ecx
add ebx, ebx
jne 0x421958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42194d
jne 0x421969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42194d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42198c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42197d
jmp 0x4218ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42198c
add edi, ecx
jmp 0x4218ee
pop esi
mov edi, esi
mov ecx, 0x7b7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4219aa
cmp byte [edi], 5
jne 0x4219aa
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 eax, ebx
loop 0x4219af
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421a27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22b20]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22bc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4219dc
mov ecx, edi
jns 0x421a0b
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 + 0x22bc4]
or eax, eax
je 0x421a21
mov dword [ebx], eax
add ebx, 4
jmp 0x4219f9
call dword [esi + 0x22bc8]
popal
jmp section.UPX0
Function at 0x402756
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40acc8]
jne 0x402760
repz ret
jmp fcn.00401fae

Function at 0x402765
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00404315
xor ebx, ebx
cmp dword [0x40d890], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40283a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4027a5
xor eax, eax
jmp 0x4028fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40279e
push eax
call fcn.0040334e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40d890], eax
call esi
push eax
call fcn.0040334e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40d894], eax
call esi
push eax
call fcn.0040334e
mov dword [0x40d898], eax
lea eax, [ebp - 8]
push eax
call fcn.00406d77
test eax, eax
pop ecx
pop ecx
je 0x402808
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004073a0
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40283a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040334e
cmp eax, ebx
pop ecx
mov dword [0x40d8a0], eax
je 0x40283a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040334e
pop ecx
mov dword [0x40d89c], eax
mov eax, dword [0x40d89c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4028b3
cmp dword [0x40d8a0], esi
je 0x4028b3
push eax
call fcn.00402dfc
pop ecx
call eax
cmp eax, ebx
je 0x402880
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40d8a0]
call fcn.00402dfc
pop ecx
call eax
test eax, eax
je 0x402880
test byte [ebp - 0x18], 1
jne 0x4028b3
lea eax, [ebp - 0xc]
push eax
call fcn.00406dae
test eax, eax
pop ecx
je 0x40289b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004073a0
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4028aa
or dword [ebp + 0x10], 0x200000
jmp 0x4028e4
or dword [ebp + 0x10], 0x40000
jmp 0x4028e4
mov eax, dword [0x40d894]
cmp eax, esi
je 0x4028e4
push eax
call fcn.00402dfc
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4028e4
mov eax, dword [0x40d898]
cmp eax, esi
je 0x4028e4
push dword [ebp - 4]
push eax
call fcn.00402dfc
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40d890]
call fcn.00402dfc
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4738c7
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4735cc
dec esi
push esi
pop ebx
and esi, ebx
call fcn.004738ff
add esi, esi
mov ebx, 0xde038714
add ebx, esi
xor dword [eax], edi
sub esi, ebx
inc ebx
and esi, ebx
add eax, 2
dec esi
cmp eax, edx
jl fcn.004738c7
or ebx, esi
add ebx, 0x19b45ff9
mov esi, ebx
ret
Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x5c3d9c
push eax
push dword fs:[0]
cmp eax, 0x6450005c
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
mov ecx, 0xd4e4027f
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
mov ebx, 0xa4e81020
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [edi], edx
stosd dword es:[edi], eax
loop 0x4010a6
shr byte [edx - 0x45d61c4d], 1
arpl word [edi - 0x278de9a], dx
sub dword [edx + 0x21669763], edi
xchg ebp, edi
jo 0x4010b7
adc byte [ebx - 0x7b], dh
jae 0x40102e
xlatb
in al, dx
scasd eax, dword es:[edi]
rol dword [0xffffd0cf], 1
fisub dword [edx + 0x3d]
xchg edi, eax
xchg ebp, eax
push 0xa7e35ce0
iretd
loopne 0x401115
jecxz 0x401062
jmp 0x4010fb
and dh, byte es:[esp + ebp*4 - 0x23]
pop edx
enter 0xffffffffffffeae3, 0xffffffffffffff98
stosd dword es:[edi], eax
add eax, 0x6eeca138
out 0x20, eax
fcomp qword [edi + ecx*8 - 0x11]
aas
dec edi
sub bh, byte [eax + 0x37]
xor edx, dword [edx]
rol byte [eax + 0x43], 0xbe
call 0x994340fd
sub dword [edx + edx*8], 0x59
or byte [ebp + 0x4d], 0x13
mov ebp, 0x837088a5
in al, 0xcf
sti
sub dword [eax - 0x26fb9b57], esp
stosd dword es:[edi], eax
xlatb
mov byte [0xfd0f3f20], al
push ebp
cmp byte [esi + esi*2 - 0xf8a4bf2], dh
out dx, eax
in eax, 0x55
iretd
add dword [edi], eax
jp 0x401155
fnstenv [esi]
rcr dword [esi + ecx - 0x3170fcc3], 0xaa
dec ecx
cld
inc edx
inc eax
push ecx
lds edx, [ecx - 0x55b53a8b]
cld
test byte [ebp + edx*4 + 0x19], dh
push cs
loop 0x4010bd
add ebp, dword [ebp - 0x39]
jg 0x401198
fcom qword [0x6d805a99]
fidiv dword [ebx - 7]
inc ebp
movsd dword es:[edi], dword [esi]
xchg ecx, eax
rcl dl, cl
xor esp, dword [ecx - 0x3e5e23c6]
and cl, byte [edx - 0x55]
pop ss
cmp byte [ebp + 0x15], dl
aas
pop edx
sbb dl, dh
push ebp
adc eax, 0xd61a5a3f
dec edx
or al, dl
retf 0x6e55
invalid