joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d6a0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x14000
mov dword [esp + 0x10], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x48d786
mov ecx, 0x5000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
jne 0x48d6f6
push esi
call fcn.004ccfd9
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.0048d170
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
add esp, 4
mov dword [esp + 0x1c], eax
test dword [esi + 0xc], 0x100000
jne 0x48d74b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.0048d1c0
add esp, 0xc
test eax, eax
je 0x48d74b
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x48d74b
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileW]
mov edx, dword [esi + 4]
push edx
call ebp
mov ecx, 0x5000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xa000
push eax
push esi
push ebx
mov dword [esi], 0xa000
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x48d70e
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004ccfd9
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x48dc10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push 0
push ebx
call fcn.0048db30
mov eax, dword [0x5d6c20]
add esp, 8
test eax, eax
mov dword [esp + 0x10], 0
je 0x48dc6f
lea eax, [esp + 0x10]
push eax
push 0x4fd930
push 1
push 0
push 0x4d61b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x48dc6f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48dc6f
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
push 1
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f0
push ebx
call edi
push 1
push ebx
mov esi, eax
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, eax
push 5
push esi
mov dword [esp + 0x1c], edi
call ebp
push 0
push edi
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x70000
push 0
push 0x401
push esi
call edi
push 0
push 1
push 0x402
push esi
call edi
mov bl, byte [esp + 0x20]
test bl, 1
je 0x48dcdb
mov eax, dword [esp + 0x24]
push eax
push 0
call fcn.0048d6a0
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0x402
push esi
call edi
test bl, 2
je 0x48dd05
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0
call fcn.0048d2d0
add esp, 0xc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 3
push 0x402
push esi
call edi
test bl, 4
je 0x48dd2d
mov edx, dword [esp + 0x24]
push edx
push 0
call fcn.0048d440
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 4
push 0x402
push esi
call edi
test bl, 8
je 0x48dd4b
call fcn.0048da30
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 5
push 0x402
push esi
call edi
test bl, 0x10
je 0x48dd69
call fcn.0048d790
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 6
push 0x402
push esi
call edi
test bl, 0x20
je 0x48dd87
call fcn.0048da60
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 7
push 0x402
push esi
call edi
test bl, 0x40
je 0x48dda5
call fcn.0048da90
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call ebp
mov eax, dword [esp + 0x14]
push 5
push eax
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48dddf
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x48dde3
mov esi, dword [esp + 0x1c]
push 1
push esi
call fcn.0048db30
add esp, 8
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x48e860
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x41e
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, eax
push 0
push 0x1042
push esi
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48e8f8
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 4
push ecx
push eax
push 0x104b
push esi
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
je 0x48e8f8
mov edx, dword [esp + 0x30]
push edx
call fcn.0048b3c0
mov edi, eax
add esp, 4
test edi, edi
je 0x48e8e0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebx
push 0x1008
push esi
call ebp
mov eax, dword [esp + 0x3c]
push eax
call fcn.0048e940
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x48edb0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x5fd544]
sub esp, 0x244
test eax, eax
je 0x48edfd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48edfd
mov eax, dword [0x5fd544]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x48ede9
mov ecx, dword [0x5fd544]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5fd544]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0x244
ret
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], 0
push 0x208
rep stosd dword es:[edi], eax
mov ecx, dword [0x5dae3c]
stosw word es:[edi], ax
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x40
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], str._tp:4
mov dword [esp + 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x48ee93
mov ecx, dword [esp + 0x38]
push 0xbb8
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x244
ret

Function at 0x48fed0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x16e0]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4927b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4928f2
lea edi, [esi + 0x2705c]
push ebx
push 0xa
mov ecx, edi
call fcn.004c9990
test eax, eax
je 0x49283b
lea ecx, [esp + 0xc]
push ebp
push ecx
push 0xa
mov ecx, edi
call fcn.004c8120
lea ebx, [esi + 0x28288]
mov ecx, ebx
call fcn.00406970
mov ebp, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
push 0x40
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ebp
add ecx, eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x2828c]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00403bf0
pop ebp
jmp 0x49284a
mov ecx, dword [esi + 0x2828c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x13
mov ecx, edi
call fcn.004c9990
test eax, eax
je 0x4928b3
lea edx, [esp + 0xc]
mov ecx, edi
push edx
push 0x13
call fcn.004c8120
lea edi, [esi + 0x25ef4]
mov ecx, edi
call fcn.0047dad0
mov ebx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x18]
push 0x40
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ebx
add ecx, eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x25ef8]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.0047dae0
jmp 0x4928c2
mov ecx, dword [esi + 0x25ef8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x2d824]
call fcn.00436f60
lea ecx, [esi + 0x9ebc]
call fcn.004c40f0
mov edi, eax
pop ebx
test edi, edi
je 0x4928f2
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4928f2
push edi
mov ecx, esi
call fcn.00497ca0
pop edi
pop esi
add esp, 0x10
ret

