joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4275bc
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 0x4275ed
je 0x427647
sub eax, 7
je 0x42760e
dec eax
je 0x427638
sub eax, 0x17
je 0x4276c8
jmp 0x427706
add eax, 0xffffff00
sub eax, 9
jb 0x4276b4
add eax, 0xffffff09
sub eax, 0xb
jb 0x42769e
jmp 0x427706
mov eax, ebx
call fcn.00437a04
mov edi, eax
test edi, edi
je 0x427766
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42776f
jmp 0x427766
test byte [ebx + 0x44], 0x20
jne 0x42776f
jmp 0x427766
mov edx, esi
mov eax, ebx
call fcn.00424ea8
cmp dword [esi + 0xc], 0xffffffff
jne 0x42776f
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406638
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00423950
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042746c
test eax, eax
je 0x42776f
mov dword [esi + 0xc], 1
jmp 0x42776f
mov edx, esi
mov eax, ebx
call fcn.00427530
test al, al
jne 0x42776f
jmp 0x427766
mov eax, ebx
call fcn.00424520
test al, al
jne 0x42776f
jmp 0x427766
mov eax, ebx
call fcn.00429aec
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x427766
cmp dword [0x4466f8], 0
je 0x427766
mov eax, dword [0x4466f8]
cmp ebx, dword [eax + 0x24]
jne 0x427766
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4466f8]
call fcn.00424dc4
jmp 0x427766
mov eax, dword [0x447720]
cmp byte [eax + 0x20], 0
je 0x427766
mov eax, dword [0x447720]
cmp dword [eax + 0x1c], 0
je 0x427766
mov eax, dword [esi]
mov edx, dword [0x447720]
cmp eax, dword [edx + 0x1c]
jne 0x427766
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.00437918
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.00402ed0
jmp 0x42776f
mov edx, esi
mov eax, ebx
call fcn.00424ea8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427c00
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 0x427c1c
cmp dword [esi + 4], 0
je 0x427c49
test byte [ebx + 0x45], 1
jne 0x427c3b
mov eax, ebx
call fcn.00426c70
test eax, eax
jne 0x427c3b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x427d59
mov edx, esi
mov eax, ebx
call fcn.00427878
jmp 0x427d59
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 0x427d52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00429aec
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.00424dc4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00427c00
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.00429aec
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d59
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 0x4313ec
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.004038a8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43144d
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x43144d
cmp byte [ebp - 0x102], 0
je 0x43144d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403ad4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4376e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4477d4
cmp dword [edi], 0
jne 0x437764
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4477d0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x446884
mov ecx, 2
call fcn.004027b0
mov edx, 0x4376c0
lea eax, [esi + 5]
call fcn.004376e0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004376e0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x437739
mov dword [0x4477d0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x437888
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4378d8]
test si, 4
je 0x43789c
or bl, 1
test si, 8
je 0x4378a6
or bl, 4
test si, 1
je 0x4378b0
or bl, 8
test si, 2
je 0x4378ba
or bl, 0x10
test si, 0x10
je 0x4378c4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4378d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4378dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x437914]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4378f5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x437904
or bl, 4
test esi, 0x20000000
je 0x43790f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43dfb8
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 0x43e15d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40bae0]
call fcn.00402cc4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004038a8
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 0x43e133
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.0042e14c
test al, al
je 0x43e126
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, 0x43e16c
lea eax, [ebp - 0x254]
call fcn.004081d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43e126
xor eax, eax
push ebp
push 0x43e11f
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 0x43e1a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43e108
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ad4
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 0x43e108
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e126
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43e029
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040e970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e164
lea eax, [ebp - 0x260]
call fcn.004038a8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4477a4]
cmp byte [eax + 0x8d], 0
jne 0x43e971
cmp dword [0x4477e0], 0
jne 0x43e932
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43e8bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4477e0], eax
cmp dword [0x4477dc], 0
jne 0x43e94d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4477dc], eax
cmp dword [0x4477e4], 0
jne 0x43e971
push esp
push 0
push 0
push 0x43e860
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4477e4], eax
pop edx
ret
Function at 0x43ea68
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43ea7f
add esp, 0xfffffff0
call fcn.00402ff4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004117b4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40b7e0]
call fcn.00402cc4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40b7e0]
call fcn.00402cc4
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 [0x413540]
call fcn.0041a454
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x43ebf0
mov eax, dword [0x446b5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041a7f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4404d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x446b5c]
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.0040949c
test eax, eax
je 0x43eb6f
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407b5c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004094c4
test eax, eax
je 0x43eb83
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.00403ad4
mov eax, dword [0x446a70]
cmp byte [eax], 0
jne 0x43ebb4
mov eax, ebx
call fcn.0043ecdc
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 0x43ebe6
call fcn.0040304c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43ef38
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4477a4]
cmp dword [eax + 0x24], 0
je 0x43efc8
cmp dword [ebx + 0x7c], 0
jne 0x43efc5
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43eecc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x43efc5
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 0x43ef94
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43efc5
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.0040ce04
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43efa0
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43f918
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 0x43f94d
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.0040398c
jmp 0x43f957
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403940
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x440804
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44083c
mov eax, esi
call fcn.00429f14
test al, al
je 0x44083c
mov eax, dword [ebx + 0x6c]
call fcn.00429aec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44083c
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00429aec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x443f20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4440f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [esi + 0x2c], 0
jne 0x4440dc
mov eax, dword [esi + 0x24]
call fcn.00403b24
test eax, eax
jne 0x443f75
mov eax, dword [esi + 0x28]
call fcn.00403b24
test eax, eax
jne 0x443f75
mov eax, esi
call fcn.00444194
jmp 0x4440dc
cmp dword [esi + 0x94], 0
jne 0x443fac
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x24]
call fcn.00407be4
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x447830]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x94], eax
cmp dword [esi + 0x98], 0
jne 0x443fe3
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x28]
call fcn.00407be4
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x447830]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.004441d4
mov ebx, eax
test bl, bl
jne 0x444091
mov eax, dword [esi + 0x24]
call fcn.00403b24
test eax, eax
jne 0x44401b
mov eax, dword [esi + 0xb0]
call fcn.00403b24
test eax, eax
je 0x444091
mov eax, dword [esi + 0xb0]
call fcn.00403b24
test eax, eax
je 0x44403d
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0xb0]
call fcn.00407be4
jmp 0x444069
push dword [esi + 0x24]
push 0x444110
push dword [esi + 0x28]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00403be4
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00407be4
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x444091
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.004441d4
mov ebx, eax
test bl, bl
jne 0x44409e
mov eax, esi
call fcn.00444194
jmp 0x4440dc
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4440ad
mov dword [esi + 0x9c], eax
jmp 0x4440b7
mov dword [esi + 0x9c], 1
mov eax, esi
call fcn.0044424c
test al, al
je 0x4440dc
mov eax, esi
mov bx, 0xffef
call fcn.00402ed0
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00444384
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4440fc
lea eax, [ebp - 0x108]
call fcn.004038a8
ret
Function at 0x4015c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x5c
cmp ecx, 0x3e7
mov dword [ebp - 0x2c], eax
jg 0x401618
test ecx, ecx
js 0x4016c0
mov eax, 0x51eb851f
imul ecx
mov eax, ecx
sar eax, 0x1f
sar edx, 5
mov edi, edx
sub edi, eax
imul eax, edi, 0x64
sub ecx, eax
mov esi, ecx
mov eax, 0x66666667
imul ecx
sar ecx, 0x1f
sar edx, 2
sub edx, ecx
mov ecx, esi
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
jmp 0x401627
mov edi, 0xa
mov edx, 0xa
mov ecx, 0xa
mov eax, dword [0x407038]
mov dword [ebp - 0x24], edi
lea edi, [ebp - 0x24]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.gdi32.dll_SelectObject
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], eax
sub esp, 8
mov eax, esi
mov esi, edi
mov edi, eax
mov dword [esp + 0x20], 0xcc0020
add esi, 4
imul eax, dword [esi - 4], 0x17
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x17
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0xc
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], edi
add edi, 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x18]
sub esp, 0x24
cmp eax, esi
jne 0x401653
mov eax, dword [ebp - 0x30]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.gdi32.dll_SelectObject
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
neg ecx
mov edi, 0xa
mov esi, ecx
jmp 0x4015f8
Function at 0x403a50
Capabilities:
Hide graphical window
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x70]
push ebx
push ecx
sub esp, 0xc8
mov ebx, dword [ecx]
mov edi, dword [ecx + 0xc]
call sub.comctl32.dll_InitCommonControls
mov dword [esp + 0xc], 0x14
mov dword [esp + 8], esi
mov dword [esp + 4], 0x44d
mov dword [esp], ebx
call sub.user32.dll_LoadStringW
mov dword [ebp - 0x40], 0x402a10
movq xmm0, qword [0x4061f0]
sub esp, 0x10
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], ebx
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.user32.dll_LoadIconW
sub esp, 8
mov dword [ebp - 0x30], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sub.user32.dll_LoadCursorW
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp], 4
call sub.gdi32.dll_GetStockObject
mov dword [ebp - 0x24], 1
sub esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], esi
mov dword [esp], 0x32
call sub.user32.dll_GetSystemMetrics
sub esp, 4
mov dword [ebp - 0x9c], eax
mov dword [esp], 0x31
call sub.user32.dll_GetSystemMetrics
sub esp, 4
mov dword [esp + 0x14], 0x8000
mov edx, dword [ebp - 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp + 0x10], edx
mov dword [esp], ebx
call sub.user32.dll_LoadImageW
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
sub esp, 0x18
mov dword [esp], eax
call sub.user32.dll_RegisterClassExW
sub esp, 4
test ax, ax
je 0x403ca4
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x80000000
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xca0000
mov dword [esp], 0
call sub.user32.dll_CreateWindowExW
sub esp, 0x30
mov esi, eax
test eax, eax
je 0x403ca4
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.user32.dll_ShowWindow
sub esp, 8
mov dword [esp], esi
call sub.user32.dll_UpdateWindow
sub esp, 4
mov dword [esp], ebx
lea ebx, [ebp - 0x8c]
mov dword [esp + 4], 0x4b1
call sub.user32.dll_LoadAcceleratorsW
sub esp, 8
mov edi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3e8
mov dword [esp + 4], 0x3e8
mov dword [esp], esi
call sub.user32.dll_SetTimer
sub esp, 0x10
jmp 0x403c43
mov dword [esp], ebx
call sub.user32.dll_DispatchMessageW
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.user32.dll_GetMessageW
sub esp, 0x10
test eax, eax
je 0x403c90
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.user32.dll_TranslateAcceleratorW
sub esp, 0xc
test eax, eax
jne 0x403c38
mov dword [esp], ebx
call sub.user32.dll_TranslateMessage
sub esp, 4
jmp 0x403c38
mov eax, dword [ebp - 0x84]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x404860
Capabilities:
Accept command line arguments
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x4048d0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x404937
xor ecx, ecx
xor edx, edx
jmp 0x404919
cmp ax, 0x5c
jne 0x4049a8
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x404937
cmp ax, 9
je 0x404925
cmp ax, 0x20
jne 0x404900
test ecx, ecx
je 0x404993
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x404919
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x4049c8
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00403a50
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x404990
cmp ax, 0x20
je 0x404990
jmp 0x404937
cmp ax, 0x22
jne 0x404929
and edx, 1
jne 0x404929
xor ecx, 1
jmp 0x40490d
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x404950