joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421e5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x421e8d
je 0x421ee7
sub eax, 7
je 0x421eae
dec eax
je 0x421ed8
sub eax, 0x17
je 0x421f68
jmp 0x421fa6
add eax, 0xffffff00
sub eax, 9
jb 0x421f54
add eax, 0xffffff09
sub eax, 0xb
jb 0x421f3e
jmp 0x421fa6
mov eax, ebx
call fcn.00431f44
mov edi, eax
test edi, edi
je 0x422006
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42200f
jmp 0x422006
test byte [ebx + 0x44], 0x20
jne 0x42200f
jmp 0x422006
mov edx, esi
mov eax, ebx
call fcn.0041f7d0
cmp dword [esi + 0xc], 0xffffffff
jne 0x42200f
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040644c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0041e25c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00421d0c
test eax, eax
je 0x42200f
mov dword [esi + 0xc], 1
jmp 0x42200f
mov edx, esi
mov eax, ebx
call fcn.00421dd0
test al, al
jne 0x42200f
jmp 0x422006
mov eax, ebx
call fcn.0041ee3c
test al, al
jne 0x42200f
jmp 0x422006
mov eax, ebx
call fcn.00424388
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x422006
cmp dword [0x43c678], 0
je 0x422006
mov eax, dword [0x43c678]
cmp ebx, dword [eax + 0x24]
jne 0x422006
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x43c678]
call fcn.0041f6ec
jmp 0x422006
mov eax, dword [0x43d720]
cmp byte [eax + 0x20], 0
je 0x422006
mov eax, dword [0x43d720]
cmp dword [eax + 0x1c], 0
je 0x422006
mov eax, dword [esi]
mov edx, dword [0x43d720]
cmp eax, dword [edx + 0x1c]
jne 0x422006
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00431e58
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402de0
jmp 0x42200f
mov edx, esi
mov eax, ebx
call fcn.0041f7d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4224a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x4224bc
cmp dword [esi + 4], 0
je 0x4224e9
test byte [ebx + 0x45], 1
jne 0x4224db
mov eax, ebx
call fcn.00421580
test eax, eax
jne 0x4224db
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4225f9
mov edx, esi
mov eax, ebx
call fcn.00422118
jmp 0x4225f9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4225f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00424388
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0041f6ec
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004224a0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00424388
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4225f9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42b9b8
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.0040378c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42ba19
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x42ba19
cmp byte [ebp - 0x102], 0
je 0x42ba19
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004039b8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43833c
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 0x4384e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40b628]
call fcn.00402bdc
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0040378c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4384b7
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.00428738
test al, al
je 0x4384aa
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x4384f0
lea eax, [ebp - 0x254]
call fcn.00407e68
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4384aa
xor eax, eax
push ebp
push 0x4384a3
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 0x438528
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43848c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004039b8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x43848c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004039b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4384aa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4383ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040e4b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4384e8
lea eax, [ebp - 0x260]
call fcn.0040378c
ret

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

Disassembly:
push ecx
mov eax, dword [0x43d7a4]
cmp byte [eax + 0x8d], 0
jne 0x438cb5
cmp dword [0x43d7e0], 0
jne 0x438c76
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x438c00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x43d7e0], eax
cmp dword [0x43d7dc], 0
jne 0x438c91
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x43d7dc], eax
cmp dword [0x43d7e4], 0
jne 0x438cb5
push esp
push 0
push 0
push 0x438ba4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x43d7e4], eax
pop edx
ret
Function at 0x438dac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x438dc3
add esp, 0xfffffff0
call fcn.00402ed8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00411294
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40b328]
call fcn.00402bdc
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40b328]
call fcn.00402bdc
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x412dc4]
call fcn.004185f0
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x438f34
mov eax, dword [0x43ca7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00418994
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43a818
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x43ca7c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.00409080
test eax, eax
je 0x438eb3
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004077f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004090a8
test eax, eax
je 0x438ec7
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004039b8
mov eax, dword [0x43c9a0]
cmp byte [eax], 0
jne 0x438ef8
mov eax, ebx
call fcn.00439020
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x438f2a
call fcn.00402f30
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43927c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x43d7a4]
cmp dword [eax + 0x24], 0
je 0x43930c
cmp dword [ebx + 0x7c], 0
jne 0x439309
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x439210
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x439309
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 0x4392d8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x439309
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040c94c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4392e4
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x439c5c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x439c91
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403870
jmp 0x439c9b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403824
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43ab48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x43ab80
mov eax, esi
call fcn.00424768
test al, al
je 0x43ab80
mov eax, dword [ebx + 0x6c]
call fcn.00424388
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43ab80
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00424388
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x401b70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x401b90
mov dl, byte [ecx + eax]
xor dl, 0xfc
add dl, 0x31
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x401b7f
pop esi
ret

