joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415439
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x4613a8], esi
jne 0x415480
cmp dword [0x476b24], esi
je 0x415480
call fcn.00415767
test eax, eax
je 0x415480
call fcn.004281a9
test eax, eax
je 0x415480
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push esi
push esi
push 0x415670
push esi
push esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x4613a8], eax
pop esi
leave
ret

Function at 0x415483
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x14]
push 0x11
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
push 0x40
rep stosd dword es:[edi], eax
xor ebx, ebx
pop ecx
lea edi, [ebp - 0x15b]
mov byte [ebp - 0x15c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x144
xor eax, eax
lea edi, [ebp - 0x66f]
mov byte [ebp - 0x670], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x15c]
push 0x104
push eax
push dword [0x536190]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], 0x44
call fcn.00426857
add esp, 0x10
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x40a2c4
lea eax, [ebp - 0x670]
push 0x514
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x4000000
push 1
push ebx
lea eax, [ebp - 0x670]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
xor eax, eax
cmp dword [ebp - 4], 1
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x415574
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push 0x24
push 0x40a37c
push 0xcb
call fcn.004252ac
pop ecx
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x41566d
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
push 0x40
lea edi, [ebp - 0x157]
pop ecx
mov byte [ebp - 0x158], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x144
xor eax, eax
lea edi, [ebp - 0x66b]
mov byte [ebp - 0x66c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x158]
push 0x104
push eax
push dword [0x536190]
mov dword [ebp - 0x54], 0x44
call fcn.00426857
add esp, 0x10
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x40a320
lea eax, [ebp - 0x66c]
push 0x514
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x4000000
push 1
push ebx
lea eax, [ebp - 0x66c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push dword [0x5358f4]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4162c3
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0xffffffff
push esi
push edi
mov edi, ecx
jne 0x4162d6
mov esi, dword [edi + 0x20008]
jmp 0x4162e3
push dword [esp + 0xc]
mov ecx, edi
call fcn.004160d9
mov esi, eax
test esi, esi
je 0x416375
mov eax, dword [edi + 0x20008]
cmp eax, esi
je 0x41632d
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x41630c
mov eax, dword [eax + 4]
test eax, eax
je 0x41630c
push 0
push eax
call ebx
push 5
mov dword [edi + 0x20008], esi
push dword [esi + 4]
call ebx
push esi
mov ecx, 0x498a28
call fcn.00441f23
lea ecx, [esi + 0x24]
call fcn.00418f5d
pop ebx
mov ecx, edi
call fcn.00417f62
mov ecx, edi
call fcn.00415b11
mov eax, dword [edi + 0x20008]
mov ecx, 0x498a58
push dword [eax + 0x10]
call fcn.00439ebb
push 0
push 1
push 0x68
call fcn.004252ac
pop ecx
push eax
mov ecx, 0x4994a0
call fcn.00442473
push esi
mov ecx, edi
call fcn.004161c5
push esi
mov ecx, edi
call fcn.004188a8
pop edi
pop esi
ret 4
Function at 0x416776
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
mov dword [ebp - 4], ecx
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80b]
mov byte [ebp - 0x80c], bl
mov esi, SysReAllocStringLen
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push esi
lea eax, [ebp - 0x80c]
push 0x800
push eax
push 0x40a470
push 0x40a468
mov dword [ebp - 0xc], 0x104
call fcn.0042499c
add esp, 0x14
test eax, eax
je 0x4167e0
lea edi, [ebp - 0x80c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x416818
lea eax, [ebp - 8]
push eax
push 0x40a43c
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x416818
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push ebx
push ebx
push 0x40a430
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [ebp - 0x80c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x416861
cmp dword [0x474d74], ebx
push ebx
je 0x41684c
mov ecx, dword [ebp - 4]
push 1
push ebx
lea eax, [ebp - 0x80c]
push dword [ebp + 8]
push 2
push eax
call fcn.004164ab
jmp 0x41685c
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x80c]
push ebx
push eax
call fcn.004165e6
push 1
pop eax
jmp 0x416863
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416b12
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45f204
call fcn.0045e9d0
push ecx
push ecx
mov al, byte [ebp - 0xd]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], esi
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call fcn.0042d45a
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 1
call fcn.00422481
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [esi], 0x40189c
mov dword [esi + 0x40], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x3c], edi
call fcn.00417d7d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x418117
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
push esi
push edi
lea eax, [ebp - 8]
mov edi, 0x40a530
push eax
mov esi, SysReAllocStringLen
push edi
push esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x418158
lea eax, [ebp - 8]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x418158
xor eax, eax
jmp 0x4181d4
lea eax, [ebp - 0xc]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
mov esi, 0x40a51c
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41818e
cmp dword [ebp - 4], 1
sete al
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 4], edi
sete al
mov dword [ebp - 4], eax
jmp 0x418195
mov dword [ebp - 4], 1
cmp dword [ebp + 8], edi
je 0x4181a5
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4181d1
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push 4
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0042678d
mov ecx, 0x498a78
call fcn.0041cb9f
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret 4

