joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f5c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x130], eax
cmp eax, ebx
je 0x41f7ca
cmp byte [eax], bl
je 0x41f7ca
lea eax, [ebp - 0x118]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x118], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f7ca
mov edx, dword [ebp - 0x118]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x11c]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x41f64c
mov dword [ebp - 0x11c], 0x64
push edi
xor edi, edi
mov dword [ebp - 0x12c], ebx
cmp dword [ebp - 0x11c], ebx
jbe 0x41f7a5
push esi
xor eax, eax
push edi
push str._04u
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
lea eax, [ebp - 0xc]
push 5
push eax
call fcn.0041fb30
mov eax, dword [ebp - 0x118]
add esp, 0x10
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push ebx
lea edx, [ebp - 0xc]
push edx
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41f765
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x124]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], 0x104
call esi
test eax, eax
je 0x41f6f7
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f765
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41f71e
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f765
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x124]
push edx
push ebx
push str.Characteristics
push eax
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x120], 4
call esi
mov ecx, dword [ebp - 0x114]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41f798
inc edi
cmp edi, dword [ebp - 0x11c]
jb 0x41f662
mov eax, dword [ebp - 0x118]
pop esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
pop esi
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 4
Function at 0x41f7e0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x41f821
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push ecx
call fcn.0041fb30
add esp, 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 4]
push esi
push edx
call fcn.0057c2b7
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
cmp esi, edi
jne 0x41f850
mov eax, dword [ebp + 8]
push str.GetMAC_Failed__Because_malloc_failed_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 4]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x41f888
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push edx
call fcn.0041fb30
push esi
call fcn.0057c27d
add esp, 0x14
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp + 8]
lea esp, [esp]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x41f8c7
cmp eax, 8
ja 0x41f8c7
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.0057bc40
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0041f5c0
test al, 4
jne 0x41f8cd
mov esi, dword [esi]
test esi, esi
jne 0x41f890
mov edx, dword [ebp - 0xc]
push edx
call fcn.0057c27d
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x423695
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6d1d28]
push esi
mov esi, ecx
mov ecx, dword [eax + 8]
mov dword [ecx + 0xc], 1
cmp dword [esi + 0x10], 0
push 0
mov ecx, 0x6d1d20
push 0
je 0x4236cb
push 3
mov dword [0x6d1f4c], 1
call fcn.0040c590
mov dword [esi + 0x10], 0
jmp 0x4236d2
push 2
call fcn.0040c590
cmp dword [0x6e1f08], 0
pop esi
jne 0x4236f0
mov dword [0x6e1f08], 1
mov ecx, 0x6e1e70
jmp fcn.004cf020
ret
Function at 0x4421b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.0043aac0

Function at 0x442700
Capabilities:
Delete file

Disassembly:
push esi
push edi
push 0x5a6678
push str.._image_InterfaceScript_AdvancedSetDlg.bin
mov edi, ecx
call fcn.004421b0
mov ecx, dword [edi + 0x18]
mov esi, eax
push esi
call fcn.00574b50
mov ecx, esi
call fcn.0050cfa0
pop edi
mov dword [0x6d2584], esi
mov ecx, esi
pop esi
jmp fcn.0050d780

Function at 0x45a8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a86
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
xor edi, edi
mov dword [esi], vtable.CReinforceManager.0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
push 0x14
mov byte [ebp - 4], 1
call fcn.005466f0
push 0x14
lea ecx, [esi + 0x28]
call fcn.005466f0
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4641f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5991b6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
xor eax, eax
mov dword [edi], vtable.CMunpaMarkManager.0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
push 0x40
mov byte [ebp - 4], 1
mov dword [edi + 0x4c], eax
call fcn.005466f0
push 0x40
lea ecx, [edi + 0x28]
call fcn.005466f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x473500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push edi
mov edi, ecx
test eax, eax
jne 0x473523
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
pop ebp
ret 4
push esi
push eax
mov ecx, 0x6e0d70
call fcn.004a6eb0
mov esi, eax
test esi, esi
je 0x473542
mov ax, word [ebx + 6]
mov word [esi + 0x288], ax
jmp 0x473571
push str.CItemShopGridDialog::AddItem
push ebx
mov ecx, 0x6e0d70
call fcn.004aa130
mov esi, eax
test esi, esi
jne 0x47355f
pop esi
pop edi
pop ebx
pop ebp
ret 4
push esi
mov ecx, 0x6e0d70
mov dword [esi + 0x20], 1
call fcn.004b3aa0
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
movzx ecx, ax
push ecx
mov ecx, edi
call fcn.00473420
movzx eax, ax
push esi
push eax
mov ecx, edi
call fcn.0042e2a0
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x48a940
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x27e]
cmp ebx, 1
jne 0x48a98a
mov eax, dword [0x6e108c]
add eax, 0x1d4c0
push edi
mov dword [esi + 0x232], eax
call fcn.004491d0
push str.ANRaster.tga
lea ecx, [esi + 0x27e]
call fcn.00449200
pop edi
push ebx
mov ecx, esi
call fcn.00429430
pop esi
pop ebx
pop ebp
ret 4
call fcn.004491d0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00429430
pop esi
pop ebx
pop ebp
ret 4