Function at 0x40153b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x2c], 1
je 0x401554
movzx esi, word [esp + 0x30]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4044e0], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040152b
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40120e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Trick
mov dword [ebp - 0x20], eax
call fcn.0040151e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x401626
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Qindom
push str.Trick
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4044e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4044e8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401626
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40160a
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4789bd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x495240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x499958
mov dword [ebp - 0x24], 0x499958
mov byte [ebp - 0x20], 0
call fcn.0044eb18
add esp, 4
test eax, eax
jne 0x447bd1
cmp dword [0x499984], 0x7fffffff
je 0x447bd8
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x499938
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x499938
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00444300
mov eax, dword [eax + 4]
test eax, eax
je 0x447bb4
cmp eax, dword [0x49993c]
je 0x447bb4
lea eax, [ebp + 8]
mov ecx, 0x499938
push eax
call fcn.0044b460
push 8
mov esi, eax
call fcn.00466b7f
add esp, 4
test eax, eax
je 0x447b73
mov dword [eax], esi
mov dword [eax + 4], 5
jmp 0x447b75
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4444d0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x447bf0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x447be9
push ecx
push eax
call fcn.0044f07a
add esp, 8
test eax, eax
jne 0x447be9
push 0x499958
call fcn.0044eb3d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.0044edb4
push 6
mov dword [0x499984], 0x7ffffffe
call fcn.0044edb4
push 1
call fcn.0044edb4
push 6
mov dword [ebp - 0x14], 0
call fcn.0044edb4
int3
Function at 0x449660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478ce6
mov eax, dword fs:[0]
push eax
sub esp, 0xc44
mov eax, dword [0x495240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x499958
mov dword [ebp - 0x640], 0x499958
mov byte [ebp - 0x63c], 0
call fcn.0044eb18
add esp, 4
test eax, eax
jne 0x449810
cmp dword [0x499984], 0x7fffffff
je 0x449817
mov byte [ebp - 0x63c], 1
mov dword [ebp - 0x638], 0x499938
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x499938
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.00444300
mov eax, dword [eax + 4]
test eax, eax
je 0x4497e8
cmp eax, dword [0x49993c]
je 0x4497e8
lea eax, [ebp + 8]
mov ecx, 0x499938
push eax
call fcn.0044b460
mov dword [ebp - 0xc50], 0
lea esi, [ebp + 0xc]
mov ecx, 0x182
mov dword [ebp - 0x628], eax
lea edi, [ebp - 0xc48]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x184
lea esi, [ebp - 0xc50]
lea edi, [ebp - 0x620]
rep movsd dword es:[edi], dword [esi]
push 0x618
call fcn.00466b7f
add esp, 4
test eax, eax
je 0x44979b
mov ecx, 0x186
lea esi, [ebp - 0x628]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x44979d
xor eax, eax
mov dword [ebp - 0x634], eax
lea ecx, [ebp - 0x62c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x444510
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x630], eax
test eax, eax
je 0x44982f
mov ecx, dword [ebp - 0x62c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x449828
push ecx
push eax
call fcn.0044f07a
add esp, 8
test eax, eax
jne 0x449828
push 0x499958
call fcn.0044eb3d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466bbd
mov esp, ebp
pop ebp
ret
push 5
call fcn.0044edb4
push 6
mov dword [0x499984], 0x7ffffffe
call fcn.0044edb4
push 1
call fcn.0044edb4
push 6
mov dword [ebp - 0x62c], 0
call fcn.0044edb4
int3
Function at 0x449990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x495240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x499958
mov dword [ebp - 0x24], 0x499958
mov byte [ebp - 0x20], 0
call fcn.0044eb18
add esp, 4
test eax, eax
jne 0x449af9
cmp dword [0x499984], 0x7fffffff
je 0x449b00
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x499938
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x499938
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00444300
mov eax, dword [eax + 4]
test eax, eax
je 0x449add
cmp eax, dword [0x49993c]
je 0x449add
lea eax, [ebp + 8]
mov ecx, 0x499938
push eax
call fcn.0044b460
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
push 0x18
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
call fcn.00466b7f
add esp, 4
test eax, eax
je 0x449a9c
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [eax + 0x10], xmm0
jmp 0x449a9e
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x4445f0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x449b18
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x449b11
push ecx
push eax
call fcn.0044f07a
add esp, 8
test eax, eax
jne 0x449b11
push 0x499958
call fcn.0044eb3d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 5
call fcn.0044edb4
push 6
mov dword [0x499984], 0x7ffffffe
call fcn.0044edb4
push 1
call fcn.0044edb4
push 6
mov dword [ebp - 0x14], 0
call fcn.0044edb4
int3
Function at 0x472a80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x472aad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x472aad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402fb4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x45a008], 0x8088405
inc edx
mov dword [ebx + 0x45a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4036b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45a024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40374c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40372c
xor eax, eax
push ebp
push 0x403725
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403768
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40372c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x45a024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45a024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404558
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x55a048], 0
je 0x4045b9
cmp word [0x55a21c], 0xd7b2
jne 0x404581
cmp dword [0x55a224], 0
jbe 0x404581
mov eax, 0x55a218
call dword [0x55a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4045e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45a030], 0
jne 0x4045d5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret