joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bd3c
Capabilities:
Query environment variable

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004634e0
push dword [esp + 0x1c]
call fcn.00422790
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.00422000
push edx
call main
pop edx
push eax
push edx
call main
pop edx
push eax
push 0x3e8
call fcn.00460d60
call fcn.00463470
lea eax, [esp + 8]
push eax
call fcn.004633e0
push 0x3e8
mov eax, dword [esp + 8]
push eax
mov eax, str.WINDIR
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov edx, 0x4bc050
lea ecx, [esp + 8]
call fcn.00422008
push edx
call main
pop edx
push eax
push 0xe
mov edx, dword [esp + 0xc]
push edx
call main
pop edx
push eax
push edx
call fcn.00463380
mov edx, str.System32
push edx
call fcn.00463380
call fcn.00463470
push edx
call main
pop edx
push eax
mov edx, 0x4bfcca
push edx
call fcn.00463380
mov edx, dword [esp + 0x10]
push edx
call fcn.00463380
call fcn.00463470
mov edx, dword [esp + 0x14]
push edx
call main
pop edx
push eax
push edx
call fcn.00463380
mov edx, str.System32cmd.exe
push edx
call fcn.00463380
call fcn.00422772
add dword [esp], edx
call fcn.00422772
add dword [esp + 4], edx
call fcn.00422772
add dword [esp + 8], edx
call fcn.0043e616
call fcn.00422790
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x41beca
push dword [esp + 0xc]
call fcn.0043eb74
and eax, eax
je 0x41bec1
push dword [esp + 0xc]
call fcn.0043ebbb
and eax, eax
je 0x41bebf
mov edx, dword [esp + 8]
push edx
call main
pop edx
push eax
push edx
call fcn.00463380
push edx
call main
pop edx
push eax
push edx
call main
pop edx
push eax
push edx
call main
pop edx
push eax
push 0x18
push dword [esp + 0x20]
call fcn.0043ebe1
call fcn.00422772
add dword [esp], edx
call fcn.0040e87a
pop eax
mov edx, 0x4c8214
push edx
call fcn.00463380
lea eax, [esp + 0xc]
push eax
call fcn.004633e0
jmp 0x41be4a
push dword [esp + 0xc]
call fcn.0043ec4c
mov edx, dword [esp + 8]
push edx
call main
pop edx
push eax
push edx
call fcn.00463380
pop eax
push eax
call fcn.00422760
pop edx
add eax, edx
jmp 0x41bef2
push dword [esp]
call fcn.00463570
push dword [esp + 4]
call fcn.00463570
push dword [esp + 8]
call fcn.00463570
add esp, 0x10
pop ebx
ret 4
Function at 0x423171
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.00423015
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x62d5c0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x62c30c]
jmp 0x4231a2
cmp dword [esi + 0xc], edi
je 0x4231a8
mov esi, dword [esi]
test esi, esi
jne 0x42319b
jmp 0x4231c0
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x62c30c
call fcn.00463226
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4

