joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afb10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
and ecx, 0xffff
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4afb62
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4afb62
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x4afb56
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
pop ebp
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4afec0
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
mov dword [esp + 8], 0
je 0x4aff0a
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x4aff0a
mov ecx, edi
call fcn.004afea0
mov ecx, dword [eax]
lea edx, [esp + 8]
push 0
push edx
push 0
push esi
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x4aff28
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4aff28
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 8

Function at 0x4b0900
Capabilities:
Get file system object information

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x2b4
test edx, edx
push esi
je 0x4b099f
push edi
mov ecx, 0xad
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c4]
mov eax, 8
test ecx, ecx
pop edi
je 0x4b0937
mov eax, 9
mov esi, dword [esp + 0x2cc]
test esi, esi
je 0x4b0947
or ah, 0x40
jmp 0x4b094a
or ah, 1
mov ecx, dword [esp + 0x2c4]
test ecx, ecx
je 0x4b0957
or al, 2
mov ecx, dword [esp + 0x2c8]
test ecx, ecx
je 0x4b0967
or eax, 0x10000
push eax
lea eax, [esp + 8]
push 0x2b4
push eax
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4b099f
test esi, esi
je 0x4b0991
mov eax, dword [esp + 8]
pop esi
add esp, 0x2b4
ret 0x14
mov eax, dword [esp + 4]
pop esi
add esp, 0x2b4
ret 0x14
xor eax, eax
pop esi
add esp, 0x2b4
ret 0x14

Function at 0x4b0c20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov ax, word [0x500df0]
mov edx, ecx
push edi
mov word [esp + 4], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x214]
lea ecx, [esp + 8]
push ecx
push eax
mov ecx, edx
call fcn.004b0330
test eax, eax
pop edi
je 0x4b0c87
push 1
push 0
lea ecx, [esp + 8]
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
add esp, 0x208
ret 4
xor eax, eax
add esp, 0x208
ret 4
Function at 0x4b17b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x31c
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 2
mov dword [0x73eebc], ecx
mov dword [0x73eec8], ecx
mov dword [0x73eec0], ecx
mov dword [0x73eec4], ecx
mov esi, 1
jne 0x4b1830
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x4b1817
mov eax, dword [esp + 0xc]
cmp eax, ecx
jne 0x4b180b
mov dword [0x73eec8], esi
jmp 0x4b183a
cmp eax, esi
jne 0x4b183a
mov dword [0x73eec0], esi
jmp 0x4b183a
cmp eax, 6
jne 0x4b183a
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x4b1828
cmp eax, esi
jne 0x4b183a
mov dword [0x73eec4], esi
jmp 0x4b183a
cmp eax, esi
jne 0x4b183a
mov dword [0x73eebc], esi
mov cx, word [0x500df0]
push edi
mov word [esp + 0x11c], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11e]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x11c]
push 0x103
push edx
stosw word es:[edi], ax
call fcn.004b24e0
mov ax, word [esp + 0x124]
add esp, 8
cmp ax, 0x37
pop edi
jne 0x4b188e
mov dword [0x73eecc], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x4b18a2
mov dword [0x73eed0], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x4b18b6
mov dword [0x73eed4], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x39
jne 0x4b18c2
mov dword [0x73eed8], esi
pop esi
add esp, 0x31c
ret

Function at 0x4b19b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
push 0xd
xor edi, edi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4b1a1d
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4b1a1d
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4b1a12
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4b1a12
mov edi, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push eax
push 0x4ed128
push edi
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [ebx + edi*2 - 2], 0
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x4b1a30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor esi, esi
push ebp
mov dword [esp + 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
test edi, edi
jle 0x4b1ad9
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4b1ad9
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea esi, [edi + edi + 2]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4b1ac9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4b1ac2
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4b1ac2
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x4b1f70
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x4b1fa4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x4b1f8d
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4b1fa4
cmp eax, 0x20
je 0x4b1fa4
mov eax, 1
pop esi
ret
mov eax, dword [0x73eebc]
test eax, eax
je 0x4b1fc1
push 0
push esi
call fcn.004b1fe0
add esp, 8
neg eax
sbb eax, eax
pop esi
neg eax
inc eax
ret
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 2
pop esi
ret

Function at 0x4b21e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push 0x207
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4b2269
cmp eax, 0x207
ja 0x4b2269
lea ecx, [esp]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 - 2], 0x5c
je 0x4b222a
lea edx, [esp]
push 0x4ef314
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
lea eax, [esp + 8]
push str.wininit.ini
push eax
push 0x4ee3cc
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret
Function at 0x4b2280
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x870
mov ax, word [0x500df0]
push ebx
push ebp
mov ebp, dword [esp + 0x87c]
push edi
mov word [esp + 0x264], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x266]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
push 0x4ed4f0
push ebp
push 0x4ee3cc
lea ecx, [esp + 0x270]
push 0x103
push ecx
mov dword [esp + 0x20], 1
stosw word es:[edi], ax
call ebx
add esp, 0x14
lea edx, [esp + 0x14]
lea eax, [esp + 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4b2303
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x870
ret
push esi
mov esi, dword [esp + 0x888]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x44]
push 0x4ed42c
push ecx
call edi
add esp, 8
test eax, eax
je 0x4b23ec
lea edx, [esp + 0x44]
push 0x4ed424
push edx
call edi
add esp, 8
test eax, eax
je 0x4b23ec
test byte [esp + 0x18], 0x10
je 0x4b2393
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x678], ax
xor eax, eax
lea edi, [esp + 0x67a]
lea edx, [esp + 0x678]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
push ecx
push ebp
push 0x4f05cc
push 0x103
push edx
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x68c]
push esi
push eax
call fcn.004b2280
add esp, 0x1c
jmp 0x4b23e8
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x470], cx
mov ecx, 0x81
lea edi, [esp + 0x472]
lea edx, [esp + 0x44]
rep stosd dword es:[edi], eax
push edx
push ebp
stosw word es:[edi], ax
push 0x4ee3cc
lea eax, [esp + 0x47c]
push 0x103
push eax
call ebx
add esp, 0x14
test esi, esi
je 0x4b23da
cmp esi, 1
jne 0x4b23ec
lea ecx, [esp + 0x470]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b230b
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x4b2418
cmp esi, 2
jne 0x4b242a
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x870
ret
mov eax, dword [esp + 0x10]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x870
ret

