joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aefc
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x44af03
call fcn.004a68b0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
and eax, eax
je 0x44afbd
lea eax, [esp + 8]
lea eax, [esp + 8]
push eax
mov eax, 0x536804
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueW
and eax, eax
je 0x44afb4
lea eax, [esp + 0x10]
lea ebp, [esp + 0x10]
mov dword [ebp], 1
lea ebp, [esp + 8]
push dword [ebp]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 4], eax
lea ebp, [esp + 8]
push dword [ebp + 4]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 8], eax
push ebp
pop ebp
mov dword [ebp + 0xc], 2
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x18]
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push eax
pop eax
mov byte [esp], al
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
movsx eax, byte [esp]
movsx eax, al
jmp 0x44afc8
add esp, 0x34
pop ebx
pop ebp
ret

Function at 0x44cdb4
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 0x44ce4c
push edi
push 0x11c0894
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x1147210]
test edi, edi
je 0x44ce20
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44ce19
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x1147210
call fcn.004a6631
pop ecx
pop ecx
jmp 0x44ce1b
mov edi, dword [edi]
test edi, edi
jne 0x44cdf0
pop ebx
mov eax, dword [0x1143314]
mov esi, eax
inc eax
push 0x10
push 0x1147210
mov dword [0x1143314], eax
call fcn.004a6671
pop ecx
pop ecx
push 0x11c0894
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 0x44ce54
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call fcn.0044cc58
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x11c0894
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x1147210]
jmp 0x44ce85
cmp dword [esi + 0xc], edi
je 0x44ce8b
mov esi, dword [esi]
test esi, esi
jne 0x44ce7e
jmp 0x44cea3
add esi, 8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x1147210
call fcn.004a6631
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret 4
Function at 0x44d1a3
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x44d1f8
push dword [esp + 0x10]
push 0x44d122
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x114721c]
test esi, esi
je 0x44d251
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x44d1f0
cmp byte [esi + 0x10], 0
je 0x44d1f0
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 0x44d1cc
jmp 0x44d251
mov esi, dword [0x114721c]
test esi, esi
je 0x44d251
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 0x44d24a
cmp byte [esi + 0x11], 0
je 0x44d226
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x44d23d
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 0x114721c
call fcn.004a6631
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x44d205
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x467b8a
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push dword [0x11c08c4]
call fcn.004a5cf4
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 0x467c8a
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x22
cmp dx, word [esp + 0x10]
jne 0x467be0
push 0x20
pop edx
add eax, 2
cmp word [eax], dx
je 0x467bd8
movzx edx, word [eax]
mov dword [esp + 0x1c], 1
cmp dx, word [esp + 0x14]
jne 0x467c20
add eax, 2
mov esi, eax
movzx ecx, word [eax]
test cx, cx
je 0x467c62
push 0x22
pop edx
cmp cx, dx
je 0x467c12
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x467c02
xor ecx, ecx
cmp word [eax], cx
je 0x467c62
mov ecx, eax
add eax, 2
jmp 0x467c64
test dx, dx
je 0x467c6a
push 0x20
mov esi, eax
pop ecx
cmp dx, cx
je 0x467c12
add eax, 2
push 0x22
pop edx
cmp word [eax], dx
jne 0x467c58
add eax, 2
movzx ecx, word [eax]
test cx, cx
je 0x467c62
cmp cx, dx
je 0x467c55
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x467c45
push 0x20
pop ecx
movzx edx, word [eax]
test dx, dx
jne 0x467c2a
jmp 0x467c12
mov ecx, eax
mov edx, dword [esp + 0x1c]
jmp 0x467c6c
xor edx, edx
cmp dword [ebp], ebx
jne 0x467c75
test edi, edi
jne 0x467c92
test edx, edx
je 0x467c7a
inc ebx
xor edx, edx
mov esi, edx
movzx edx, word [eax]
test dx, dx
jne 0x467bce
test edi, edi
jne 0x467ca3
mov eax, ebx
jmp 0x467ca7
test esi, esi
je 0x467ca3
sub ecx, esi
mov eax, esi
sar ecx, 1
mov dword [edi], ecx
inc dword [ebp]
jmp 0x467ca7
xor ecx, ecx
mov dword [edi], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x467e0c
Capabilities:
Read file on windows

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x467e60
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 0x467e4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x467e5a
add esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x18]
jl 0x467e1f
jmp 0x467e5e
add esi, dword [esp + 0x10]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 0xc
Function at 0x467e66
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 0x467f25
cmp dword [esp + 0x24], 2
je 0x467f25
push 0x2000
push ebp
push dword [0x1146d80]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x467ef4
cmp dword [esp + 0x18], 2
jne 0x467f10
cmp dword [esp + 0x28], 0xffffffff
je 0x467eb8
cmp ebp, dword [esp + 0x28]
jae 0x467f10
add ebp, 2
test ebx, ebx
jne 0x467edd
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x1146d80]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x467f10
cmp ax, 0xd
je 0x467ef4
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 0x467ea4
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.004f3980
jmp 0x467fb7
push eax
push 0
push dword [0x1146d80]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x467f43
cmp ebp, dword [esp + 0x28]
jae 0x467f9b
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 0x467f9b
cmp dword [esp + 0x18], 1
jne 0x467f9b
inc ebp
test ebx, ebx
jne 0x467f88
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x1146d80]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x467f9b
cmp al, 0xd
je 0x467f36
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x467f36
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x467fb2
call fcn.004f39d0
jmp 0x467fb7
call fcn.004f3920
push esi
push 0
push dword [0x1146d80]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x468226
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 0x4683c5
push esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4683c4
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 0x4683c3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x200000
push ebp
push dword [0x1146d80]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x4683bc
call fcn.004b8ad0
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4683a9
lea eax, [esp + 0x20]
push eax
push esi
call sub.MSVCRT.dll__wstat
push 0x1a4
push edi
call fcn.004b8fa0
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004b9120
mov esi, dword [esp + 0x60]
add esp, 0x18
mov eax, dword [esi + 0x20]
cmp dword [eax + 8], 1
je 0x4682f5
cmp dword [eax + 8], 3
je 0x4682f5
push dword [esp + 0x50]
push edi
call fcn.004b8870
pop ecx
pop ecx
jmp 0x468313
push dword [esp + 0x50]
call fcn.004f3890
mov esi, eax
push esi
push edi
call fcn.004b8f90
pop ecx
pop ecx
push esi
call fcn.004f3880
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
push edi
call fcn.004b8ff0
push 0x8000
push edi
call fcn.004b8e40
push edi
push dword [esi]
call fcn.004b9290
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 0x468390
mov edi, dword [esp + 0x10]
push eax
push ebp
push dword [esi]
call fcn.004b9250
add esp, 0xc
cmp eax, dword [esp + 0x4c]
jne 0x468388
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 0x468356
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x4683a2
mov dword [esp + 0x18], 1
push edi
call fcn.004b8a00
pop ecx
push ebp
push 0
push dword [0x1146d80]
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 0x46847f
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x4684e1
cmp word [esi], di
je 0x4684e1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004b9ca0
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.004b9eb0
add esp, 0x10
test eax, eax
jne 0x4684e0
push 0x24
push 8
push dword [0x1146d80]
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 0x468af4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push edi
xor edi, edi
mov ebx, edi
cmp dword [esp + 0x10], ebx
je 0x468b74
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 0x468b73
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
push ebp
push edi
push dword [0x1146d80]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x468b6b
push ebx
lea eax, [esp + 0x1c]
push eax
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push edi
push dword [esp + 0x1c]
call fcn.00468f92
push edi
push 0
push dword [0x1146d80]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8