Function at 0x418700
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x45f2bc
call fcn.0045e9d0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x418833
mov eax, dword [0x460a7c]
xor ebx, ebx
cmp eax, 3
je 0x418745
cmp dword [0x474df0], ebx
je 0x418833
cmp eax, 1
jne 0x418833
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x418833
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x418833
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
jbe 0x418833
mov edi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 7
push 0x40a5b4
push dword [esi + 8]
call edi
add esp, 0xc
test eax, eax
je 0x41879b
push 8
push 0x40a5a0
push dword [esi + 8]
call edi
add esp, 0xc
test eax, eax
jne 0x418833
push dword [esi + 8]
lea ecx, [ebp + 8]
call fcn.00414932
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x40a158
push 0x7ff
push 0x463a5c
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
xor eax, eax
cmp dword [0x498a0c], ebx
je 0x4187db
cmp dword [0x498a10], ebx
push 1
pop eax
je 0x4187db
xor eax, eax
xor ecx, ecx
cmp eax, ebx
push ebx
push ebx
sete cl
push ebx
inc ecx
push 1
push ecx
mov dword [0x498a0c], ebx
mov dword [0x498a10], ebx
push dword [esi + 8]
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.0041644e
mov byte [0x463a5c], bl
mov eax, dword [esi + 0x20008]
cmp eax, ebx
je 0x41881b
push dword [eax + 8]
call fcn.00448f9e
pop ecx
push ebx
mov ecx, 0x460a70
call fcn.0041206f
lea ecx, [ebp + 8]
call fcn.00412266
push 1
pop eax
jmp 0x418835
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41a0f6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.0045e9a0
push esi
mov esi, ecx
mov eax, dword [esi + 0x20008]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41a1bd
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x78]
cmp dword [ebp - 4], 0
je 0x41a147
lea eax, [ebp - 0x804]
push 0x800
push eax
push dword [ebp - 4]
call fcn.0042523f
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 8], 0
je 0x41a17f
mov eax, dword [esi + 0x20008]
mov ecx, esi
push dword [eax + 0x10]
call fcn.00419a18
test eax, eax
jne 0x41a1bd
push 0x10
push 0x40a37c
push 0x9d
call fcn.004252ac
pop ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41a1bd
lea eax, [ebp - 0x804]
push eax
push 0x40a7e8
lea eax, [ebp - 0x1804]
push 0x1000
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
mov eax, 0x460a68
push 5
push eax
push eax
lea eax, [ebp - 0x1804]
push eax
push 0x40a7e0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
leave
ret 4

