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

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004644e0
push dword [esp + 0x1c]
call fcn.00423790
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.00423000
push edx
call main
pop edx
push eax
push edx
call main
pop edx
push eax
push 0x3e8
call fcn.00461d60
call fcn.00464470
lea eax, [esp + 8]
push eax
call fcn.004643e0
push 0x3e8
mov eax, dword [esp + 8]
push eax
mov eax, str.WINDIR
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov edx, 0x4bd050
lea ecx, [esp + 8]
call fcn.00423008
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.00464380
mov edx, str.System32
push edx
call fcn.00464380
call fcn.00464470
push edx
call main
pop edx
push eax
mov edx, 0x4c0dd2
push edx
call fcn.00464380
mov edx, dword [esp + 0x10]
push edx
call fcn.00464380
call fcn.00464470
mov edx, dword [esp + 0x14]
push edx
call main
pop edx
push eax
push edx
call fcn.00464380
mov edx, str.System32cmd.exe
push edx
call fcn.00464380
call fcn.00423772
add dword [esp], edx
call fcn.00423772
add dword [esp + 4], edx
call fcn.00423772
add dword [esp + 8], edx
call fcn.0043f616
call fcn.00423790
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x41c013
push dword [esp + 0xc]
call fcn.0043fb74
and eax, eax
je 0x41c00a
push dword [esp + 0xc]
call fcn.0043fbbb
and eax, eax
je 0x41c008
mov edx, dword [esp + 8]
push edx
call main
pop edx
push eax
push edx
call fcn.00464380
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.0043fbe1
call fcn.00423772
add dword [esp], edx
call fcn.0040e9c3
pop eax
mov edx, 0x4c937a
push edx
call fcn.00464380
lea eax, [esp + 0xc]
push eax
call fcn.004643e0
jmp 0x41bf93
push dword [esp + 0xc]
call fcn.0043fc4c
mov edx, dword [esp + 8]
push edx
call main
pop edx
push eax
push edx
call fcn.00464380
pop eax
push eax
call fcn.00423760
pop edx
add eax, edx
jmp 0x41c03b
push dword [esp]
call fcn.00464570
push dword [esp + 4]
call fcn.00464570
push dword [esp + 8]
call fcn.00464570
add esp, 0x10
pop ebx
ret 4
Function at 0x424171
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.00424015
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x62de50
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x62cb98]
jmp 0x4241a2
cmp dword [esi + 0xc], edi
je 0x4241a8
mov esi, dword [esi]
test esi, esi
jne 0x42419b
jmp 0x4241c0
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x62cb98
call fcn.00464226
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4

