joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493bbd
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x11f18fc]
call fcn.004d1396
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 0x493cbd
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x493c13
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x493c0b
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x493c53
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x493c95
push 0x22
pop edx
cmp cx, dx
je 0x493c45
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x493c35
xor ecx, ecx
cmp word [eax], cx
je 0x493c95
mov ecx, eax
add eax, 2
jmp 0x493c97
test dx, dx
je 0x493c9d
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x493c45
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x493c8b
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x493c95
cmp cx, dx
je 0x493c88
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x493c78
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x493c5d
jmp 0x493c45
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x493c9f
xor edx, edx
cmp dword [ebp], ebx
jne 0x493ca8
test edi, edi
jne 0x493cc5
test edx, edx
je 0x493cad
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x493c01
test edi, edi
jne 0x493cd6
mov eax, ebx
jmp 0x493cda
test esi, esi
je 0x493cd6
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x493cda
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x493d43
Capabilities:
Read file on windows

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x493d97
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x20]
sub eax, esi
push eax
lea eax, [esi + ebp]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x493d85
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x493d91
add esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x18]
jl 0x493d56
jmp 0x493d95
add esi, dword [esp + 0x10]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 0xc
Function at 0x493e36
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x493ef5
cmp dword [esp + 0x24], 2
je 0x493ef5
push 0x2000
push ebp
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
jmp 0x493ec4
cmp dword [esp + 0x18], 2
jne 0x493ee0
cmp dword [esp + 0x28], 0xffffffff
je 0x493e88
cmp ebp, dword [esp + 0x28]
jae 0x493ee0
add ebp, 2
test ebx, ebx
jne 0x493ead
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x493ee0
cmp ax, 0xd
je 0x493ec4
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 dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x493e74
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.0051f910
jmp 0x493f87
push eax
push 0
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x493f13
cmp ebp, dword [esp + 0x28]
jae 0x493f6b
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x493f6b
cmp dword [esp + 0x18], 1
jne 0x493f6b
inc ebp
test ebx, ebx
jne 0x493f58
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x493f6b
cmp al, 0xd
je 0x493f06
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x493f06
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x493f82
call fcn.0051f960
jmp 0x493f87
call fcn.0051f8b0
push esi
push 0
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4941f6
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
push ebp
xor ebp, ebp
push edi
cmp dword [eax + 8], 1
mov edi, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 8], ebp
jne 0x494395
push esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x494394
push ebx
push ebp
push pe_nt_image_headers32
push 3
push ebp
push 7
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x494393
push ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push 0x200000
push ebp
push dword [0x1177d64]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x49438c
call fcn.004e4a60
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x494379
lea eax, [esp + 0x20]
push eax
push esi
call sub.MSVCRT.dll__wstat
push 0x1a4
push edi
call fcn.004e4f30
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004e50b0
mov esi, dword [esp + 0x60]
add esp, 0x18
mov eax, dword [esi + 0x20]
cmp dword [eax + 8], 1
je 0x4942c5
cmp dword [eax + 8], 3
je 0x4942c5
push dword [esp + 0x50]
push edi
call fcn.004e4800
pop ecx
pop ecx
jmp 0x4942e3
push dword [esp + 0x50]
call fcn.0051f820
mov esi, eax
push esi
push edi
call fcn.004e4f20
pop ecx
pop ecx
push esi
call fcn.0051f810
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
push edi
call fcn.004e4f80
push 0x8000
push edi
call fcn.004e4dd0
push edi
push dword [esi]
call fcn.004e5220
add esp, 0x1c
lea eax, [esp + 0x4c]
push 0
push eax
push 0x200000
push ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x494360
mov edi, dword [esp + 0x10]
push eax
push ebp
push dword [esi]
call fcn.004e51e0
add esp, 0xc
cmp eax, dword [esp + 0x4c]
jne 0x494358
add edi, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push 0
push eax
push 0x200000
push ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x4c]
test eax, eax
jg 0x494326
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x494372
mov dword [esp + 0x18], 1
push edi
call fcn.004e4990
pop ecx
push ebp
push 0
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 0x34
ret 0xc

Function at 0x49444f
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x4944b1
cmp word [esi], di
je 0x4944b1
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call fcn.004e5c30
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.004e5e40
add esp, 0x10
test eax, eax
jne 0x4944b0
push 0x24
push 8
push dword [0x1177d64]
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 0x494a2c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
push edi
xor edi, edi
mov ebp, edi
cmp dword [esp + 0x10], edi
je 0x494ab2
push esi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push 0x80000000
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
test esi, esi
je 0x494ab1
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
push ebx
push edi
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
test edi, edi
je 0x494aa9
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 0x494a9a
push ebx
push edi
push dword [esp + 0x1c]
call fcn.00494cf1
mov ebp, eax
push edi
push 0
push dword [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebx
pop esi
pop edi
mov eax, ebp
pop ebp
ret 8

Function at 0x494ab9
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
push dword [esp + 0x18]
xor ebp, ebp
push dword [0x11f1940]
mov ebx, ebp
call fcn.004d1507
mov edi, eax
test edi, edi
je 0x494b78
push esi
push dword [esp + 0x1c]
call fcn.00494d57
mov esi, dword [edi + 8]
lea eax, [esp + 0x14]
push ebp
push ebp
push ebp
push eax
lea eax, [esp + 0x20]
mov dword [edi + 4], 1
mov ecx, dword [esi]
push eax
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push ebp
push esi
call dword [ecx + 0x2c]
pop esi
test eax, eax
jne 0x494b3b
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x10]
push dword [edi]
call fcn.00494f50
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [eax]
push ebp
push ebp
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
call dword [ecx + 0x4c]
lea eax, [esp + 0x18]
push eax
push ebp
push edi
push 0x494b82
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x494b61
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
inc ebx
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [edi + 8]
push 1
push ebp
push ebp
mov edx, dword [ecx]
push ecx
call dword [edx + 0x30]
pop edi
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x4b3b16
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
push dword [0x11f0530]
xor ebp, ebp
mov edi, ebp
mov dword [esp + 0x18], ebp
call fcn.004d1507
mov esi, eax
test esi, esi
je 0x4b3cab
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x14], ebp
je 0x4b3bc0
push ebx
call fcn.004b3e86
jmp 0x4b3b58
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp byte [esi + 0x1d], 0
jne 0x4b3b50
push dword [esi + 0x14]
call fcn.004b4290
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.004b3aa1
pop ecx
pop ecx
lea eax, [esp + 0x1c]
push eax
push ebp
push esi
push 0x4b3cc5
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x4b3b9d
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esp + 0x20], 0xffffffff
je 0x4b3bae
push dword [esp + 0x20]
push ebx
call fcn.004b3f5a
mov eax, dword [esi]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
push 1
jmp 0x4b3c60
test byte [esp + 0x1c], 1
je 0x4b3bcf
mov dword [esp + 0x10], 1
test byte [esp + 0x1c], 2
je 0x4b3c6a
push esi
call fcn.004b3a38
lea eax, [esi + 4]
push 0x10
push eax
call fcn.004d1c7c
pop ecx
pop ecx
mov ecx, dword [0x11f054c]
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 0x4b3cab
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 0x4b3c4b
push edi
push dword [esp + 0x24]
push ebx
call fcn.004b3eba
jmp 0x4b3c58
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 0x4b3cab
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 0x4b3c8c
push dword [esp + 0x20]
push ebx
call fcn.004b3f5a
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 0x4b3cab
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 0x4b67f1
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x11f18a4]
call fcn.004d1507
mov ebx, eax
test ebx, ebx
je 0x4b6855
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x4b681a
push dword [esp + 0xc]
push ebx
call eax
jmp 0x4b6855
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.004d2a70
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.004d2b50
pop edi
pop esi
pop ebx
ret 8