Function at 0x41a1c2
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push eax
mov esi, 0x104
push 0x40a834
mov dword [ebp - 8], ecx
push SysReAllocStringLen
mov dword [ebp - 0xc], esi
call edi
test eax, eax
je 0x41a20b
lea eax, [ebp - 0x10]
push eax
push 0x40a810
push SysReAllocStringLen
call edi
test eax, eax
jne 0x41a2bc
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push 0x460a68
push dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], ebx
lea esi, [ebp - 0x114]
jbe 0x41a2bc
cmp byte [ebp - 0x114], 0x22
jne 0x41a24e
lea esi, [ebp - 0x113]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, ebx
pop ecx
je 0x41a25f
mov byte [eax], bl
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
mov eax, dword [eax + 0x20008]
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
cmp dword [ebp - 4], ebx
je 0x41a29a
lea eax, [ebp - 0x914]
push 0x800
push eax
push dword [ebp - 4]
call fcn.0042523f
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 5
lea eax, [ebp - 0x914]
push ebx
push eax
push esi
push 0x40a7e0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x41a2c6
mov ecx, dword [ebp - 8]
push 2
call fcn.00418059
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41abee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
push esi
push ebx
call fcn.0041ab87
mov eax, esi
add esp, 0xc
cdq
sub eax, edx
xor edi, edi
mov esi, eax
mov eax, dword [ebp + 0xc]
sar esi, 1
test esi, esi
mov dword [ebp + 8], eax
jle 0x41ac3e
lea eax, [ebp + 8]
push eax
call fcn.0041abd2
add al, 0x11
pop ecx
xor al, byte [edi + ebx]
xor al, 2
mov byte [edi + ebx], al
inc edi
cmp edi, esi
jl 0x41ac25
and byte [esi + ebx], 0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41ae9a
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push 0
push edi
call dword [sym.imp.GDI32.dll_GetClipRgn]
mov ebx, dword [sym.imp.GDI32.dll_SelectClipRgn]
push 0
push edi
mov dword [ebp - 0x14], eax
call ebx
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
neg eax
push eax
mov eax, dword [ebp - 0x24]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
push dword [ebp - 8]
push edi
call fcn.0041ad2c
mov eax, dword [ebp - 8]
neg eax
push eax
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x20]
push dword [ebp - 4]
add eax, 0x16
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.0041afe6
mov eax, dword [ebp - 0x18]
push 0xcc0020
sub eax, dword [ebp - 0x20]
push 0
push 0
push dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 8]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x14]
push edi
call ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41afe6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0xc], eax
push eax
call ebx
push 0xcc0020
push 0x16
xor edi, edi
push 0x16
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push edi
push edi
push dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 4]
push dword [ebp + 0xc]
call ebx
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0041ac98
push edi
push 1
push dword [ebp + 8]
mov ecx, esi
call fcn.0041ac98
push edi
push 2
push dword [ebp + 8]
mov ecx, esi
call fcn.0041ac98
push edi
push 3
push dword [ebp + 8]
mov ecx, esi
call fcn.0041ac98
push edi
push 4
push dword [ebp + 8]
mov ecx, esi
call fcn.0041ac98
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x41b0bf
mov ecx, esi
call fcn.0041b628
cmp eax, 0xffffffff
je 0x41b0bf
push 2
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0041ac98
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
push edi
push edi
push 0x7f
mov dword [ebp + 0xc], eax
push dword [esi + 4]
mov dword [ebp - 4], 0x10
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, edi
je 0x41b105
push 3
push edi
push edi
push 0x10
push 0x10
push eax
xor eax, eax
cmp dword [ebp + 0xc], edi
setne al
inc eax
inc eax
push eax
push 2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
dec eax
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
lea eax, [edi + eax + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x60]
sub eax, 0xc
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [0x478974]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x477d24]
push dword [ebp + 8]
call ebx
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x24]
add esi, 0x70
push 0x48824
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41b1f9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov eax, 0x4613e4
push edi
mov edi, dword [esp + 0xc]
push eax
push eax
mov esi, ecx
push edi
call fcn.004266b1
add esp, 0xc
lea eax, [esi + 0x70]
push 0x800
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 1
mov ecx, esi
call fcn.0041b17f
push 0
push 0
push edi
mov dword [esi + 4], edi
call dword [sym.imp.USER32.dll_SetWindowRgn]
pop edi
pop esi
ret 4
Function at 0x41b962
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
push ebx
xor ebx, ebx
push edi
push ebx
push dword [0x536190]
mov dword [ebp - 0x14], ecx
push 0x1000
push dword [ebp + 8]
push 0x12
push 0x36
push ebx
push ebx
push 0x5600b94c
push ebx
push 0x40a91c
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x41b9a9
xor eax, eax
jmp 0x41bab7
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x14
push 0x41e
push edi
call esi
push 0xa000a
push ebx
push 0x420
push edi
call esi
push ebx
push ebx
push 0x421
push edi
call esi
lea eax, [ebp - 0x368]
mov dword [ebp - 8], 1
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
sub dword [ebp - 8], eax
mov byte [ebp + 8], 0x10
mov byte [ebp + 9], 0x10
mov byte [ebp + 0xa], 0x10
mov dword [ebp - 0x20], 0x44d
mov dword [ebp - 0x1c], 0x43d
mov dword [ebp - 0x18], 0x43b
lea edi, [ebp - 0x5c]
cmp ebx, 2
mov dword [edi], ebx
jl 0x41ba25
mov eax, dword [ebp - 8]
add eax, ebx
lea eax, [ebp + eax + 8]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + ebx + 8]
mov eax, dword [eax]
mov dword [edi + 4], eax
mov byte [edi + 8], 4
mov byte [edi + 9], cl
and dword [edi + 0xc], 0
test eax, eax
je 0x41ba5d
push 0x104
push dword [ebp - 4]
push eax
push dword [0x536190]
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp - 4]
mov dword [edi + 0x10], eax
jmp 0x41ba61
and dword [edi + 0x10], 0
add dword [ebp - 0xc], 4
add dword [ebp - 4], 0x104
inc ebx
add edi, 0x14
cmp ebx, 3
jl 0x41ba13
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push 1
mov ecx, ebx
mov dword [ebx + 0xa1c], edi
call fcn.0041b835
lea eax, [ebp - 0x5c]
push eax
push 3
push 0x414
push edi
call esi
push 8
push 0
push 0x454
push edi
call esi
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.0041c9b2
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x41c4e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, ecx
jl 0x41c4f5
cmp edi, dword [esi + 0xa10]
jl 0x41c4f7
xor edi, edi
mov eax, dword [esi + 0xa14]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [eax + eax*4]
shl eax, 5
and dword [eax + esi + 0x90], 0
mov eax, dword [esi + 0xa14]
lea eax, [eax + eax*4]
shl eax, 5
mov eax, dword [eax + esi + 0xa4]
test eax, eax
je 0x41c52d
push 0
push eax
call ebx
lea eax, [edi + edi*4]
mov dword [esi + 0xa14], edi
shl eax, 5
mov dword [eax + esi + 0x90], 1
mov eax, dword [esi + 0xa14]
lea ecx, [eax + eax*4]
shl ecx, 5
cmp dword [ecx + esi + 0xa4], 0
jne 0x41c575
push eax
mov ecx, esi
call fcn.0041c3b1
mov ecx, dword [esi + 0xa14]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + esi + 0xa4], eax
mov ecx, esi
call fcn.0041bd5d
mov eax, dword [esi + 0xa14]
push 5
lea eax, [eax + eax*4]
shl eax, 5
push dword [eax + esi + 0xa4]
call ebx
mov eax, dword [esi + 0xa14]
mov ecx, esi
mov dword [0x476674], eax
call fcn.0041c90c
pop edi
pop esi
pop ebx
ret 4