Function at 0x4241cd
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 0x424265
push edi
push 0x62de50
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x62cb98]
test edi, edi
je 0x424239
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x424232
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x62cb98
call fcn.00464226
pop ecx
pop ecx
jmp 0x424234
mov edi, dword [edi]
test edi, edi
jne 0x424209
pop ebx
mov eax, dword [0x628844]
mov esi, eax
inc eax
push 0x10
push 0x62cb98
mov dword [0x628844], eax
call fcn.00464266
pop ecx
pop ecx
push 0x62de50
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 0x4247b1
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x62cba0]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.00463af7
mov esi, eax
test esi, esi
je 0x424946
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x42485b
push ebx
call fcn.00424b21
jmp 0x4247f3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x4247eb
push dword [esi + 0x14]
call fcn.00424f2b
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.0042473c
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x424960
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x424838
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x424849
push dword [esp + 0x20]
push ebx
call fcn.00424bf5
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x4248fb
test byte [esp + 0x1c], 1
je 0x42486a
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x424905
push esi
call fcn.004245ae
lea eax, [esi + 4]
push 0x10
push eax
call fcn.00464266
pop ecx
pop ecx
mov ecx, dword [0x62cbb4]
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 0x424946
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 0x4248e6
push edi
push dword [esp + 0x24]
push ebx
call fcn.00424b55
jmp 0x4248f3
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 0x424946
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 0x424927
push dword [esp + 0x20]
push ebx
call fcn.00424bf5
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 0x424946
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 0x42506b
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4250c0
push dword [esp + 0x10]
push 0x424fea
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x62cbe8]
test esi, esi
je 0x425119
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4250b8
cmp byte [esi + 0x10], 0
je 0x4250b8
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 0x425094
jmp 0x425119
mov esi, dword [0x62cbe8]
test esi, esi
je 0x425119
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 0x425112
cmp byte [esi + 0x11], 0
je 0x4250ee
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x425105
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 0x62cbe8
call fcn.00464226
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4250cd
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x43f3f1
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x62e1b0]
call fcn.0046384b
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 0x43f4f1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x43f447
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x43f43f
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x43f487
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x43f4c9
push 0x22
pop edx
cmp cx, dx
je 0x43f479
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x43f469
xor ecx, ecx
cmp word [eax], cx
je 0x43f4c9
mov ecx, eax
add eax, 2
jmp 0x43f4cb
test dx, dx
je 0x43f4d1
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x43f479
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x43f4bf
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x43f4c9
cmp cx, dx
je 0x43f4bc
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x43f4ac
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x43f491
jmp 0x43f479
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x43f4d3
xor edx, edx
cmp dword [ebp], ebx
jne 0x43f4dc
test edi, edi
jne 0x43f4f9
test edx, edx
je 0x43f4e1
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x43f435
test edi, edi
jne 0x43f50a
mov eax, ebx
jmp 0x43f50e
test esi, esi
je 0x43f50a
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x43f50e
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x43fcdf
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 0x43fd8e
cmp dword [esp + 0x24], 2
je 0x43fd8e
push 0x2000
push edi
push dword [0x62c3a4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
jmp 0x43fd61
cmp dword [esp + 0x18], 2
jne 0x43fd79
test ebx, ebx
jne 0x43fd4a
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x62c3a4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x43fd79
cmp ax, 0xd
je 0x43fd61
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 0x43fd21
push dword [esp + 0x28]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.00499d30
jmp 0x43fe14
push eax
push 0
push dword [0x62c3a4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
jmp 0x43fde0
cmp dword [esp + 0x18], 1
jne 0x43fdf8
test ebx, ebx
jne 0x43fdcf
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x62c3a4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x43fdf8
cmp al, 0xd
je 0x43fde0
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 0x43fda7
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x28]
mov byte [esi + edi], 0
push esi
jne 0x43fe0f
call fcn.00499d80
jmp 0x43fe14
call fcn.00499cd0
push esi
push 0
push dword [0x62c3a4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x440bd7
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x440b26
push 0x10
push 0x2c
call fcn.00463bca
push 0
push 0
push 8
mov dword [0x62cc04], eax
call fcn.004638b6
cmp word [0x62cbfc], 0
mov dword [0x62e1d8], eax
jne 0x440cbc
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 0x440c2f
mov word [0x62cbfc], di
jmp 0x440c37
xor eax, eax
mov word [0x62cbfc], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x62cc18], eax
test eax, eax
je 0x440cbb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x62cc18]
mov dword [0x62cc08], eax
call esi
push str.getnameinfo
push dword [0x62cc18]
mov dword [0x62cc0c], eax
call esi
push str.WSAStringToAddressA
push dword [0x62cc18]
mov dword [0x62cc10], eax
call esi
cmp dword [0x62cc08], 0
mov dword [0x62cc14], eax
pop esi
je 0x440cbb
cmp dword [0x62cc0c], 0
je 0x440cbb
cmp dword [0x62cc10], 0
je 0x440cbb
test eax, eax
je 0x440cbb
mov dword [0x62cc00], edi
pop edi
add esp, 0x190
ret