Function at 0x468b7b
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
push dword [esp + 0x18]
xor ebp, ebp
push dword [0x11c091c]
mov ebx, ebp
call fcn.004a5f30
mov edi, eax
test edi, edi
je 0x468c3a
push esi
push dword [esp + 0x1c]
call fcn.00468d1b
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 0x468bfd
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x10]
push dword [edi]
call fcn.00468f10
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 0x468c44
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x468c23
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 0x488340
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x11bf550], 0
jne 0x48834e
call fcn.004882c0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x11bf554]
call esi
test eax, eax
jne 0x488371
call fcn.004882c0
push dword [0x11bf554]
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 0x488380
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 0x4883e0
mov ebx, 0x10
test edi, edi
jns 0x4883e9
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x4883b2
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x488400
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x11bf550], 0
jne 0x48840e
call fcn.004882c0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x11bf554]
call esi
mov edx, eax
test edx, edx
jne 0x488435
call fcn.004882c0
push dword [0x11bf554]
call esi
mov edx, eax
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x14]
inc ebp
mov edi, dword [edx + ebx*4 + 0x4c]
mov eax, dword [edx + ebx*4 + 8]
mov ecx, dword [edx + esi*4 + 8]
ror edi, 0xd
add edi, dword [edx + esi*4 + 0x4c]
dec esi
ror eax, 5
add eax, ecx
mov dword [edx + ebx*4 + 8], edi
mov dword [edx + ebx*4 + 0x4c], eax
dec ebx
jns 0x488468
mov ebx, 0x10
test esi, esi
jns 0x488471
mov esi, 0x10
mov dword [edx], ebx
mov eax, edi
mov dword [edx + 4], esi
test ebp, ebp
je 0x488480
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x48ace4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x11c088c]
call fcn.004a5f30
mov ebx, eax
test ebx, ebx
je 0x48ad48
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x48ad0d
push dword [esp + 0xc]
push ebx
call eax
jmp 0x48ad48
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.004a6a70
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.004a6b50
pop edi
pop esi
pop ebx
ret 8
Function at 0x48b810
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x11c0c60]
call fcn.004a5cf4
xor ebp, ebp
mov esi, eax
cmp dword [0x11bf8f8], ebp
jne 0x48b8ec
xor ebx, ebx
inc ebx
mov dword [0x11bf8f8], ebx
call fcn.004906b2
mov edi, 0xa4
push edi
push ebp
push 0x11bf900
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x11bf900], 0x13
lea eax, [esp + 0x10]
mov dword [0x11bf904], edi
mov dword [0x11bf910], 0x48b75b
mov dword [0x11bf914], 0x48ba86
push eax
mov dword [0x11bf968], 0x48b736
mov dword [0x11bf96c], 0x48b9d1
mov dword [0x11bf90c], 0x48b711
mov dword [0x11bf990], 0x48b776
mov dword [0x11bf9a4], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48b8ec
cmp dword [esp + 0x20], ebx
je 0x48b8d4
cmp dword [esp + 0x20], 2
jne 0x48b8ec
cmp dword [esp + 0x14], 5
jae 0x48b8dc
mov dword [0x11bf9a4], ebp
jmp 0x48b8ec
jne 0x48b8ec
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x11bf9a4], 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.00495c99
mov eax, dword [esp + 0x140]
push ebp
push dword [0x1146d84]
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 0x48b9c2
push dword [esp + 0x128]
push dword [0x11c088c]
call fcn.004a5f6f
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x48b991
push edi
call fcn.004a0e4f
test eax, eax
je 0x48b991
push ebp
push ebp
push edi
call fcn.004a09c4
mov dword [esi + 0x18], eax
jmp 0x48b994
mov dword [esi + 0x18], ebp
push 0x48b460
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x11bf900
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x11bf8fc], eax
call fcn.0048fd3f
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c