Function at 0x4231cd
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x423265
push edi
push 0x62d5c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x62c30c]
test edi, edi
je 0x423239
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x423232
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x62c30c
call fcn.00463226
pop ecx
pop ecx
jmp 0x423234
mov edi, dword [edi]
test edi, edi
jne 0x423209
pop ebx
mov eax, dword [0x627fa8]
mov esi, eax
inc eax
push 0x10
push 0x62c30c
mov dword [0x627fa8], eax
call fcn.00463266
pop ecx
pop ecx
push 0x62d5c0
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x4237b1
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x62c314]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.00462af7
mov esi, eax
test esi, esi
je 0x423946
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x42385b
push ebx
call fcn.00423b21
jmp 0x4237f3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x4237eb
push dword [esi + 0x14]
call fcn.00423f2b
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.0042373c
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x423960
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x423838
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x423849
push dword [esp + 0x20]
push ebx
call fcn.00423bf5
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x4238fb
test byte [esp + 0x1c], 1
je 0x42386a
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x423905
push esi
call fcn.004235ae
lea eax, [esi + 4]
push 0x10
push eax
call fcn.00463266
pop ecx
pop ecx
mov ecx, dword [0x62c328]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x423946
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov byte [edi + 5], al
mov byte [edi + 4], 1
mov eax, dword [esp + 0x18]
push dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [esp + 0x18]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [esp + 0x20], 0xffffffff
je 0x4238e6
push edi
push dword [esp + 0x24]
push ebx
call fcn.00423b55
jmp 0x4238f3
mov eax, dword [esp + 0x18]
push dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x30]
jmp 0x423946
mov eax, dword [ecx]
push ecx
call dword [eax + 0x48]
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [esp + 0x20], 0xffffffff
je 0x423927
push dword [esp + 0x20]
push ebx
call fcn.00423bf5
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebx
push ebp
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x423946
xor edi, edi
mov byte [esi + 0x1c], 1
inc edi
mov byte [esi + 0x1e], bl
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x42406b
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4240c0
push dword [esp + 0x10]
push 0x423fea
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x62c35c]
test esi, esi
je 0x424119
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4240b8
cmp byte [esi + 0x10], 0
je 0x4240b8
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x424094
jmp 0x424119
mov esi, dword [0x62c35c]
test esi, esi
je 0x424119
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x424112
cmp byte [esi + 0x11], 0
je 0x4240ee
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x424105
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x62c35c
call fcn.00463226
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4240cd
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x43e3f1
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x62d920]
call fcn.0046284b
mov ebp, eax
or ebx, 0xffffffff
xor eax, eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
movzx edx, word [eax]
test dx, dx
je 0x43e4f1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x43e447
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x43e43f
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x43e487
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x43e4c9
push 0x22
pop edx
cmp cx, dx
je 0x43e479
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x43e469
xor ecx, ecx
cmp word [eax], cx
je 0x43e4c9
mov ecx, eax
add eax, 2
jmp 0x43e4cb
test dx, dx
je 0x43e4d1
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x43e479
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x43e4bf
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x43e4c9
cmp cx, dx
je 0x43e4bc
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x43e4ac
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x43e491
jmp 0x43e479
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x43e4d3
xor edx, edx
cmp dword [ebp], ebx
jne 0x43e4dc
test edi, edi
jne 0x43e4f9
test edx, edx
je 0x43e4e1
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x43e435
test edi, edi
jne 0x43e50a
mov eax, ebx
jmp 0x43e50e
test esi, esi
je 0x43e50a
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x43e50e
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x43ecdf
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, eax
cmp dword [esp + 0x24], 0x18
je 0x43ed8e
cmp dword [esp + 0x24], 2
je 0x43ed8e
push 0x2000
push edi
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
jmp 0x43ed61
cmp dword [esp + 0x18], 2
jne 0x43ed79
test ebx, ebx
jne 0x43ed4a
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x43ed79
cmp ax, 0xd
je 0x43ed61
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call ebp
test eax, eax
jne 0x43ed21
push dword [esp + 0x28]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.00498d30
jmp 0x43ee14
push eax
push 0
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
jmp 0x43ede0
cmp dword [esp + 0x18], 1
jne 0x43edf8
test ebx, ebx
jne 0x43edcf
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x43edf8
cmp al, 0xd
je 0x43ede0
mov byte [esi + edi], al
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call ebp
test eax, eax
jne 0x43eda7
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x28]
mov byte [esi + edi], 0
push esi
jne 0x43ee0f
call fcn.00498d80
jmp 0x43ee14
call fcn.00498cd0
push esi
push 0
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43fbd7
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x43fb26
push 0x10
push 0x2c
call fcn.00462bca
push 0
push 0
push 8
mov dword [0x62c378], eax
call fcn.004628b6
cmp word [0x62c370], 0
mov dword [0x62d948], eax
jne 0x43fcbc
push edi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x43fc2f
mov word [0x62c370], di
jmp 0x43fc37
xor eax, eax
mov word [0x62c370], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x62c38c], eax
test eax, eax
je 0x43fcbb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x62c38c]
mov dword [0x62c37c], eax
call esi
push str.getnameinfo
push dword [0x62c38c]
mov dword [0x62c380], eax
call esi
push str.WSAStringToAddressA
push dword [0x62c38c]
mov dword [0x62c384], eax
call esi
cmp dword [0x62c37c], 0
mov dword [0x62c388], eax
pop esi
je 0x43fcbb
cmp dword [0x62c380], 0
je 0x43fcbb
cmp dword [0x62c384], 0
je 0x43fcbb
test eax, eax
je 0x43fcbb
mov dword [0x62c374], edi
pop edi
add esp, 0x190
ret

