joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f707a
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x4f70dc
cmp word [esi], di
je 0x4f70dc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00555bb0
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.00555dc0
add esp, 0x10
test eax, eax
jne 0x4f70db
push 0x24
push 8
push dword [0x6c3550]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], edi
mov edi, ecx
mov dword [ecx], ebx
mov dword [ecx + 8], 1
mov dword [ecx + 0x20], eax
mov dword [eax + 4], ecx
pop ebx
mov eax, edi
pop edi
pop esi
ret 0x10

Function at 0x4f7af7
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x4f7a46
push 0x10
push 0x2c
call fcn.0052e964
push 0
push 0
push 8
mov dword [0x6c4024], eax
call fcn.0052e28e
cmp word [0x6c401c], 0
mov dword [0x6c8fac], eax
jne 0x4f7bdc
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 0x4f7b4f
mov word [0x6c401c], di
jmp 0x4f7b57
xor eax, eax
mov word [0x6c401c], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6c4038], eax
test eax, eax
je 0x4f7bdb
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x6c4038]
mov dword [0x6c4028], eax
call esi
push str.getnameinfo
push dword [0x6c4038]
mov dword [0x6c402c], eax
call esi
push str.WSAStringToAddressA
push dword [0x6c4038]
mov dword [0x6c4030], eax
call esi
cmp dword [0x6c4028], 0
mov dword [0x6c4034], eax
pop esi
je 0x4f7bdb
cmp dword [0x6c402c], 0
je 0x4f7bdb
cmp dword [0x6c4030], 0
je 0x4f7bdb
test eax, eax
je 0x4f7bdb
mov dword [0x6c4020], edi
pop edi
add esp, 0x190
ret

Function at 0x4f98fa
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
mov ebp, edi
test eax, eax
je 0x4f9995
cmp word [eax], di
je 0x4f9995
push esi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f9990
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push edi
push dword [0x6c3550]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4f9988
push ebp
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], ebx
jne 0x4f9979
push dword [esp + 0x1c]
push ebx
push edi
push dword [esp + 0x20]
call fcn.004fa773
mov ebp, eax
push edi
push 0
push dword [0x6c3550]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, ebp
pop esi
jmp 0x4f9997
xor eax, eax
pop edi
pop ebp
ret 0xc
Function at 0x4fc560
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 0x4fc57a
inc esi
push 2
call edi
test bx, ax
je 0x4fc586
or esi, 2
push 4
call edi
test bx, ax
je 0x4fc592
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4fc9d9
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.00513b28
push eax
call fcn.005163ee
push dword [0x6c411c]
mov dword [esp + 0x24], eax
call fcn.0052e3e4
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 0x4fca4d
inc ebx
push 0x12
call esi
test di, ax
je 0x4fca59
or ebx, 2
push 0x11
call esi
test di, ax
je 0x4fca65
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.004fc560
push 0x4fcaba
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.005187b2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x4fcfb0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x4fcfec
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x4fd340
Capabilities:
Write file on windows

Disassembly:
push dword [esp + 4]
push dword [0x6c8fd8]
call fcn.0052e8bb
test eax, eax
je case.0x4fd36e.3
mov ecx, dword [esp + 8]
add ecx, 0xfffffffe
cmp ecx, 0x17
ja case.0x4fd36e.3
movzx ecx, byte [ecx + 0x4fd478]
jmp dword [ecx*4 + 0x4fd460]
cmp dword [eax + 4], 0
je 0x4fd38b
push 2
push 0x5de6c8
push eax
call fcn.004fd610
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x5de6c8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x4fd3ba
push 3
push 0x5ddeb0
push eax
call fcn.004fd610
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 3
push 0x5ddeb0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x4fd3e9
push 2
push 0x5de6cc
push eax
call fcn.004fd610
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 2
push 0x5de6cc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x4fd418
push 4
push 0x5de6d0
push eax
call fcn.004fd610
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x5de6d0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8
cmp dword [eax + 4], 0
je 0x4fd447
push 4
push 0x5de6d8
push eax
call fcn.004fd610
ret 8
push 0
lea ecx, [esp + 8]
push ecx
push 4
push 0x5de6d8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x4fd490
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0
test esi, esi
je 0x4fd4f5
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4fd4ed
push dword [esp + 0x10]
push dword [0x6c8fd8]
call fcn.0052e8bb
test eax, eax
je 0x4fd4e3
cmp dword [eax + 4], 0
je 0x4fd4d2
push edi
push esi
push eax
call fcn.004fd610
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
xor eax, eax
pop esi
pop ecx
ret 0xc
Function at 0x4fd500
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x4fd608
cmp word [edx], 0
je 0x4fd608
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x4fd52e
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x4fd58d
cmp dword [esi + 4], 0
mov ecx, edx
lea edi, [ecx + 2]
je 0x4fd560
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fd540
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.004fd610
pop edi
pop esi
pop ecx
ret 0xc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fd560
sub ecx, edi
lea eax, [esp + 8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
cmp ecx, 2
lea ecx, [esp + 0x14]
setne al
push ecx
dec eax
and eax, 0xfde9
push edx
push eax
call fcn.004fd720
mov edi, eax
test edi, edi
je 0x4fd583
cmp dword [esi + 4], 0
je 0x4fd5db
push dword [esp + 0x14]
push edi
push esi
call fcn.004fd610
push edi
push 0
push dword [0x6c3550]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x6c3550]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc
Function at 0x4fd610
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 4], 0
cmp dword [esi + 0x1c], 0
jne 0x4fd717
cmp dword [esi + 0x14], 1
jne 0x4fd65b
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0xc]
push 1
neg eax
cdq
push ecx
push eax
push dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esp + 0x20]
cmp eax, edi
jle 0x4fd6d8
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
sub ecx, eax
mov eax, edi
dec eax
je 0x4fd6c3
dec eax
je 0x4fd6ac
sub eax, 2
je 0x4fd697
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ecx], ax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx], al
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
push esi
call fcn.004fcfb0
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x4fd705
push 0
lea eax, [esp + 0xc]
push eax
push edi
push dword [esp + 0x28]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
push edi
push dword [esp + 0x20]
add ecx, eax
jmp 0x4fd681
xor eax, eax
pop esi
add esp, 0xc
ret 0xc

Function at 0x4ff2ea
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 0x4ff304
inc esi
push 2
call edi
test bx, ax
je 0x4ff310
or esi, 2
push 4
call edi
test bx, ax
je 0x4ff31c
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4ff8b2
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x4ff8ea
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.00513d14
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x4ff9db
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x4ff9db
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x4ffa09
test ebp, ebp
jle 0x4ffa09
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x4ffa09
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4ff9d2
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x4ff97c
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 0x4ff991
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
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 + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4ffa09
cmp dword [edi + 0x10], ebx
je 0x4ff9f5
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 0x4ffa09
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.00513cf2
cmp dword [esp + 0x10], 0
je 0x4ffa23
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4ffa2b
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.00513b28
push eax
call fcn.005163ee
push dword [0x6c420c]
mov dword [esp + 0x24], eax
call fcn.0052e3e4
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 0x4ffa9f
inc ebx
push 0x12
call esi
test di, ax
je 0x4ffaab
or ebx, 2
push 0x11
call esi
test di, ax
je 0x4ffab7
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.004ff2ea
push 0x4ffb0c
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.005187b2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x50045b
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x6c8ed4]
call fcn.0052e8bb
mov ebx, eax
test ebx, ebx
je 0x5004bf
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x500484
push dword [esp + 0xc]
push ebx
call eax
jmp 0x5004bf
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.0052eec0
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.0052ef90
pop edi
pop esi
pop ebx
ret 8