Function at 0x48d6fe
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 0x48d770
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x48d727
mov ebx, eax
push dword [ebp]
call fcn.0048ce80
push ebx
push dword [ebp]
mov edi, eax
call fcn.0048ce57
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.0048d790
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48f62f
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x11c0c60]
call fcn.004a5cf4
xor ebx, ebx
mov ebp, eax
cmp dword [0x11bfea8], ebx
jne 0x48f6c3
mov esi, 0xa4
push esi
push ebx
push 0x11bfeb0
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x11bfeb4], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x11bfeb0], 0xa
mov dword [0x11bfeb8], 0x48f1c4
push 0x7f89
push ebx
mov dword [0x11bff28], 0x48fe78
mov dword [0x11bff2c], 0x48fe52
mov dword [0x11bfebc], 0x48f1e3
mov dword [0x11bff40], 0x48f203
call esi
mov dword [0x11bfea8], eax
test eax, eax
jne 0x48f6c3
push 0x7f00
push ebx
call esi
mov dword [0x11bfea8], 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.00495c99
push ebx
push dword [0x1146d84]
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 0x48f78f
push edi
push dword [esp + 0x14]
push dword [0x11c088c]
call fcn.004a5f6f
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 [0x1146d80]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x11bfeb0
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.0048fd3f
push 0x48f2e9
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 0x4910d5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x11c0880]
call fcn.004a5f30
mov esi, eax
test esi, esi
je 0x4911af
cmp dword [ebp + 0xc], 0
je 0x491121
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x491112
cmp dword [esi + 0x1c], 0
jne 0x491112
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4911af
test byte [ebp + 0x10], 3
je 0x49113c
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0049235d
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x491161
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 0x491175
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 0x491192
test ebx, ebx
je 0x491186
push 8
jmp 0x491198
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x4911a5
test ebx, ebx
je 0x49119b
push 3
pop ecx
jmp 0x4911a5
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