Function at 0x4b740b
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x11f1c80]
call fcn.004d1396
xor ebp, ebp
mov esi, eax
cmp dword [0x11f0908], ebp
jne 0x4b74e7
xor ebx, ebx
inc ebx
mov dword [0x11f0908], ebx
call fcn.004bc428
mov edi, 0xa4
push edi
push ebp
push 0x11f0910
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x11f0910], 0x13
lea eax, [esp + 0x10]
mov dword [0x11f0914], edi
mov dword [0x11f0920], 0x4b7356
mov dword [0x11f0924], 0x4b7681
push eax
mov dword [0x11f0978], 0x4b7331
mov dword [0x11f097c], 0x4b75cc
mov dword [0x11f091c], 0x4b730c
mov dword [0x11f09a0], 0x4b7371
mov dword [0x11f09b4], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4b74e7
cmp dword [esp + 0x20], ebx
je 0x4b74cf
cmp dword [esp + 0x20], 2
jne 0x4b74e7
cmp dword [esp + 0x14], 5
jae 0x4b74d7
mov dword [0x11f09b4], ebp
jmp 0x4b74e7
jne 0x4b74e7
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x11f09b4], 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.004c1903
mov eax, dword [esp + 0x140]
push ebp
push dword [0x1177d68]
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 0x4b75bd
push dword [esp + 0x128]
push dword [0x11f18a4]
call fcn.004d1546
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x4b758c
push edi
call fcn.004cca66
test eax, eax
je 0x4b758c
push ebp
push ebp
push edi
call fcn.004cc624
mov dword [esi + 0x18], eax
jmp 0x4b758f
mov dword [esi + 0x18], ebp
push 0x4b705b
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x11f0910
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x11f090c], eax
call fcn.004bbab5
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x4b9469
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 0x4b94db
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x4b9492
mov ebx, eax
push dword [ebp]
call fcn.004b8beb
push ebx
push dword [ebp]
mov edi, eax
call fcn.004b8bc2
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.004b94fb
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4bb3a5
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x11f1c80]
call fcn.004d1396
xor ebx, ebx
mov ebp, eax
cmp dword [0x11f0ec8], ebx
jne 0x4bb439
mov esi, 0xa4
push esi
push ebx
push 0x11f0ed0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x11f0ed4], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x11f0ed0], 0xa
mov dword [0x11f0ed8], 0x4baf3a
push 0x7f89
push ebx
mov dword [0x11f0f48], 0x4bbbee
mov dword [0x11f0f4c], 0x4bbbc8
mov dword [0x11f0edc], 0x4baf59
mov dword [0x11f0f60], 0x4baf79
call esi
mov dword [0x11f0ec8], eax
test eax, eax
jne 0x4bb439
push 0x7f00
push ebx
call esi
mov dword [0x11f0ec8], 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.004c1903
push ebx
push dword [0x1177d68]
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 0x4bb505
push edi
push dword [esp + 0x14]
push dword [0x11f18a4]
call fcn.004d1546
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 [0x1177d64]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x11f0ed0
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.004bbab5
push 0x4bb05f
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 0x4bcb55
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4bcccb
mov eax, dword [esp + 0x24]
dec eax
je 0x4bccae
dec eax
jne 0x4bcccb
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.004bcb0e
pop ecx
test eax, eax
je 0x4bcc0c
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x4bcbcf
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x4bccaa
dec ebx
je 0x4bcca6
dec ebx
je 0x4bcc85
dec ebx
je 0x4bcc3f
sub ebx, 4
jne 0x4bcccb
test edi, edi
jne 0x4bcccb
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x4bcccb
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4bcbcf
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x4bcbca
sub edi, 0
je 0x4bcc77
dec edi
je 0x4bcc69
dec edi
je 0x4bcc5b
dec edi
jne 0x4bcccb
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x4bcccb
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x4bcccb
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x4bcccb
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x4bcccb
sub edi, 0
je 0x4bcca2
dec edi
je 0x4bcc9e
dec edi
jne 0x4bcccb
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x4bcccb
push 0x3c
jmp 0x4bccca
push 0x32
jmp 0x4bccca
push 0x14
jmp 0x4bccca
push 5
jmp 0x4bccca
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bccc8
cmp eax, 0xa
je 0x4bccc4
cmp eax, 0x5a
jne 0x4bcccb
push 0x28
jmp 0x4bccca
push 0x1e
jmp 0x4bccca
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret
Function at 0x4bd13f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x11f18a0]
call fcn.004d1507
mov esi, eax
test esi, esi
je 0x4bd219
cmp dword [ebp + 0xc], 0
je 0x4bd18b
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4bd17c
cmp dword [esi + 0x1c], 0
jne 0x4bd17c
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4bd219
test byte [ebp + 0x10], 3
je 0x4bd1a6
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.004be1c7
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x4bd1cb
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x4bd1df
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x4bd1fc
test ebx, ebx
je 0x4bd1f0
push 8
jmp 0x4bd202
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x4bd20f
test ebx, ebx
je 0x4bd205
push 3
pop ecx
jmp 0x4bd20f
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc