joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ddd4
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 0x45df7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45df60
mov dl, 1
mov eax, dword [0x416280]
call fcn.004032e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404088
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45df4f
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.0044bbac
test al, al
je 0x45df42
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, 0x45df90
lea eax, [ebp - 0x254]
call fcn.00409510
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45df42
xor eax, eax
push ebp
push 0x45df3b
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 0x45dfc8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45df24
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042f8
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 0x45df24
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45df42
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45de45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419ed4
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 0x45df86
lea eax, [ebp - 0x260]
call fcn.00404088
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a9bec]
cmp byte [eax + 0xa5], 0
jne 0x45e925
cmp dword [0x4a9c04], 0
jne 0x45e8e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e870
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a9c04], eax
cmp dword [0x4a9c00], 0
jne 0x45e901
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a9c00], eax
cmp dword [0x4a9c08], 0
jne 0x45e925
push esp
push 0
push 0
push 0x45e814
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a9c08], eax
pop edx
ret
Function at 0x45ea1c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45ea33
add esp, 0xfffffff0
call fcn.0040363c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dd38
mov eax, dword [0x4a8d24]
cmp word [eax + 2], 0
jne 0x45ea5b
mov eax, dword [0x4a8d24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004601a8
mov eax, dword [0x4a8de0]
cmp word [eax + 2], 0
jne 0x45ea75
mov eax, dword [0x4a8de0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004603a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415e64]
call fcn.004032e8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415e64]
call fcn.004032e8
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 [0x4202d4]
call fcn.00427f18
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45ebfc
mov eax, dword [0x4a8c2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004282e8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x460950
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a8c2c]
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.0040cd28
test eax, eax
je 0x45eb6a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ef0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd50
test eax, eax
je 0x45eb7e
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.004042f8
mov eax, dword [0x4a8ad8]
cmp byte [eax], 0
jne 0x45ebb2
mov eax, ebx
call fcn.0045ed24
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.00460b2c
mov eax, ebx
call fcn.004614f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ebf2
call fcn.00403694
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45efa4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a9bec]
cmp dword [eax + 0x30], 0
je 0x45f04e
cmp dword [ebx + 0x94], 0
jne 0x45f048
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ef34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f048
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 0x45f00e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f048
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.004181cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f01d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45fbb0
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 0x45fbe5
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.00404178
jmp 0x45fbf2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x460d08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x460d49
mov eax, esi
call fcn.00447194
test al, al
je 0x460d49
mov eax, dword [ebx + 0x84]
call fcn.00446e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x460d49
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446e90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x461a64
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415640]
call fcn.00404b58
xor eax, eax
push ebp
push 0x461ba8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a7ee0], 0
jne 0x461ab7
mov ecx, dword [0x4a8ae8]
mov dl, 1
mov eax, dword [0x407530]
call fcn.0040bf88
call fcn.00403aa4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d24
mov eax, ebx
call fcn.00404910
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x461bb8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405adc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404920
test eax, eax
jle 0x461b4f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x461b48
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404310
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042f8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004083dc
test eax, eax
jne 0x461b48
mov ebx, 0x15
jmp 0x461b54
mov ebx, 0x10
jmp 0x461b54
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a7ee0]
call fcn.00461960
mov eax, dword [ebp - 8]
call fcn.00461960
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461baf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040ac
lea eax, [ebp - 0x10]
mov edx, dword [0x415640]
call fcn.00404c28
ret

Function at 0x46922c
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 0x4692e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404794
mov eax, dword [0x4a8b68]
cmp byte [eax], 0
je 0x46929b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404af4
mov eax, dword [ebx]
call fcn.00404920
push eax
mov eax, dword [ebx]
call fcn.00404910
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404920
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404af4
jmp 0x4692cd
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.004090a0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4692ed
lea eax, [ebp - 0x3f0]
call fcn.00404088
ret
Function at 0x46c3cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x46c426
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.0046c430
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 0x46c42d
ret

Function at 0x471cc4
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 0x471cfa
jmp 0x471da0
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 0x471d3e
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x160], 0
je 0x471d3e
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x160]
mov eax, dword [eax + 0x14]
jmp 0x471d4e
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x15c]
test edx, edx
je 0x471d4e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x471d67
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0046e6b8
jmp 0x471da0
mov dl, 1
mov eax, dword [0x41fb34]
call fcn.00421a78
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00422430
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
call fcn.00421628
mov edx, esp
mov eax, esi
call fcn.0042217c
mov eax, esi
call fcn.00403318
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4742fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00446e90
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.004405c8
pop ebx
ret
Function at 0x4796ec
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 0x4797a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404794
mov eax, dword [0x4a8b68]
cmp byte [eax], 0
je 0x47975b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404af4
mov eax, dword [ebx]
call fcn.00404920
push eax
mov eax, dword [ebx]
call fcn.00404910
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404920
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404af4
jmp 0x47978d
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.004090a0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4797ad
lea eax, [ebp - 0x3f0]
call fcn.00404088
ret

Function at 0x479950
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 0x479a11
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00457294
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.004794d8
mov edi, eax
test edi, edi
je 0x4799af
mov al, byte [0x479a1c]
cmp al, bl
jne 0x4799af
mov edx, edi
mov eax, esi
call fcn.00479410
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x479a11
cmp byte [esi + 0x161], 2
jne 0x4799da
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4a8eb4]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0044185c
test eax, eax
jne 0x479a11
jmp 0x479a04
mov eax, dword [0x4a8dc4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x479a04
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4a8dc4]
mov edx, 0xb006
call fcn.0044185c
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 0x47f91c
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 0x47f950
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47f98c
jmp 0x47f954
pop edx
pop eax
jge 0x47f98c
mov eax, dword [0x4a8eb4]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047a7e0
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47f9b1
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47f9b1
cmp dword [ebx + 0x11c], 0
je 0x47f9b1
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042fdac
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 0x489ec0
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 0x48a031
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 0x48a016
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.004090a0
mov dl, 1
mov eax, dword [0x465834]
call fcn.0046588c
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
mov dl, 1
mov eax, dword [0x416570]
call fcn.004032e8
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.00465908
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x48a013
mov dl, 1
mov eax, dword [0x4669ac]
call fcn.00466a14
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, 0x48a048
call fcn.00465c54
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404394
xor eax, eax
push ebp
push 0x48a00c
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.00466d14
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048a050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a013
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.00403318
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403318
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403318
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a038
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004040ac
ret
Function at 0x48d284
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 0x48d33e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404794
mov eax, dword [0x4a8b68]
cmp byte [eax], 0
je 0x48d2f3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404af4
mov eax, dword [ebx]
call fcn.00404920
push eax
mov eax, dword [ebx]
call fcn.00404910
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404920
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404af4
jmp 0x48d325
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.004090a0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d345
lea eax, [ebp - 0x3f0]
call fcn.00404088
ret

Function at 0x48d34c
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.004090a0
add esp, 0x3ec
pop ebx
ret

Function at 0x4918c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4918f6
mov eax, ebx
call fcn.0049237c
cmp dword [ebx + 0x40], 0
je 0x4918ef
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x491967
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x491959
cmp dword [ebx + 8], 0
je 0x491918
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 0x49192a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x491959
cmp dword [ebx + 8], 0
je 0x49190b
cmp eax, 3
je 0x49193d
dec eax
jne 0x49190b
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 0x49190b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49190b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x491985
cmp dword [ebx + 0x14], 0xcc
je 0x491985
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.00491990
pop ebx
ret
Function at 0x4a2218
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a2221
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.00404538
xor eax, eax
push ebp
push 0x4a241a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004a217c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a217c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404120
mov eax, dword [ebp - 0x10]
call fcn.00404348
sar eax, 1
jns 0x4a227b
adc eax, 0
test eax, eax
jle 0x4a23d7
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x4a229b
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404120
lea eax, [ebp - 0x18]
call fcn.00404088
mov eax, dword [ebp - 0x14]
call fcn.00404348
mov edi, eax
sar edi, 1
jns 0x4a22b4
adc edi, 0
test edi, edi
jle 0x4a23cd
mov ebx, 1
mov edx, 0x4a2428
lea eax, [ebp - 0x28]
call fcn.00402c08
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.00402bd8
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402c08
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.00402bd8
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.004042ec
mov eax, dword [ebp - 0x24]
call fcn.00408840
mov byte [ebp - 0x19], al
mov edx, 0x4a2428
lea eax, [ebp - 0x28]
call fcn.00402c08
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.00402bd8
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402c08
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.00402bd8
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.004042ec
mov eax, dword [ebp - 0x34]
call fcn.00408840
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x1a]
call fcn.00404270
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004a217c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.00404350
inc ebx
dec edi
jne 0x4a22c1
inc esi
dec dword [ebp - 0x20]
jne 0x4a228b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.004040dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2421
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004040ac
lea eax, [ebp - 0x24]
call fcn.00404088
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004040ac
lea eax, [ebp - 4]
call fcn.00404088
ret