joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b5f4
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 0x45b79f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b780
mov dl, 1
mov eax, dword [0x412968]
call fcn.0040327c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ffc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b76f
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.00449040
test al, al
je 0x45b762
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, 0x45b7b0
lea eax, [ebp - 0x254]
call fcn.00409118
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b762
xor eax, eax
push ebp
push 0x45b75b
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 0x45b7e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b744
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040426c
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 0x45b744
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040426c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b762
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b665
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041649c
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 0x45b7a6
lea eax, [ebp - 0x260]
call fcn.00403ffc
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a1be4]
cmp byte [eax + 0xa5], 0
jne 0x45c145
cmp dword [0x4a1bfc], 0
jne 0x45c106
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c090
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a1bfc], eax
cmp dword [0x4a1bf8], 0
jne 0x45c121
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a1bf8], eax
cmp dword [0x4a1c00], 0
jne 0x45c145
push esp
push 0
push 0
push 0x45c034
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a1c00], eax
pop edx
ret
Function at 0x45c23c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c253
add esp, 0xfffffff0
call fcn.004035d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a300
mov eax, dword [0x4a0c40]
cmp word [eax + 2], 0
jne 0x45c27b
mov eax, dword [0x4a0c40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d9c8
mov eax, dword [0x4a0cf0]
cmp word [eax + 2], 0
jne 0x45c295
mov eax, dword [0x4a0cf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045dbc0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41254c]
call fcn.0040327c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41254c]
call fcn.0040327c
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 [0x41c854]
call fcn.00424498
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c41c
mov eax, dword [0x4a0b5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424868
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45e170
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a0b5c]
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.0040c8f0
test eax, eax
je 0x45c38a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408af8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c918
test eax, eax
je 0x45c39e
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.0040426c
mov eax, dword [0x4a0a2c]
cmp byte [eax], 0
jne 0x45c3d2
mov eax, ebx
call fcn.0045c544
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.0045e34c
mov eax, ebx
call fcn.0045ed10
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c412
call fcn.00403628
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c7c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a1be4]
cmp dword [eax + 0x30], 0
je 0x45c86e
cmp dword [ebx + 0x94], 0
jne 0x45c868
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c754
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c868
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 0x45c82e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c868
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.004148b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c83d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d3d0
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 0x45d405
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.004040ec
jmp 0x45d412
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404050
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e528
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e569
mov eax, esi
call fcn.004445e4
test al, al
je 0x45e569
mov eax, dword [ebx + 0x84]
call fcn.004442e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e569
push 0
mov eax, dword [ebx + 0x84]
call fcn.004442e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46314c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x463206
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404708
mov eax, dword [0x4a0aac]
cmp byte [eax], 0
je 0x4631bb
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a68
mov eax, dword [ebx]
call fcn.00404894
push eax
mov eax, dword [ebx]
call fcn.00404884
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404894
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a68
jmp 0x4631ed
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408ca8
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46320d
lea eax, [ebp - 0x3f0]
call fcn.00403ffc
ret
Function at 0x4662ec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x466346
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00466350
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46634d
ret

Function at 0x46bbe4
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x46bc1a
jmp 0x46bcc0
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x46bc5e
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x160], 0
je 0x46bc5e
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x160]
mov eax, dword [eax + 0x14]
jmp 0x46bc6e
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x15c]
test edx, edx
je 0x46bc6e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x46bc87
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004685d8
jmp 0x46bcc0
mov dl, 1
mov eax, dword [0x41c0b4]
call fcn.0041dff8
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041e9b0
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
call fcn.0041dba8
mov edx, esp
mov eax, esi
call fcn.0041e6fc
mov eax, esi
call fcn.004032ac
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x46e21c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004442e0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043da18
pop ebx
ret
Function at 0x47360c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4736c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404708
mov eax, dword [0x4a0aac]
cmp byte [eax], 0
je 0x47367b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a68
mov eax, dword [ebx]
call fcn.00404894
push eax
mov eax, dword [ebx]
call fcn.00404884
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404894
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a68
jmp 0x4736ad
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408ca8
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4736cd
lea eax, [ebp - 0x3f0]
call fcn.00403ffc
ret

Function at 0x473870
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x473931
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00454ab4
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.004733f8
mov edi, eax
test edi, edi
je 0x4738cf
mov al, byte [0x47393c]
cmp al, bl
jne 0x4738cf
mov edx, edi
mov eax, esi
call fcn.00473330
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x473931
cmp byte [esi + 0x161], 2
jne 0x4738fa
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4a0db4]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043ecac
test eax, eax
jne 0x473931
jmp 0x473924
mov eax, dword [0x4a0cd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x473924
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4a0cd4]
mov edx, 0xb006
call fcn.0043ecac
xor eax, eax
mov dword [ebp + 0xc], eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47983c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x479870
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4798ac
jmp 0x479874
pop edx
pop eax
jge 0x4798ac
mov eax, dword [0x4a0db4]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00474700
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4798d1
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4798d1
cmp dword [ebx + 0x11c], 0
je 0x4798d1
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042b0a4
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x483de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x483f51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x94], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x483f36
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408ca8
mov dl, 1
mov eax, dword [0x45f754]
call fcn.0045f7ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
mov dl, 1
mov eax, dword [0x412c58]
call fcn.0040327c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.0045f828
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x483f33
mov dl, 1
mov eax, dword [0x4608cc]
call fcn.00460934
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov edx, 0x483f68
call fcn.0045fb74
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404308
xor eax, eax
push ebp
push 0x483f2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00460c34
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00483f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483f33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.004032ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004032ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004032ac
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483f58
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404020
ret
Function at 0x4871a4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48725e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404708
mov eax, dword [0x4a0aac]
cmp byte [eax], 0
je 0x487213
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a68
mov eax, dword [ebx]
call fcn.00404894
push eax
mov eax, dword [ebx]
call fcn.00404884
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404894
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a68
jmp 0x487245
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408ca8
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487265
lea eax, [ebp - 0x3f0]
call fcn.00403ffc
ret

Function at 0x48726c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408ca8
add esp, 0x3ec
pop ebx
ret

Function at 0x48b7b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48b7de
mov eax, ebx
call fcn.0048c264
cmp dword [ebx + 0x40], 0
je 0x48b7d7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48b84f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48b841
cmp dword [ebx + 8], 0
je 0x48b800
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 0x48b812
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48b841
cmp dword [ebx + 8], 0
je 0x48b7f3
cmp eax, 3
je 0x48b825
dec eax
jne 0x48b7f3
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 0x48b7f3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48b7f3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48b86d
cmp dword [ebx + 0x14], 0xcc
je 0x48b86d
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.0048b878
pop ebx
ret
Function at 0x49c100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x49c109
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004044ac
xor eax, eax
push ebp
push 0x49c302
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0049c064
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049c064
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404094
mov eax, dword [ebp - 0x10]
call fcn.004042bc
sar eax, 1
jns 0x49c163
adc eax, 0
test eax, eax
jle 0x49c2bf
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x49c183
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404094
lea eax, [ebp - 0x18]
call fcn.00403ffc
mov eax, dword [ebp - 0x14]
call fcn.004042bc
mov edi, eax
sar edi, 1
jns 0x49c19c
adc edi, 0
test edi, edi
jle 0x49c2b5
mov ebx, 1
mov edx, 0x49c310
lea eax, [ebp - 0x28]
call fcn.00402bac
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00402b7c
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402bac
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00402b7c
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00404260
mov eax, dword [ebp - 0x24]
call fcn.004084bc
mov byte [ebp - 0x19], al
mov edx, 0x49c310
lea eax, [ebp - 0x28]
call fcn.00402bac
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00402b7c
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402bac
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00402b7c
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00404260
mov eax, dword [ebp - 0x34]
call fcn.004084bc
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x1a]
call fcn.004041e4
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0049c064
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.004042c4
inc ebx
dec edi
jne 0x49c1a9
inc esi
dec dword [ebp - 0x20]
jne 0x49c173
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c309
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404020
lea eax, [ebp - 0x24]
call fcn.00403ffc
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404020
lea eax, [ebp - 4]
call fcn.00403ffc
ret
Function at 0x422b50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x422b72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422b79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422b68
mov eax, 1
add ebx, ebx
jne 0x422b8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422b80
jne 0x422b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422b80
xor ecx, ecx
sub eax, 3
jb 0x422bb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422c22
mov ebp, eax
add ebx, ebx
jne 0x422bbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422bec
inc ecx
add ebx, ebx
jne 0x422bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422bcd
jne 0x422be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422bcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422c0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422bfd
jmp 0x422b6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422c0c
add edi, ecx
jmp 0x422b6e
pop esi
mov edi, esi
mov ecx, 0x844
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422c2a
cmp byte [edi], 0xd
jne 0x422c2a
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 0x422c2f
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422ca7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24a84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24b38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422c5c
mov ecx, edi
jns 0x422c8b
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 + 0x24b3c]
or eax, eax
je 0x422ca1
mov dword [ebx], eax
add ebx, 4
jmp 0x422c79
call dword [esi + 0x24b40]
popal
jmp section.UPX0