Function at 0x441690
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62cc20], 0
jne 0x44169e
call fcn.00441630
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x62cc24]
call esi
test eax, eax
jne 0x4416c1
call fcn.00441630
push dword [0x62cc24]
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 0x4416d0
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 0x441730
mov ebx, 0x10
test edi, edi
jns 0x441739
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x441702
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x443350
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 0x44336a
inc esi
push 2
call edi
test bx, ax
je 0x443376
or esi, 2
push 4
call edi
test bx, ax
je 0x443382
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x443964
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 0x44399c
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
test byte [edi + 0x14], 8
je 0x443a81
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x443a81
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 0x443aaf
test ebp, ebp
jle 0x443aaf
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x443aaf
push ebp
push dword [esp + 0x2c]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x443a78
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x443a22
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 0x443a37
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 0x443aaf
cmp dword [edi + 0x10], ebx
je 0x443a9b
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 0x443aaf
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 0x443abf
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 0x443ac7
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.00449bd8
push eax
call fcn.0044af26
push dword [0x62cc94]
mov dword [esp + 0x24], eax
call fcn.00463ca1
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 0x443b3b
inc ebx
push 0x12
call esi
test di, ax
je 0x443b47
or ebx, 2
push 0x11
call esi
test di, ax
je 0x443b53
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00443350
push 0x443ba8
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.0044e98f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x44690e
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x62e1f8]
call fcn.0046384b
xor ebx, ebx
mov ebp, eax
cmp dword [0x62d268], ebx
jne 0x4469a2
mov esi, 0xa4
push esi
push ebx
push 0x62d270
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x62d274], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x62d270], 0xa
mov dword [0x62d278], 0x4464a3
push 0x7f89
push ebx
mov dword [0x62d2e8], 0x449df9
mov dword [0x62d2ec], 0x449dd3
mov dword [0x62d27c], 0x4464c2
mov dword [0x62d300], 0x4464e2
call esi
mov dword [0x62d268], eax
test eax, eax
jne 0x4469a2
push 0x7f00
push ebx
call esi
mov dword [0x62d268], 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.0044f910
push ebx
push dword [0x62c3a8]
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 0x446a6e
push edi
push dword [esp + 0x14]
push dword [0x62de3c]
call fcn.00463b36
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 [0x62c3a4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x62d270
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.00449c07
push 0x4465c8
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 0x4491ee
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x62e1f8]
call fcn.0046384b
xor ebp, ebp
mov esi, eax
cmp dword [0x62d530], ebp
jne 0x4492ca
xor ebx, ebx
inc ebx
mov dword [0x62d530], ebx
call fcn.00449e8a
mov edi, 0xa4
push edi
push ebp
push 0x62d538
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x62d538], 0x13
lea eax, [esp + 0x10]
mov dword [0x62d53c], edi
mov dword [0x62d548], 0x449139
mov dword [0x62d54c], 0x449484
push eax
mov dword [0x62d5a0], 0x449114
mov dword [0x62d5a4], 0x4493cf
mov dword [0x62d544], 0x4490ef
mov dword [0x62d5c8], 0x449154
mov dword [0x62d5dc], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4492ca
cmp dword [esp + 0x20], ebx
je 0x4492b2
cmp dword [esp + 0x20], 2
jne 0x4492ca
cmp dword [esp + 0x14], 5
jae 0x4492ba
mov dword [0x62d5dc], ebp
jmp 0x4492ca
jne 0x4492ca
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x62d5dc], 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.0044f910
mov eax, dword [esp + 0x140]
push ebp
push dword [0x62c3a8]
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 0x4493a0
push dword [esp + 0x128]
push dword [0x62de3c]
call fcn.00463b36
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x44936f
push edi
call fcn.0045c2ca
test eax, eax
je 0x44936f
push ebp
push ebp
push edi
call fcn.0045bf14
mov dword [esi + 0x18], eax
jmp 0x449372
mov dword [esi + 0x18], ebp
push 0x448e3e
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x62d538
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x62d534], eax
call fcn.00449c07
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c

Function at 0x44954d
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x62de3c]
call fcn.00463af7
mov ebx, eax
test ebx, ebx
je 0x4495b1
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x449576
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4495b1
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.00464a90
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.00464ba0
pop edi
pop esi
pop ebx
ret 8