Function at 0x48a9b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x27e]
cmp ebx, 1
jne 0x48a9ff
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
add eax, dword [0x6e108c]
push edi
mov dword [esi + 0x232], eax
call fcn.004491d0
push str.ANRaster.tga
lea ecx, [esi + 0x27e]
call fcn.00449200
pop edi
push ebx
mov ecx, esi
call fcn.00429430
pop esi
pop ebx
pop ebp
ret 8
call fcn.004491d0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00429430
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48c740
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ab88
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xa
call fcn.00574770
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
push 0xa
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
call fcn.00574770
push 0xa
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 3
call fcn.00574770
push 0xa
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 4
call fcn.00574770
push 0xa
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 5
call fcn.00574770
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4aee30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x4aee5e
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4aef4c
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4aee94
test eax, eax
je 0x4aee91
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4aee85
push edi
push 0
push 2
mov dword [ebp - 0x1ac], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4aef4b
lea ecx, [ebp - 0x1ac]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4aef3c
jmp 0x4aeed0
lea edx, [ebp - 0x188]
push edx
lea eax, [ebp - 0x84]
push 0x5a6934
push eax
call fcn.0057a74f
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov ecx, esi
call fcn.004a9f00
test eax, eax
je 0x4aef2b
mov ecx, 0x6f0448
call fcn.00523c40
push 0x230
mov ecx, 0x6e1fd8
call fcn.004d0c40
push eax
push 1
push 0x179e
push 0x6df860
call fcn.00445890
add esp, 0x10
lea edx, [ebp - 0x1ac]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4aeed0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret

Function at 0x4c24a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x6cbba5], 0
push esi
mov esi, ecx
je 0x4c24c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x6e10a0], eax
mov byte [0x6cbba5], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x6e10a0], eax
cmp eax, ecx
jae 0x4c24da
dec edx
mov dword [0x6e1088], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x6e1088]
add dword [0x6e108c], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x4c2504
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret

Function at 0x4cac40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4cac72
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp + 8]
push ecx
push 0x47c
lea edx, [edi + 0x480]
push edx
push esi
call ebx
test eax, eax
jne 0x4caca2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
push eax
push 0xa8
add edi, 0x9a4
push edi
push esi
call ebx
push esi
test eax, eax
je 0x4cac93
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x4cef70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4cefa6
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4cefe6
cmp dword [ebp - 8], 0x61208
jne 0x4cefe6
push 0
lea edx, [ebp - 4]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4ceff6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 4], 0xac
push esi
ja 0x4cefe7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cf020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4cf085
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 4]
push ecx
push esi
mov dword [ebp - 4], 0x61208
call edi
push 0
lea edx, [ebp - 8]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cfbc0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x6d005c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x95c8], eax
push edi
lea edi, [ecx + 0x95c8]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], al
mov eax, dword [ecx + 0x95b2]
mov ecx, dword [ecx + eax*4 + 0x958a]
push edx
mov dword [ebp - 0x20], edi
call fcn.00430fe0
test eax, eax
je 0x4cfda6
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4cfc3f
cmp ecx, 0xffb9f145
je 0x4cfc3f
cmp ecx, 0xff01d1f7
je 0x4cfc3f
cmp ecx, 0xfff0ff00
je 0x4cfc3f
cmp ecx, 0xfff7b618
je 0x4cfc3f
cmp ecx, 0xffebc3ce
jne 0x4cfda6
push ebx
lea ebx, [eax + 4]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cfc48
sub eax, edx
push esi
mov dword [ebp - 0x2c], eax
mov esi, 0
je 0x4cfc5e
mov esi, ebx
xor ebx, ebx
cmp byte [esi], 0x5b
jne 0x4cfda4
xor ecx, ecx
inc esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ecx
cmp eax, ecx
jle 0x4cfda4
lea ecx, [ecx]
cmp byte [ecx + esi], 0x5d
jne 0x4cfcef
lea edi, [ebx + 1]
xor eax, eax
push edi
lea ecx, [ebp - 0x18]
push esi
push ecx
mov dword [ebp - 0x28], 1
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
call fcn.00525190
push 5
push 0x5b2b60
push esi
call fcn.0057c99a
add esp, 0x18
test eax, eax
je 0x4cfcd5
push 5
push 0x5b2b58
push esi
call fcn.0057c99a
add esp, 0xc
test eax, eax
jne 0x4cfcfa
cmp dword [ebp - 0x1c], 0
jne 0x4cfcfa
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
jmp 0x4cfcf0
inc ebx
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x4cfc80
jmp 0x4cfcfd
mov edi, dword [ebp - 0x20]
cmp ebx, 0x10
jg 0x4cfda4
cmp dword [ebp - 0x28], 0
je 0x4cfda4
cmp dword [ebp - 0x1c], 0
je 0x4cfd1b
add ebx, 2
jmp 0x4cfd1c
inc ebx
push ebx
push esi
push edi
call fcn.00525190
mov edx, dword [0x6d1cec]
add esp, 0xc
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4cfda4
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x12
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4cfd77
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x12
push edi
push eax
mov byte [eax], 0
call fcn.00525190
add esp, 0xc
push esi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
push 0x65e
mov ecx, 0x6e1fd8
call fcn.004d0c40
push eax
push 0x1d
push 0x6e1fd8
call fcn.004d1fb0
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 4
Function at 0x4eaf90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d62b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x3d
lea eax, [esi + 0x4c]
push ebx
push eax
mov dword [esi], vtable.COBalloonName.0
mov dword [esi + 0x8a], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x144], ebx
mov byte [esi + 0x148], bl
mov dword [esi + 0x8e], 0xffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0057a0c0
xor eax, eax
mov dword [esi + 0x92], eax
mov dword [esi + 0x96], eax
mov dword [esi + 0x9a], eax
mov dword [esi + 0x9e], eax
mov byte [esi + 0xa2], al
mov dword [esi + 0xa3], eax
mov dword [esi + 0xa7], eax
mov dword [esi + 0xab], eax
mov dword [esi + 0xaf], eax
mov dword [esi + 0xb3], eax
mov dword [esi + 0xb7], eax
mov dword [esi + 0xbb], eax
mov dword [esi + 0xbf], eax
mov byte [esi + 0xc3], al
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov byte [esi + 0xe4], al
mov dword [esi + 0xe5], eax
mov dword [esi + 0xe9], eax
mov dword [esi + 0xed], eax
mov dword [esi + 0xf1], eax
mov dword [esi + 0xf5], eax
mov dword [esi + 0xf9], eax
mov dword [esi + 0xfd], eax
mov dword [esi + 0x101], eax
mov byte [esi + 0x105], al
mov dword [esi + 0x106], eax
mov dword [esi + 0x10a], eax
mov dword [esi + 0x10e], eax
mov dword [esi + 0x112], eax
mov dword [esi + 0x116], eax
mov dword [esi + 0x11a], eax
mov dword [esi + 0x11e], eax
mov dword [esi + 0x122], eax
mov byte [esi + 0x126], al
mov dword [esi + 0x127], eax
mov dword [esi + 0x12b], eax
mov dword [esi + 0x12f], eax
mov dword [esi + 0x133], eax
push 0x142
mov byte [esi + 0x137], al
call fcn.0057a150
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4eb159
mov ecx, eax
call fcn.00431e80
jmp 0x4eb15b
xor eax, eax
mov dword [esi + 0x14e], eax
mov dword [esi + 0x14a], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x138], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eddd0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d853
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor esi, esi
mov dword [edi], vtable.CQuestManager.0
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [ebp - 4], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], esi
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], esi
mov dword [edi + 0x78], esi
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], esi
mov dword [edi + 0x84], esi
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 3
call fcn.004ed7b0
lea ecx, [edi + 0x144]
mov byte [ebp - 4], 4
call fcn.004f0dd0
push 0x3e8
lea ecx, [edi + 4]
mov byte [ebp - 4], 5
call fcn.005466f0
push 0xc8
lea ecx, [edi + 0x28]
call fcn.005466f0
push 0x3e8
lea ecx, [edi + 0x4c]
call fcn.005466f0
push 0x64
lea ecx, [edi + 0x70]
call fcn.005466f0
push 4
call fcn.0057a150
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
cmp eax, esi
je 0x4edec7
mov ecx, eax
call fcn.004efca0
jmp 0x4edec9
xor eax, eax
push 0x80
mov dword [edi + 0x94], eax
lea eax, [edi + 0xc0]
push esi
push eax
call fcn.0057a0c0
add esp, 0xc
mov dword [edi + 0x140], esi
mov dword [edi + 0x178], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f0dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d9db
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d005c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
xor edi, edi
mov dword [esi], vtable.CNewbieGuide.0
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
push 0x60
mov dword [ebp - 4], edi
call fcn.005466f0
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret