joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6320
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2b8
push esi
lea eax, [esp + 4]
xor esi, esi
push eax
push esi
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4a6399
mov edx, dword [esp + 4]
test edx, edx
je 0x4a6399
push edi
mov ecx, 0xac
lea edi, [esp + 0x10]
mov dword [esp + 0xc], eax
rep stosd dword es:[edi], eax
push 0x4009
lea ecx, [esp + 0x10]
push 0x2b4
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, eax
pop edi
test esi, esi
je 0x4a638e
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Duplicate]
mov esi, eax
test esi, esi
je 0x4a638e
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
pop esi
add esp, 0x2b8
ret

Function at 0x4a8120
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
push 0xa000
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 0x4a820c
mov ecx, 0x2800
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 0x537498
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
jne 0x4a8179
push esi
call fcn.004f3eca
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x14]
push ebp
push edx
call fcn.004a80d0
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.004cbca0
add esp, 0xc
test eax, eax
je 0x4a81d1
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x4a81d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4a81d1
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
mov edx, dword [esi + 4]
push edx
call ebp
mov ecx, 0x2800
xor eax, eax
mov edi, esi
mov dword [esp + 0x10], 0xa000
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push ebx
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x4a8191
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004f3eca
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4a85f0
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 0x4a86d6
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 0x4a8646
push esi
call fcn.004f3eca
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
push ebp
push edx
call fcn.004a80d0
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
add esp, 4
mov dword [esp + 0x1c], eax
test dword [esi + 0xc], 0x100000
jne 0x4a869b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
call fcn.004cbca0
add esp, 0xc
test eax, eax
je 0x4a869b
mov eax, dword [esi + 4]
push eax
call ebp
test eax, eax
jne 0x4a869b
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 0x4a865e
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004f3eca
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4a8b60
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
call ebp
mov ebx, dword [esp + 0x1c]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a8b8f
push eax
push esi
push 0xe11
call fcn.004b8560
add esp, 0xc
push 0
push ebx
call fcn.004a8a80
mov eax, dword [0x5b8078]
add esp, 8
test eax, eax
mov dword [esp + 0x10], 0
je 0x4a8be3
lea eax, [esp + 0x10]
push eax
push 0x537648
push 1
push 0
push 0x4fd988
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4a8be3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a8be3
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 edi, eax
mov dword [esp + 0x14], edi
call ebp
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a8c1c
push eax
push ebx
push 0xe12
call fcn.004b8560
add esp, 0xc
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
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 0x4a8c6d
mov eax, dword [esp + 0x24]
push eax
push 0
call fcn.004a85f0
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 0x4a8c97
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0
call fcn.004a8220
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 0x4a8cbf
mov edx, dword [esp + 0x24]
push edx
push 0
call fcn.004a8390
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 0x4a8cdd
call fcn.004a8980
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 5
push 0x402
push esi
call edi
test bl, 0x10
je 0x4a8cfb
call fcn.004a86e0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 6
push 0x402
push esi
call edi
test bl, 0x20
je 0x4a8d19
call fcn.004a89b0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 7
push 0x402
push esi
call edi
test bl, 0x40
je 0x4a8d37
call fcn.004a89e0
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 0x4a8d71
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 0x4a8d75
mov esi, dword [esp + 0x1c]
push 1
push esi
call fcn.004a8a80
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 0x4a9850
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 0x4a98e8
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 0x4a98e8
mov edx, dword [esp + 0x30]
push edx
call fcn.004a5ee0
mov edi, eax
add esp, 4
test edi, edi
je 0x4a98d0
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.004a9930
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x4a9dc0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x5ef7a0]
sub esp, 0x244
test eax, eax
je 0x4a9e0d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a9e0d
mov eax, dword [0x5ef7a0]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a9df9
mov ecx, dword [0x5ef7a0]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5ef7a0]
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 [0x5bdd6c]
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 0x4a9ea3
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 0x4aaf90
Capabilities:
Hide graphical window

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

Disassembly:
mov eax, dword [0x5ef9c4]
push ebx
push ebp
push esi
push edi
cmp eax, 1
mov edi, ecx
jne 0x4ada61
lea ebx, [edi + 0x3432c]
push 0xa
mov ecx, ebx
call fcn.004e7390
mov esi, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [ebx]
push esi
push 0xa
mov ecx, ebx
call dword [eax + 0x34]
jmp 0x4ada80
lea ebx, [edi + 0x28d84]
push 0xa
mov ecx, ebx
call fcn.004e7390
mov esi, dword [esp + 0x14]
mov edx, dword [ebx]
push esi
push 0xa
mov ecx, ebx
mov ebp, eax
call dword [edx + 0x34]
test ebp, ebp
je 0x4adad2
lea ebx, [edi + 0x2ab78]
mov ecx, ebx
call fcn.00406090
mov ebp, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0xc]
push 0x40
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi]
mov esi, dword [esi + 8]
sar eax, 1
add eax, ebp
sub esi, edx
add ecx, eax
sub ecx, eax
push ecx
push esi
push eax
mov eax, dword [edi + 0x2ab7c]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.004040c0
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, dword [edi + 0x2ab7c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4adaf0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x5ef9c4]
push ebx
push ebp
push esi
push edi
cmp eax, 1
mov edi, ecx
jne 0x4adb21
lea ebx, [edi + 0x35218]
push 0x13
mov ecx, ebx
call fcn.004e7390
mov esi, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [ebx]
push esi
push 0x13
mov ecx, ebx
call dword [eax + 0x34]
jmp 0x4adb40
lea ebx, [edi + 0x28d84]
push 0x13
mov ecx, ebx
call fcn.004e7390
mov esi, dword [esp + 0x14]
mov edx, dword [ebx]
push esi
push 0x13
mov ecx, ebx
mov ebp, eax
call dword [edx + 0x34]
test ebp, ebp
je 0x4adb92
lea ebx, [edi + 0x27a30]
mov ecx, ebx
call fcn.00493670
mov ebp, dword [esi + 4]
mov ecx, eax
mov eax, dword [esi + 0xc]
push 0x40
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi]
mov esi, dword [esi + 8]
sar eax, 1
add eax, ebp
sub esi, edx
add ecx, eax
sub ecx, eax
push ecx
push esi
push eax
mov eax, dword [edi + 0x27a34]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.00493690
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, dword [edi + 0x27a34]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4b2b70
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1048
call fcn.004f3f00
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1050]
xor eax, eax
shr ecx, 0x10
cmp ecx, 0x13
jne 0x4b2c47
push edi
mov ecx, 0x411
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x27a30]
stosw word es:[edi], ax
call fcn.00493640
test eax, eax
pop edi
je 0x4b2bda
cmp word [eax], 0
je 0x4b2bda
push 1
push 1
lea edx, [esp + 0xc]
push 0x824
push edx
push eax
push 0xffffffffffffffff
call fcn.00493ac0
mov ecx, eax
call fcn.00493fa0
jmp 0x4b2bf4
push 1
lea eax, [esp + 8]
push 0x824
push eax
push 0xffffffffffffffff
call fcn.00493ac0
mov ecx, eax
call fcn.004940c0
cmp word [esp + 4], 0
je 0x4b2c42
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x5b89c4]
lea edx, [esp + 4]
push ecx
push 0
push 0
push 1
push 1
push 8
push 0
push edx
lea ecx, [esi + 0xebcc]
call fcn.0047aa10
call fcn.0041bda0
mov eax, dword [eax + 4]
push 0
push 0x7612
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop esi
add esp, 0x1048
ret 4

Function at 0x4b2f40
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 0x4b30d0
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 0x4b3164
test edi, edi
jne 0x4b3164
test eax, eax
jne 0x4b3164
mov eax, dword [esp + 0x14]
add eax, 0xffffff90
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*8]
cmp word [eax*8 + 0x5d1b04], di
lea esi, [eax*8 + 0x5d1b04]
je 0x4b3164
push edi
call dword [sym.imp.USER32.dll_InSendMessageEx]
and eax, 9
cmp al, 1
jne 0x4b314c
push 1
call dword [sym.imp.USER32.dll_ReplyMessage]
push esi
lea ecx, [ebp + 0xebcc]
call fcn.0047a420
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 0x4b5930
Capabilities:
Capture screenshot

Disassembly:
add ecx, 0x36104
jmp 0x4e80e0
push 0xffffffffffffffff
push 0x4f8c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
xor edi, edi
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call dword [eax + 0x44]
mov edx, dword [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_GetDC]
push edx
call ebp
cmp eax, edi
je 0x4e8281
mov eax, dword [esi + 0x6b8]
cmp eax, edi
je 0x4e8281
lea ecx, [esp + 0x1c]
push ebx
push ecx
push eax
mov ecx, esi
call fcn.004e3d60
push edi
call ebp
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov ebx, eax
call ebp
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub edx, ebp
mov ebp, dword [esp + 0x20]
push edx
sub ecx, ebp
mov dword [esp + 0x20], eax
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x6b8]
push 0xcc0020
push edi
mov ecx, dword [esp + 0x30]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
push edx
sub eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
sub ecx, eax
push ecx
push edi
push edi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x4e81e2
push edi
push ebx
mov ecx, esi
call fcn.004e83f0
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4e81ca
lea eax, [esp + 0x10]
mov dword [esp + 0x30], 0x4fdfdc
push eax
push 0
push ebp
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0
push ecx
push str.image_bmp
mov ecx, esi
call fcn.004e82f0
test eax, eax
je 0x4e8240
lea edx, [esp + 0x40]
push 0
add esi, 0x6d8
push edx
push esi
push edi
call sub.gdiplus.dll_GdipSaveImageToFile
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
test eax, eax
pop ebx
je 0x4e826e
push eax
push 0
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e827b
push eax
push 0
call esi
push edi
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x4babc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f7fb1
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.004de0e0
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call fcn.004edfd0
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 1
call fcn.004832d0
lea ecx, [esi + 0x2d0]
mov byte [esp + 0x1c], 2
call fcn.004e2500
mov al, byte [esp + 0xf]
lea edx, [esi + 0x2c8]
mov byte [esi + 0x11cc], al
mov dword [esi + 0x11d0], edi
mov dword [esi + 0x11d4], edi
mov dword [esi + 0x11d8], edi
xor ecx, ecx
mov dword [esi], 0x4fd6fc
mov dword [ebx], 0x4fd6e8
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x11bc], edi
mov dword [esi + 0x11c0], 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 + 0x11c4], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x11e4], edi
mov dword [esi + 0x11e8], edi
mov dword [esi + 0x28], 0x64
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4bc950
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4bc96e
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 0x4bcf90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x11c0]
test eax, eax
je 0x4bd06c
mov eax, dword [esi + 0x11bc]
test eax, eax
je 0x4bd06c
mov dword [esi + 0x40], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x4bcfcc
push 0x4001
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x11bc]
call fcn.0045f1a0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov ecx, dword [esi + 0x11bc]
mov edx, dword [ecx]
call dword [edx + 0x6c]
cmp eax, 0x64
mov dword [esi + 0x28], eax
je 0x4bd005
mov ecx, dword [esi + 0x11bc]
push 0x64
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov ecx, esi
call fcn.004bd6b0
mov ecx, esi
call fcn.004bd530
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 + 0x11bc]
push edx
push 0x53
mov dword [esp + 0x24], eax
call fcn.0040edf0
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
mov ecx, esi
call fcn.004bc860
pop esi
add esp, 0x14
ret

Function at 0x4c02f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4c0329
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x50], 1
test ecx, ecx
je 0x4c0329
push 2
call fcn.004103c0
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.00410100
pop esi
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4f8568
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.004edfd0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004de0e0
mov dword [esi + 0x28], 0x4f9bf8
mov dword [esi + 0x2c], 0x64
lea eax, [esi + 0x1094]
mov dword [ebx], 0x4fda94
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push str.BG_EDIT
push eax
mov dword [esi], 0x4fda80
mov dword [esi + 0x28], 0x4fda78
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 + 0x1160], edi
mov dword [esi + 0x1158], edi
mov dword [esi + 0x115c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1090], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1154], edi
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x40]
mov dword [esi + 0x1164], 8
mov dword [esi + 0x1168], 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