Function at 0x495d00
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1048
call fcn.004cd000
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1050]
xor eax, eax
shr ecx, 0x10
cmp ecx, 0x13
jne 0x495dbe
push edi
mov ecx, 0x411
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x25ef4]
stosw word es:[edi], ax
call fcn.0047dab0
test eax, eax
pop edi
je 0x495d6a
cmp word [eax], 0
je 0x495d6a
push 1
push 1
lea edx, [esp + 0xc]
push 0x824
push edx
push eax
push 0xffffffffffffffff
call fcn.0047dd50
mov ecx, eax
call fcn.0047e230
jmp 0x495d84
push 1
lea eax, [esp + 8]
push 0x824
push eax
push 0xffffffffffffffff
call fcn.0047dd50
mov ecx, eax
call fcn.0047e350
cmp word [esp + 4], 0
je 0x495db9
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x5d754c]
push 0
push ecx
push 0
push 0
push 1
push 1
push 8
lea edx, [esp + 0x20]
push 0
push edx
lea ecx, [esi + 0x9dd0]
call fcn.0046e580
mov eax, 1
pop esi
add esp, 0x1048
ret 4
Function at 0x496020
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x28]
push 0x2008
push 1
push 0x9d99
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret

Function at 0x4961a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
mov ebp, ecx
push 0x10
call ebx
mov si, ax
push 0x12
shr esi, 8
and esi, 0xff
call ebx
mov di, ax
push 0x11
shr edi, 8
and edi, 0xff
call ebx
shr eax, 8
and eax, 0xff
test esi, esi
jne 0x496238
test edi, edi
jne 0x496238
test eax, eax
jne 0x496238
mov eax, dword [esp + 0x14]
add eax, 0xffffff90
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*8]
lea esi, [eax*8 + 0x5df8b0]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x496238
push edi
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x496220
push 1
call dword [sym.imp.USER32.dll_ReplyMessage]
push esi
lea ecx, [ebp + 0x9dd0]
call fcn.0046dec0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x49a7f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, ecx
push ebp
push 0x4f1a2c
lea eax, [ebx + 8]
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x49a893
push esi
push edi
push ebp
lea esi, [ebx + 4]
push 1
push 4
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x49a87f
mov eax, dword [esi]
test eax, eax
je 0x49a87f
mov ecx, eax
shl ecx, 5
add ecx, eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x49a87f
mov eax, dword [esi]
push ebp
mov ecx, eax
shl ecx, 5
add ecx, eax
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push 0x21
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, dword [esi]
add esp, 0x10
cmp eax, ecx
je 0x49a87f
mov ecx, ebx
call fcn.0049a760
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x49c3c0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x49dd30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d2bf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004c2000
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004cb4b0
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 1
call fcn.00474b10
lea ecx, [esi + 0xb4]
mov byte [esp + 0x1c], 2
call fcn.004c5180
mov al, byte [esp + 0xf]
lea edx, [esi + 0xac]
mov byte [esi + 0x9d0], al
mov dword [esi + 0x9d4], edi
mov dword [esi + 0x9d8], edi
mov dword [esi + 0x9dc], edi
xor ecx, ecx
mov dword [esi], 0x4d5f30
mov dword [ebx], 0x4d5f24
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x9c0], edi
mov dword [esi + 0x9c4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x9c8], edi
mov dword [esi + 0x9cc], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x9e8], edi
mov dword [esi + 0x9ec], edi
mov dword [esi + 0x28], 0x64
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49fb90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x49fbae
mov eax, dword [ecx + 8]
push 5
push eax
mov dword [ecx + 0x2c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov dword [ecx + 0x2c], 1
mov ecx, dword [ecx + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
Function at 0x4a01d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c4]
test eax, eax
je 0x4a02ac
mov eax, dword [esi + 0x9c0]
test eax, eax
je 0x4a02ac
mov dword [esi + 0x40], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x4a020c
push 0x4001
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x9c0]
call fcn.004576d0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov ecx, dword [esi + 0x9c0]
mov edx, dword [ecx]
call dword [edx + 0x68]
cmp eax, 0x64
mov dword [esi + 0x28], eax
je 0x4a0245
mov ecx, dword [esi + 0x9c0]
push 0x64
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov ecx, esi
call fcn.004a08f0
mov ecx, esi
call fcn.004a0770
xor ecx, ecx
mov edx, dword [esi + 0x34]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [esp + 8], ecx
push 0x14
mov dword [esp + 0x10], ecx
push 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x9c0]
push edx
push 0x53
mov dword [esp + 0x24], eax
call fcn.0040f8d0
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
mov ecx, esi
call fcn.0049faa0
pop esi
add esp, 0x14
ret

Function at 0x4a3480
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4a34b9
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x50], 1
test ecx, ecx
je 0x4a34b9
push 2
call fcn.00410ce0
mov eax, dword [esi + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x58]
push 0
push 0
push 1
call fcn.00410a60
pop esi
ret

Function at 0x4abd50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d31ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004cb4b0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004c2000
mov dword [esi + 0x28], 0x4d4b60
mov dword [esi + 0x2c], 0x64
lea ecx, [esi + 0x1154]
mov byte [esp + 0x18], 2
call fcn.00474b10
lea eax, [esi + 0x1094]
mov dword [ebx], 0x4d629c
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push str.BG_EDIT
push eax
mov dword [esi], 0x4d6290
mov dword [esi + 0x28], 0x4d6288
mov dword [esi + 0x1088], edi
call ebx
lea ecx, [esi + 0x10d4]
push str.LeftPad
push ecx
call ebx
lea edx, [esi + 0x1114]
push str.RightPad
push edx
call ebx
add esp, 0x18
mov dword [esi + 0x1174], edi
mov dword [esi + 0x116c], edi
mov dword [esi + 0x1170], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1090], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x40]
mov dword [esi + 0x1178], 8
mov dword [esi + 0x117c], 5
mov dword [esi + 0x108c], 0x12
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ae7c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ae968
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov ebx, dword [esi + 0x9ac8]
xor eax, eax
test ebx, ebx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x9ac8], eax
call fcn.004b7d20
mov edx, dword [esi + 0x9ac8]
lea ecx, [esi + 0xd54]
push edx
call fcn.004b7d20
mov eax, dword [esi + 0x9ac8]
test eax, eax
je 0x4ae8eb
mov eax, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsZoomed]
push eax
call ebp
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x9d94]
mov dword [esi + 0x9d90], eax
push ecx
push edx
call ebx
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x9d8c], eax
and eax, 0xff3bffff
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x14]
push 0
push edx
push eax
call fcn.0048a0e0
add esp, 0x10
test eax, eax
jne 0x4ae891
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub edi, edx
mov edx, dword [esi + 4]
push edx
sub ebx, ecx
call ebp
test eax, eax
pop ebp
je 0x4ae8ca
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0x60
push ebx
push edi
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0x190
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4ae956
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x9d8c]
mov ecx, dword [esi + 4]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x9d98]
mov edx, dword [esi + 0x9da0]
mov ecx, dword [esi + 0x9d94]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0x9d9c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x9d90]
test eax, eax
je 0x4ae94a
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4ae950
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call fcn.004cb960
add esp, 0xc
pop edi
pop ebx
pop esi
add esp, 0x10
ret

Function at 0x4aebe0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
pop esi
ret
Function at 0x4aff40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d3443
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004cb4b0
xor ebp, ebp
mov dword [esi + 0x24], 0x4d4b60
mov dword [esp + 0x18], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.004c2000
mov ecx, 0x28
mov eax, 8
mov dword [edi], 0x4d6344
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x4c], eax
mov dword [esi], 0x4d6320
mov dword [esi + 0x24], 0x4d6318
mov dword [esi + 0x38], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x3c], 1
mov dword [esi + 0x58], 0x16
mov dword [esi + 0x5c], 0x10
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b03a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4b040f
push 0
call fcn.004b11f0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5d6c1c]
test eax, eax
je 0x4b03f2
mov ecx, dword [esi + 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x14
push 1
push 1
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [esi + 4]
push 0x34
push 1
push 1
push 0
push 0
push 0
push edx
call edi
pop edi
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x38]
push 0
push eax
push 0x13a1
push ecx
mov dword [esi + 0x30], 0
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4