joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a0b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8373
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c66b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.0048e3e8
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x45a101
mov eax, dword [esi + 0x1c]
push eax
call fcn.00470fc9
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x45c0a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x45c0c2
cmp word [eax], 0
je 0x45c0c2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45c0c2
and al, 0x10
cmp al, 0x10
sete al
ret
xor al, al
ret

Function at 0x45c5c0
Capabilities:
Resolve dns

Disassembly:
mov ax, word [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [ebx], 0
mov word [ebx + 4], ax
mov byte [esp + 0x1c], 0x2e
call fcn.00457a50
cmp eax, 0xffffffff
je 0x45c64b
cmp dword [edi + 0x18], 0x10
push esi
lea esi, [edi + 4]
jb 0x45c5ff
mov eax, dword [esi]
jmp 0x45c601
mov eax, esi
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x45c635
cmp dword [edi + 0x18], 0x10
jb 0x45c618
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45c62c
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebx], ecx
pop ebp
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
cmp dword [edi + 0x18], 0x10
jb 0x45c63d
mov esi, dword [esi]
push esi
call ebp
pop ebp
pop esi
mov dword [ebx], eax
pop edi
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], 0xffffffff
mov eax, ebx
pop ebx
ret 8

Function at 0x45c780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8608
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c66b8]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4c66b8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x30], 0
je 0x45c7f3
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
mov ecx, 0x4c6570
call fcn.004714bb
test al, al
je 0x45c7f3
mov esi, dword [esi]
add esi, 4
jmp 0x45c7f5
xor esi, esi
cmp dword [esp + 0x20], 0x10
jb 0x45c809
mov eax, dword [esp + 0xc]
push eax
call fcn.00470fc9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00470f90
add esp, 0x2c
ret
Function at 0x45cf10
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4a86c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c66b8]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [0x4c66b8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x420]
xor edi, edi
cmp eax, edi
jne 0x45d029
lea eax, [esi + 0x210]
push eax
lea ecx, [esi + 0x424]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00436f10
mov dword [esp + 0x7c], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x84], 1
call fcn.00449c90
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp dword [esp + 0x28], 8
jae 0x45cfaa
lea eax, [esp + 0x14]
jmp 0x45cfae
cmp eax, edi
je 0x45cfe2
cmp word [eax], di
je 0x45cfe2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45cfe2
test al, 0x10
jne 0x45cfe2
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x45cfd2
lea eax, [esp + 0x14]
push edi
push edi
push 0x4b13b4
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x28], 8
jb 0x45cff6
mov edx, dword [esp + 0x14]
push edx
call fcn.00470fc9
add esp, 4
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
mov dword [esp + 0x70], 0xffffffff
jb 0x45d09f
mov eax, dword [esp + 0x4c]
push eax
call fcn.00470fc9
add esp, 4
jmp 0x45d09f
cmp eax, 1
jne 0x45d09f
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.0043c6b0
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x7c], 2
call fcn.0043c590
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x28], esp
push str.qqdownload_config.xml
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.0040a3f0
add esp, 0xc
lea ecx, [esi + 0x1f4]
call fcn.004089f0
cmp dword [esp + 0x44], 8
mov dword [esp + 0x70], 0xffffffff
jb 0x45d08e
mov edx, dword [esp + 0x30]
push edx
call fcn.00470fc9
add esp, 4
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
mov ecx, esi
call fcn.0045c1c0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00470f90
add esp, 0x68
ret
Function at 0x45ecd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8a29
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4c66b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x2c]
mov ecx, eax
push ecx
push 0x40
mov dword [esp + 0x14], eax
call fcn.00416dd0
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0x20], 1
je 0x45ed63
mov ecx, dword [esp + 0x2c]
sub esp, 0x18
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 0x14], ecx
mov ecx, eax
call fcn.0045da40
jmp 0x45ed65
xor eax, eax
mov ecx, dword [esp + 0x28]
push eax
lea edx, [ecx + 0xc]
push edx
push ecx
mov byte [ecx + 8], 1
mov ecx, dword [esi + 0x1c]
push esi
mov byte [esp + 0x30], 0
mov dword [esp + 0x24], eax
call fcn.0042da00
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 0x1c
Function at 0x45eda0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8b1c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c66b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], 0x4b136c
mov dword [esi + 8], 0x4aebdc
lea eax, [esi + 0x10]
mov dword [esi], 0x4b1438
mov dword [esi + 4], 0x4b1428
mov dword [esi + 8], 0x4aebdc
push eax
mov dword [esi + 0xc], 0x4b06bc
call edi
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.00437450
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x20], 1
call fcn.00403fd0
lea ebp, [esi + 0x384]
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], 1
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [esi + 0x394], ebx
mov word [esi + 0x398], bx
mov dword [esi + 0x39a], ebx
mov word [esi + 0x39e], bx
mov dword [esi + 0x3a0], ebx
mov byte [esi + 0x3a4], bl
mov dword [esi + 0x3a8], ebx
mov eax, 0xf
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x3c0], ebx
mov byte [esi + 0x3b0], bl
mov dword [esi + 0x3e0], eax
mov dword [esi + 0x3dc], ebx
mov byte [esi + 0x3cc], bl
lea ecx, [esi + 0x3ec]
mov dword [esi + 0x3e4], 0x4b13b0
push ecx
mov dword [esi + 0x3e8], 0x4b06bc
call edi
mov eax, 0xf
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], ebx
mov byte [esi + 0x408], bl
mov dword [esi + 0x420], 3
mov dword [esi + 0x43c], eax
mov dword [esi + 0x438], ebx
mov byte [esi + 0x428], bl
push 0x408
lea edi, [esi + 0x441]
push ebx
push edi
mov byte [esi + 0x440], bl
call fcn.004714e0
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov byte [esi + 0x849], bl
mov byte [esi + 0x84a], bl
add esp, 0xc
mov dword [esi + 0x850], ebx
mov dword [esi + 0x854], ebx
mov dword [esi + 0x858], ebx
mov byte [esp + 0x20], 8
mov byte [esi + 0x85c], bl
lea edi, [esi + 0x870]
mov ecx, edi
mov dword [esi + 0x860], ebx
mov dword [esi + 0x864], ebx
mov dword [esi + 0x868], ebx
mov byte [esi + 0x86c], bl
call fcn.0041dcb0
mov dword [esi + 0x87c], ebx
mov dword [esi + 0x880], ebx
lea ecx, [esi + 0x888]
push edi
mov byte [esp + 0x24], 0xa
mov dword [esi + 0x884], ebx
call fcn.0042d930
lea ecx, [esi + 0x8b0]
push edi
mov byte [esp + 0x24], 0xb
call fcn.0042d930
lea ecx, [esi + 0x8d8]
push edi
mov byte [esp + 0x24], 0xc
call fcn.0042d930
lea ecx, [esi + 0x900]
push edi
mov byte [esp + 0x24], 0xd
call fcn.0042d930
push ebx
push 0x10
mov ecx, ebp
mov byte [esp + 0x28], 0xe
call fcn.0040c070
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4668a0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4ae6dc
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x4668e8
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x466903
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0xe2]
lea eax, [eax + esi - 0xcd]
jmp 0x466933
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x466913
add ecx, 0xffffff1e
jmp 0x46692d
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x466926
add eax, 5
lea ecx, [edi - 0xe2]
jmp 0x466933
mov ecx, dword [esp + 0x1c]
add ecx, 0x1f
lea eax, [esi - 0xcd]
mov edx, dword [ebp + 4]
push 0x10
push 0xdf
push 0xc8
push ecx
push eax
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x466ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a95ce
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c66b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi], 0x4b1880
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.0046da50
mov dword [esi + 0x78], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4672c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x467328
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x467303
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x467303
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x46731f
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x46731f
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
add dword [0x4c8de0], 1
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
Function at 0x467930
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4ae6dc
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x467978
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x467993
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0x100]
lea eax, [eax + esi - 0xcf]
jmp 0x4679c3
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x4679a3
add ecx, 0xffffff00
jmp 0x4679bd
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x4679b6
add eax, 3
lea ecx, [edi - 0x100]
jmp 0x4679c3
mov ecx, dword [esp + 0x1c]
add ecx, 1
lea eax, [esi - 0xcf]
mov edx, dword [ebp + 4]
push 0x10
push 0xff
push 0xcc
push ecx
push eax
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x467e50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb2c
mov eax, dword [0x4c66b8]
xor eax, esp
mov dword [esp + 0xb28], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x467e98
mov ecx, dword [edi + 0x40]
sub ecx, eax
mov eax, 0xa57eb503
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x467e9d
call fcn.00471437
imul esi, esi, 0x630
add esi, dword [edi + 0x3c]
mov ecx, 0x18c
lea edi, [esp + 0x2f8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2f8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x467f00
push 0x104
lea ecx, [esp + 0x92c]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea edx, [esp + 0x928]
push edx
push 0x4b19a4
call fcn.004752c9
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0x938]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jl 0x467f2b
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebx]
push edx
mov esi, eax
call dword [sym.imp.GDI32.dll_SaveDC]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 3
push 0
push 0
push 0x10
push 0x10
push ecx
mov ecx, dword [ebx]
add edx, 0xc
push edx
add eax, 0xe
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0xffffffffffffffff
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
test esi, esi
je 0x467fca
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x467fca
xor esi, esi
mov edx, dword [ebx]
push 0xffffffffffffffff
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x3c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov ecx, dword [esp + 0x38]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
test esi, esi
je 0x467fff
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x468006
push edi
call ebx
mov ecx, dword [esp + 0xb34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00470f90
mov esp, ebp
pop ebp
ret 0x18
Function at 0x46dc40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x46ed10
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0046e370
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x470f90
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c66b8]
jne 0x470f9a
repz ret
jmp fcn.00476a6c
Function at 0x476c81
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4c6778]
je 0x476c9c
inc edi
cmp edi, 0x17
jb 0x476c8d
cmp edi, 0x17
jae 0x476e1c
push ebp
push 3
call fcn.004826ff
cmp eax, 1
pop ecx
je 0x476de8
push 3
call fcn.004826ff
test eax, eax
pop ecx
jne 0x476cd0
cmp dword [0x4c6740], 1
je 0x476de8
cmp ebx, 0xfc
je 0x476e1b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4c91b8
push ebp
call fcn.00476fea
add esp, 0xc
test eax, eax
je 0x476d06
push esi
push esi
push esi
push esi
push esi
call fcn.00471317
add esp, 0x14
push 0x104
mov esi, 0x4c91d1
push esi
push 0
mov byte [0x4c92d5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x476d4a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00476fea
add esp, 0xc
test eax, eax
je 0x476d4a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00471317
add esp, 0x14
push esi
call fcn.00477050
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x476d8f
push esi
call fcn.00477050
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4c94cc
push 0x4b2414
sub ecx, eax
push ecx
push eax
call fcn.00472a74
add esp, 0x14
test eax, eax
je 0x476d8f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00471317
add esp, 0x14
jmp 0x476d91
xor esi, esi
push 0x4b2410
push ebx
push ebp
call fcn.0048268e
add esp, 0xc
test eax, eax
je 0x476db1
push esi
push esi
push esi
push esi
push esi
call fcn.00471317
add esp, 0x14
push dword [edi*8 + 0x4c677c]
push ebx
push ebp
call fcn.0048268e
add esp, 0xc
test eax, eax
je 0x476dd3
push esi
push esi
push esi
push esi
push esi
call fcn.00471317
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004824d1
add esp, 0xc
jmp 0x476e1b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x476e1b
cmp ebp, 0xffffffff
je 0x476e1b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4c677c]
push dword [esi]
call fcn.00477050
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4824d1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0047640c
xor ebx, ebx
cmp dword [0x4c9908], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4825a7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x482687
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x482687
push eax
call fcn.0047639e
mov dword [esp], 0x4b2738
push edi
mov dword [0x4c9908], eax
call esi
push eax
call fcn.0047639e
mov dword [esp], 0x4b2724
push edi
mov dword [0x4c990c], eax
call esi
push eax
call fcn.0047639e
mov dword [0x4c9910], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047b490
test eax, eax
pop ecx
pop ecx
je 0x482575
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00471317
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4825a7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0047639e
cmp eax, ebx
pop ecx
mov dword [0x4c9918], eax
je 0x4825a7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047639e
pop ecx
mov dword [0x4c9914], eax
mov eax, dword [0x4c9914]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x48262c
cmp dword [0x4c9918], ecx
je 0x48262c
push eax
call fcn.00476415
push dword [0x4c9918]
mov esi, eax
call fcn.00476415
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x48262c
cmp edi, ebx
je 0x48262c
call esi
cmp eax, ebx
je 0x4825f9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4825f9
test byte [ebp - 0x18], 1
jne 0x48262c
lea eax, [ebp - 0x10]
push eax
call fcn.0047b4c7
test eax, eax
pop ecx
je 0x482614
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00471317
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x482623
or dword [ebp + 0x10], 0x200000
jmp 0x482667
or dword [ebp + 0x10], 0x40000
jmp 0x482667
mov eax, dword [0x4c990c]
cmp eax, dword [ebp - 8]
je 0x482667
push eax
call fcn.00476415
cmp eax, ebx
pop ecx
je 0x482667
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x482667
mov eax, dword [0x4c9910]
cmp eax, dword [ebp - 8]
je 0x482667
push eax
call fcn.00476415
cmp eax, ebx
pop ecx
je 0x482667
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c9908]
call fcn.00476415
cmp eax, ebx
pop ecx
je 0x482687
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x482689
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48d995
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x48d9aa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 8], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x1c
pop esi
push esi
mov ebx, eax
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.004714e0
add esp, 0xc
push 0
push 4
mov dword [ebp - 0x1c], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
call sub.KERNEL32.dll_Thread32First
jmp 0x48da0f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x10]
jne 0x48da05
cmp ebx, dword [ebp - 0x14]
je 0x48da05
push dword [ebp - 0x14]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x48da05
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x1c]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x48d9e0
pop esi
pop ebx
leave
ret