Function at 0x4b2440
Capabilities:
Copy file
Move file

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x4b2471
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x4b2471
push 0
push esi
call fcn.004b1f70
add esp, 8
xor eax, eax
pop edi
pop esi
ret
mov eax, dword [0x73eebc]
test eax, eax
je 0x4b2490
push edi
push esi
call fcn.004b1fe0
add esp, 8
test eax, eax
je 0x4b24a3
pop edi
mov eax, 2
pop esi
ret
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
mov eax, 2
jne 0x4b24a8
mov eax, 1
pop edi
pop esi
ret
Function at 0x4b24b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 0x26
push esi
push 0
mov word [esi], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
pop esi
ret

Function at 0x4b38b0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4db728
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x60]
sub esp, 8
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
je 0x4b38f2
mov eax, dword [ecx + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
cmp eax, ebx
jne 0x4b3924
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4b39e9
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x1b0]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4b39e9
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
call dword [ecx + 0xd0]
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4b39c9
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 2
push ecx
push eax
mov dword [esp + 0x2c], ebx
call fcn.0043e240
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebx
mov eax, dword [esp + 0x20]
je 0x4b39a4
cmp eax, ebx
je 0x4b3977
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], ebx
call fcn.0043e0b0
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebx
je 0x4b39a4
push eax
call fcn.004a10b0
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x4b39b3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], bl
cmp eax, ebx
je 0x4b39c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x18], 0xffffffff
je 0x4b39db
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4b39e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4b4d70
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4db7e0
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.004d3600
lea ebp, [esi + 0x28]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004c6070
mov dword [esi + 0x2c], 0x4de4f0
mov dword [esi + 0x30], 0x64
mov eax, dword [0x4ed0fc]
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 3
call fcn.004bdcb0
lea ecx, [esi + 0x258]
mov byte [esp + 0x18], 4
call fcn.004ac570
lea ecx, [esi + 0x270]
mov byte [esp + 0x18], 5
call fcn.004ac570
lea ecx, [esi + 0x2b8]
mov byte [esp + 0x18], 6
call fcn.004a89c0
lea ecx, [esi + 0x98]
mov dword [ebp], 0x4df4f0
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
push str.BG_COMBOCOOL
push ecx
mov dword [esi], 0x4df4d8
mov dword [esi + 0x2c], 0x4df4d0
mov dword [esi + 0x44], edi
mov dword [esi + 0x2b0], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
call ebp
lea edx, [esi + 0x1d8]
push str.BG_EDIT
push edx
call ebp
lea eax, [esi + 0xd8]
push str.LeftPad
push eax
call ebp
lea ecx, [esi + 0x118]
push str.RightPad
push ecx
call ebp
lea edx, [esi + 0x158]
push str.ImgTextPad
push edx
call ebp
add esp, 0x28
mov dword [esi + 0x2ac], 3
mov word [esi + 0x218], di
mov dword [esi + 0x29c], edi
mov dword [esi + 0x290], edi
mov dword [esi + 0x28c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x298], edi
mov dword [esi + 0x294], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], 0xf2f2f2
mov dword [esi + 0x94], 0xa8a8a8
mov dword [esi + 0x2a0], 0xffffff
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x2b4], edi
mov dword [esi + 0x288], edi
mov dword [esi + 0x2a4], 5
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2a8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b6530
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
test eax, eax
push esi
push edi
mov esi, ecx
je 0x4b6623
push 0
push eax
mov eax, dword [esi + 0x50]
push eax
call fcn.004bdfc0
mov ecx, dword [esi + 0x70]
mov edx, eax
shl edx, 5
mov ecx, dword [ecx + 4]
add esp, 0xc
add ecx, edx
mov edx, dword [ecx + 0x1c]
test edx, edx
jbe 0x4b6623
cmp edx, 2
jbe 0x4b659b
cmp edx, 4
jne 0x4b6623
mov edx, dword [ecx + 0x10]
mov eax, dword [esi + 0x78]
push edx
push 0
push 0xbd1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0x208
ret 4
mov edi, dword [esi + 0x28c]
push eax
mov ecx, esi
call fcn.004b5af0
cmp edi, dword [esi + 0x28c]
je 0x4b6623
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4b6619
mov edx, dword [esi + 0x74]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4b6604
mov eax, dword [esi + 0x74]
push 0
push 0xd
push 0x100
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add esp, 0x208
ret 4
mov ecx, dword [esi + 0x74]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
add esp, 0x208
ret 4
mov edx, dword [esi + 0x74]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
add esp, 0x208
ret 4
Function at 0x4b7050
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4db8ea
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.004d3600
xor edi, edi
mov dword [esi + 0x28], 0x4de4f0
mov dword [esp + 0x18], edi
mov dword [esi + 0x2c], 0x64
lea ebp, [esi + 0x30]
mov byte [esp + 0x18], 1
mov ecx, ebp
call fcn.004c6070
lea ecx, [esi + 0x230]
mov byte [esp + 0x18], 2
call fcn.004ac570
lea ecx, [esi + 0x248]
mov byte [esp + 0x18], 3
call fcn.004ac570
lea ecx, [esi + 0x2310]
mov byte [esp + 0x18], 4
call fcn.004a89c0
mov dword [esi], 0x4df500
mov dword [esi + 0x28], 0x4df4f8
mov dword [ebp], 0x4df4f4
mov ebp, dword [sym.imp.MSVCRT.dll_wcscpy]
mov dword [esi + 0x68], edi
mov word [esi + 0x27c], di
mov word [esi + 0x12c8], di
mov dword [esi + 0x12c4], 1
mov dword [esi + 0x6c], edi
lea eax, [esi + 0x140]
mov dword [esi + 0x70], edi
push str.BG_COMBOCOOL
mov dword [esi + 0x74], edi
push eax
mov dword [esi + 0x210], edi
call ebp
lea ecx, [esi + 0x180]
push str.BG_EDIT
push ecx
call ebp
lea edx, [esi + 0x80]
push str.LeftPad
push edx
call ebp
lea eax, [esi + 0xc0]
push str.RightPad
push eax
call ebp
lea ecx, [esi + 0x100]
push str.ImgTextPad
push ecx
call ebp
mov eax, 0x10
add esp, 0x28
mov dword [esi + 0x22c], 3
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x268], edi
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edi
mov dword [esi + 0x208], edi
mov dword [esi + 0x20c], edi
mov dword [esi + 0x200], eax
mov dword [esi + 0x218], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x274], edi
mov dword [esi + 0x278], edi
mov dword [esi + 0x21c], edi
mov dword [esi + 0x220], 0xf2f2f2
mov dword [esi + 0x7c], edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x78], edi
mov dword [esi + 0x228], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x214], edi
mov dword [esi + 0x260], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x224], 5
mov dword [esi + 0x264], 0x20
mov dword [esi + 0x60], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b9670
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004b9710
test eax, eax
je 0x4b96c2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b96b6
cmp word [esi + 0x12c8], 0
lea edi, [esi + 0x12c8]
je 0x4b96b6
push edi
mov ecx, esi
mov dword [esi + 0x12c4], 0
call fcn.004b7980
mov word [edi], 0
mov dword [esi + 0x12c4], 1
mov eax, dword [esi + 0x4c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x4c]
push 0x2009
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x73eec8]
test eax, eax
je 0x4b9704
mov edx, dword [esi + 0x50]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x14
push 1
push 1
push 0
push 0
push 0
push edx
call edi
mov eax, dword [esi + 0x4c]
push 0x34
push 1
push 1
push 0
push 0
push 0
push eax
call edi
pop edi
pop esi
ret 4
Function at 0x4bb6d0
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 0x4bb878
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 + 0x4adc]
xor eax, eax
test ebx, ebx
sete al
push eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x4adc], eax
call fcn.004c3450
mov edx, dword [esi + 0x4adc]
lea ecx, [esi + 0xaec]
push edx
call fcn.004c3450
mov eax, dword [esi + 0x4adc]
test eax, eax
je 0x4bb7fb
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 + 0x4ae8]
mov dword [esi + 0x4ae4], 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 + 0x4ae0], 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.004b1ae0
add esp, 0x10
test eax, eax
jne 0x4bb7a1
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 0x4bb7da
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 0x4bb866
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x4ae0]
mov ecx, dword [esi + 4]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x4aec]
mov edx, dword [esi + 0x4af4]
mov ecx, dword [esi + 0x4ae8]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0x4af0]
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 + 0x4ae4]
test eax, eax
je 0x4bb85a
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4bb860
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.004d3c20
add esp, 0xc
pop edi
pop ebx
pop esi
add esp, 0x10
ret