Function at 0x502b88
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x502bfa
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x502bb1
mov ebx, eax
push dword [ebp]
call fcn.0050230a
push ebx
push dword [ebp]
mov edi, eax
call fcn.005022e1
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [ebp]
call fcn.00502c1a
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x503839
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
push edi
push dword [0x6c8ed8]
call fcn.0052e287
cmp dword [0x6c4710], 0
mov edi, eax
mov esi, 0x50010000
jne 0x5039a1
mov ebx, 0xa4
push ebx
push 0
push 0x6c4718
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6c4718], 0x1b
mov dword [0x6c471c], ebx
mov dword [0x6c4720], 0x5031a9
mov dword [0x6c4724], 0x5034ee
mov dword [0x6c473c], 0x502f26
mov dword [0x6c474c], 0x5034e4
mov dword [0x6c4744], 0x50348f
mov dword [0x6c4740], 0x503b20
mov dword [0x6c472c], 0x504007
mov dword [0x6c4728], 0x503735
mov dword [0x6c4730], 0x50377f
mov dword [0x6c4734], 0x504038
mov dword [0x6c4758], 0x5036ac
mov dword [0x6c475c], 0x503fc0
mov dword [0x6c4750], 0x50361b
mov dword [0x6c4754], 0x503e6d
mov dword [0x6c4790], 0x503cba
mov dword [0x6c4794], 0x503533
mov dword [0x6c4798], 0x503d0d
mov dword [0x6c479c], 0x5035bf
mov dword [0x6c47a0], 0x503d7f
mov dword [0x6c47a4], 0x5035f9
mov dword [0x6c4788], 0x50358e
mov dword [0x6c47b8], 0x503da1
call fcn.00513989
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x503997
cmp dword [esp + 0x24], 2
jne 0x503997
cmp dword [esp + 0x18], 6
jb 0x503997
mov eax, dword [0x6c41f8]
mov dword [0x6c4714], eax
mov dword [0x6c4710], 1
test byte [esp + 0x140], 2
jne 0x5039b0
mov esi, 0x50010002
test byte [esp + 0x140], 1
jne 0x5039bd
or esi, 5
test byte [esp + 0x140], 0x20
je 0x5039ca
or esi, 0x20
push 0x1f4
push 0
push dword [0x6c3550]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.00519488
test ebp, ebp
je 0x503b0d
push 0
push dword [0x6c3554]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push esi
push 0
push str.SysTreeView32
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x503b11
push dword [esp + 0x12c]
push dword [0x6c8ed4]
call fcn.0052e8e3
push 0x504081
push 0xfffffffffffffffc
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push 4
push 0x112c
push ebx
mov dword [0x6c47bc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x6c4718
push ebx
push edi
push dword [esp + 0x138]
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], 0x19
call fcn.00513b57
mov ebx, eax
mov eax, 0x100
test dword [esp + 0x140], eax
je 0x503b11
or esi, eax
push esi
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test dword [esp + 0x140], 0x10000
je 0x503b11
call fcn.005160cf
cmp eax, 0x3c
jg 0x503ae0
push edi
call fcn.005033cb
pop ecx
push 0
push 2
push 0x1108
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x503afd
push eax
push dword [edi]
call fcn.0051440c
push edi
push str.PB_3State
push dword [edi]
call dword [sym.imp.USER32.dll_SetPropW]
jmp 0x503b11
mov ebx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x118
ret 0x18
Function at 0x505415
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x6c8ed8]
call fcn.0052e287
xor ebp, ebp
mov esi, eax
cmp dword [0x6c4920], ebp
jne 0x5054f1
xor ebx, ebx
inc ebx
mov dword [0x6c4920], ebx
call fcn.00513989
mov edi, 0xa4
push edi
push ebp
push 0x6c4928
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6c4928], 0x13
lea eax, [esp + 0x10]
mov dword [0x6c492c], edi
mov dword [0x6c4938], 0x505360
mov dword [0x6c493c], 0x5056ab
push eax
mov dword [0x6c4990], 0x50533b
mov dword [0x6c4994], 0x5055f6
mov dword [0x6c4934], 0x505316
mov dword [0x6c49b8], 0x50537b
mov dword [0x6c49cc], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x5054f1
cmp dword [esp + 0x20], ebx
je 0x5054d9
cmp dword [esp + 0x20], 2
jne 0x5054f1
cmp dword [esp + 0x14], 5
jae 0x5054e1
mov dword [0x6c49cc], ebp
jmp 0x5054f1
jne 0x5054f1
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x6c49cc], 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.00519488
mov eax, dword [esp + 0x140]
push ebp
push dword [0x6c3554]
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 0x5055c7
push dword [esp + 0x128]
push dword [0x6c8ed4]
call fcn.0052e8e3
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x505596
push edi
call fcn.0052521d
test eax, eax
je 0x505596
push ebp
push ebp
push edi
call fcn.00524e67
mov dword [esi + 0x18], eax
jmp 0x505599
mov dword [esi + 0x18], ebp
push 0x505065
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x6c4928
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x6c4924], eax
call fcn.00513b57
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x50789d
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x6c8ed8]
call fcn.0052e287
xor ebx, ebx
mov ebp, eax
cmp dword [0x6c4c00], ebx
jne 0x507931
mov esi, 0xa4
push esi
push ebx
push 0x6c4c08
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6c4c0c], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x6c4c08], 0xa
mov dword [0x6c4c10], 0x507432
push 0x7f89
push ebx
mov dword [0x6c4c80], 0x513e5b
mov dword [0x6c4c84], 0x513e35
mov dword [0x6c4c14], 0x507451
mov dword [0x6c4c98], 0x507471
call esi
mov dword [0x6c4c00], eax
test eax, eax
jne 0x507931
push 0x7f00
push ebx
call esi
mov dword [0x6c4c00], 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.00519488
push ebx
push dword [0x6c3554]
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 0x5079fd
push edi
push dword [esp + 0x14]
push dword [0x6c8ed4]
call fcn.0052e8e3
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 [0x6c3550]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x6c4c08
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.00513b57
push 0x507557
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