Function at 0x440690
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62c394], 0
jne 0x44069e
call fcn.00440630
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x62c398]
call esi
test eax, eax
jne 0x4406c1
call fcn.00440630
push dword [0x62c398]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x4406d0
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x440730
mov ebx, 0x10
test edi, edi
jns 0x440739
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x440702
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x442350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 1
call edi
mov ebx, 0x8000
test bx, ax
je 0x44236a
inc esi
push 2
call edi
test bx, ax
je 0x442376
or esi, 2
push 4
call edi
test bx, ax
je 0x442382
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x442964
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x44299c
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
test byte [edi + 0x14], 8
je 0x442a81
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x442a81
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
sub ebp, dword [esp + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x442aaf
test ebp, ebp
jle 0x442aaf
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x442aaf
push ebp
push dword [esp + 0x2c]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x442a78
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x442a22
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x442a37
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x3c]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x442aaf
cmp dword [edi + 0x10], ebx
je 0x442a9b
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x442aaf
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [esp + 0x10], 0
je 0x442abf
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x442ac7
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.00448bd8
push eax
call fcn.00449f26
push dword [0x62c404]
mov dword [esp + 0x24], eax
call fcn.00462ca1
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
mov edi, 0x8000
test di, ax
je 0x442b3b
inc ebx
push 0x12
call esi
test di, ax
je 0x442b47
or ebx, 2
push 0x11
call esi
test di, ax
je 0x442b53
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00442350
push 0x442ba8
push ebp
push dword [esp + 0x2c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0x20]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
push 0x332c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], eax
call fcn.0044d98f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x44590e
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x62d968]
call fcn.0046284b
xor ebx, ebx
mov ebp, eax
cmp dword [0x62c9d8], ebx
jne 0x4459a2
mov esi, 0xa4
push esi
push ebx
push 0x62c9e0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x62c9e4], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x62c9e0], 0xa
mov dword [0x62c9e8], 0x4454a3
push 0x7f89
push ebx
mov dword [0x62ca58], 0x448df9
mov dword [0x62ca5c], 0x448dd3
mov dword [0x62c9ec], 0x4454c2
mov dword [0x62ca70], 0x4454e2
call esi
mov dword [0x62c9d8], eax
test eax, eax
jne 0x4459a2
push 0x7f00
push ebx
call esi
mov dword [0x62c9d8], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0044e910
push ebx
push dword [0x62bb10]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x445a6e
push edi
push dword [esp + 0x14]
push dword [0x62d5ac]
call fcn.00462b36
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x62bb0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x62c9e0
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.00448c07
push 0x4455c8
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x4481ee
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x62d968]
call fcn.0046284b
xor ebp, ebp
mov esi, eax
cmp dword [0x62cca0], ebp
jne 0x4482ca
xor ebx, ebx
inc ebx
mov dword [0x62cca0], ebx
call fcn.00448e8a
mov edi, 0xa4
push edi
push ebp
push 0x62cca8
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x62cca8], 0x13
lea eax, [esp + 0x10]
mov dword [0x62ccac], edi
mov dword [0x62ccb8], 0x448139
mov dword [0x62ccbc], 0x448484
push eax
mov dword [0x62cd10], 0x448114
mov dword [0x62cd14], 0x4483cf
mov dword [0x62ccb4], 0x4480ef
mov dword [0x62cd38], 0x448154
mov dword [0x62cd4c], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4482ca
cmp dword [esp + 0x20], ebx
je 0x4482b2
cmp dword [esp + 0x20], 2
jne 0x4482ca
cmp dword [esp + 0x14], 5
jae 0x4482ba
mov dword [0x62cd4c], ebp
jmp 0x4482ca
jne 0x4482ca
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x62cd4c], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.0044e910
mov eax, dword [esp + 0x140]
push ebp
push dword [0x62bb10]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x4483a0
push dword [esp + 0x128]
push dword [0x62d5ac]
call fcn.00462b36
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x44836f
push edi
call fcn.0045b2ca
test eax, eax
je 0x44836f
push ebp
push ebp
push edi
call fcn.0045af14
mov dword [esi + 0x18], eax
jmp 0x448372
mov dword [esi + 0x18], ebp
push 0x447e3e
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x62cca8
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x62cca4], eax
call fcn.00448c07
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c

Function at 0x44854d
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x62d5ac]
call fcn.00462af7
mov ebx, eax
test ebx, ebx
je 0x4485b1
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x448576
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4485b1
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.00463a90
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.00463ba0
pop edi
pop esi
pop ebx
ret 8