joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f94d
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x40f9c8
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x40fafd
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x40f9a4
push str.CreateThread_failed
push 0x43cbe8
call fcn.00406c36
pop ecx
pop ecx
mov ecx, 0x43cbe8
call fcn.0041d4a4
push 2
mov ecx, 0x43cbe8
call fcn.00406c31
mov dword [edi], ebp
inc dword [esi + 0x84]
mov eax, dword [0x441e70]
test eax, eax
je 0x40f9be
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x40f95d
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call ebx
mov edi, dword [esp + 0x38]
mov ebp, eax
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push eax
push edi
call dword [ecx + 0x48]
test eax, eax
js 0x417b06
cmp dword [esp + 0x10], 0
jne 0x417b4e
call ebx
sub eax, ebp
cmp eax, 0x7d0
ja 0x417b4e
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x417af0
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x417af0
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [eax + 0x48]
mov ebx, eax
test ebx, ebx
js 0x417bbc
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x417bb4
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x43181c
push ecx
call dword [eax]
mov ebx, eax
test ebx, ebx
js 0x417ba6
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov ebx, eax
test ebx, ebx
js 0x417b9c
mov eax, dword [esp + 0x14]
push dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
test ebx, ebx
js 0x417bbc
test ecx, ecx
jne 0x417c0d
xor ebp, ebp
cmp dword [esi + 8], ebp
je 0x417c0d
cmp dword [esi + 0x18], ebp
jne 0x417c0d
cmp dword [esi + 0x14], ebp
je 0x417c0d
push dword [esi + 0x14]
mov ecx, esi
call fcn.004180f8
mov edi, eax
test edi, edi
je 0x417c0d
push 0x204
push ebp
push ebp
push ebp
push ebp
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.00421e40
pop ecx
pop edi
not ebx
pop esi
shr ebx, 0x1f
pop ebp
mov al, bl
pop ebx
add esp, 0x24
ret 8
Function at 0x4182d5
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x1e], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00418042
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x18], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x41833f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x4310f8
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x4183c1
test ebp, ebp
je 0x4183d7
cmp dword [ebx + 0x18], esi
jne 0x4183d7
cmp dword [ebx + 0x14], esi
je 0x4183d7
push dword [ebx + 0x14]
mov ecx, ebx
call fcn.004180f8
mov esi, eax
test esi, esi
je 0x4183d7
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00421e40
pop ecx
jmp 0x4183d7
test eax, eax
je 0x4183d7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x41871f
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43178c
push 1
push ebx
push 0x43185c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4187f0
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x43184c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4187e7
cmp byte [ebp + 8], bl
je 0x418772
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x41878f
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x4187a1
push 0x4302e4
jmp 0x4187a4
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4187b9
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4187ca
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4187de
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4188c7
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x418909
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push 0x431304
push dword [esp + 0x10]
push dword [0x43cba4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4189ff
push ebx
push esi
push dword [0x43cba4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x41895c
push esi
push dword [0x43cba4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41895c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x418963
xor eax, eax
jmp 0x4189fe
push ebp
push edi
push ebx
xor ebp, ebp
push 2
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4189f8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4189f1
push ebx
push esi
push eax
call fcn.0041dd50
add esp, 0xc
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4189ea
push ebp
push dword [esp + 0x1c]
call fcn.0041889e
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x4189ea
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebp
test ecx, ecx
jne 0x4189e2
push 0xffffff
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x4189e2
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x418f70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0041cbd0
push 0x800
lea eax, [ebp - 0x1020]
push eax
call fcn.004188c7
cmp byte [0x44e7f2], 0
jne 0x419005
push 6
push dword [0x43a14c]
lea eax, [ebp - 0x1020]
push eax
call fcn.0040b61b
push eax
call fcn.00410875
test eax, eax
jne 0x419005
push 0x43055c
call fcn.00418d5c
lea eax, [ebp - 0x1020]
push eax
call fcn.00421e25
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x101e], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041dbf0
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esp, ebp
pop ebp
ret
Function at 0x419061
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43a164], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x4190ac
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x45791c], ax
xor eax, eax
mov word [0x45791e], ax
mov dword [0x43a164], 0x45791c
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040edb5
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43a154
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4192a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041cbd0
cmp byte [0x442128], 0
je 0x419352
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041a706
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419352
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419349
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41932d
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040ee95
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x4193fe
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041cbd0
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x419419
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x419426
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x4194e9
movzx eax, word [esi]
test ax, ax
je 0x4194e9
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x419473
test edi, edi
je 0x41947d
test ebx, ebx
jne 0x41947d
test ecx, ecx
je 0x41946f
mov byte [ecx], 1
mov ebx, ebp
jmp 0x419494
cmp eax, 0xd
je 0x4194a7
cmp eax, 0xa
je 0x4194aa
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x4194a2
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x419455
jmp 0x4194aa
mov byte [edx], 1
jmp 0x4194aa
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x4194e3
mov word [edi], ax
test ebx, ebx
je 0x4194e3
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040ee95
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x4194eb
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x4194f6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x419545
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x41954d
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41b93d
Capabilities:
Hide graphical window

Disassembly:
and dword [0x4420f8], 0
push 1
push dword [esp + 8]
mov byte [0x4420f5], 1
mov byte [0x4420f6], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401273
cmp dword [0x442100], 0
jne 0x41b97d
cmp byte [0x44211b], 0
je 0x41b986
cmp dword [0x442114], 0
jne 0x41b999
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41ba99
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041cbd0
cmp byte [0x442128], 0
je 0x41bb23
cmp word [0x456918], 0
je 0x41bb23
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x456918
call fcn.0041a706
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41bb22
push dword [ebp + 8]
call fcn.00421e25
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41bb29
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041cbd0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040ec8a
mov esi, eax
test esi, esi
je 0x41bb81
movzx ecx, word [esi]
push ecx
jmp 0x41bb6c
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040ed81
test al, al
jne 0x41bb65
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x404010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478bc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [0x4ef3d0]
push eax
lea ecx, [esp + 0xc]
call dword [0x4ef3d4]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [0x4ef3ec]
push eax
mov ecx, edi
call dword [0x4ef3f4]
push eax
mov ecx, esi
call dword [0x4ef3ec]
push eax
mov ecx, esi
call dword [0x4ef3f4]
push eax
lea eax, [esp + 0x18]
push eax
call dword [0x4ef3d8]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [0x4ef3dc]
lea ecx, [esp + 8]
call dword [0x4ef410]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4040b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478bc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [0x4ef3d0]
push eax
lea ecx, [esp + 0xc]
call dword [0x4ef3d4]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [0x4ef3cc]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [0x4ef3ec]
push eax
mov ecx, esi
call dword [0x4ef3f4]
push eax
lea eax, [esp + 0x18]
push eax
call dword [0x4ef3d8]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [0x4ef3dc]
lea ecx, [esp + 8]
call dword [0x4ef410]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40b8bc
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47a954
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040b570
call fcn.004750bc
push 0x84
push 0xe
push 0x84
call fcn.004750ce
push eax
call dword [0x4ef754]
push eax
push 0
push 0x7f00
push 0
call dword [0x4ef73c]
push eax
push 8
call fcn.004752cc
push 0
mov edi, eax
mov eax, 0x64
push 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push 0x80c00000
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x3c], 0x384
mov dword [esp + 0x40], 0x2bc
call dword [0x4ef740]
push 0
call dword [0x4ef5f0]
add esp, 4
push str._m_m__d_d__H:_M:_S
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.004062a0
push 0x4f0e04
push str.Version
push 0x4ef92d
mov ecx, 0x55f0d8
mov dword [esp + 0x48], 0
call fcn.004752c6
lea ecx, [esp + 0x10]
call dword [0x4ef3f4]
push eax
push str.Start
push 0x4ef92d
mov ecx, 0x55f0d8
call fcn.004752c6
push 0x4f1580
lea ecx, [esp + 0x1c]
call dword [0x4ef40c]
push 0x55f2b0
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x48], 1
call fcn.00404010
push 0x4f157c
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x54], 2
call fcn.004040b0
add esp, 0x18
lea ecx, [esp + 0x14]
call dword [0x4ef410]
mov byte [esp + 0x3c], 4
lea ecx, [esp + 0x18]
call dword [0x4ef410]
push 0x4f0e04
lea ecx, [esp + 0x10]
call dword [0x4ef418]
mov ebx, dword [esi]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
push 0x80ca0000
lea ecx, [esp + 0x20]
call dword [0x4ef3f4]
push eax
push edi
push 0
mov ecx, esi
call dword [ebx + 0x60]
lea ecx, [esp + 0xc]
mov esi, eax
call dword [0x4ef410]
lea ecx, [esp + 0x10]
call dword [0x4ef410]
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x482c07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004218c0
xor ebx, ebx
mov dword [esi], vtable.CGuiChat.0
mov dword [esp + 0x14], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x20]
call dword [0x4ef3f0]
lea ecx, [esi + 0x24]
call dword [0x4ef3f0]
lea ecx, [esi + 0x28]
call dword [0x4ef3f0]
mov eax, dword [0x4ef410]
mov ecx, dword [0x4ef3f0]
push eax
push ecx
push 8
push 4
lea edx, [esi + 0x30]
push edx
mov byte [esp + 0x28], 4
call fcn.00475694
mov ecx, dword [esp + 0xc]
mov al, 1
mov byte [esi + 0x50], al
mov byte [esi + 0x51], al
mov byte [esi + 0x52], al
mov byte [esi + 0x53], al
mov byte [esi + 0x55], al
mov byte [esi + 0x56], al
mov byte [esi + 0x57], al
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x54], bl
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41df00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4835f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x5430a4]
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi]
call dword [eax + 0xc]
test eax, eax
jne 0x41df34
xor al, al
jmp 0x41dfb8
push ebx
push esi
lea ecx, [esp + 0xc]
call dword [0x4ef3f0]
xor ebx, ebx
mov dword [esp + 0x10], 0x437f0000
mov dword [esp + 0x14], 0xff000000
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xea60
mov word [esp + 0x30], bx
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push ecx
lea esi, [edi + 0x10]
push esi
push edx
push eax
mov ecx, edi
mov dword [esp + 0x54], ebx
call fcn.0041de10
test al, al
jne 0x41df97
lea ecx, [esp + 0xc]
call dword [0x4ef410]
xor al, al
jmp 0x41dfb6
cmp word [esp + 0x30], bx
jne 0x41dfa4
mov dword [esi], 0xffffffff
cmp dword [esi], 0xffffffff
lea ecx, [esp + 0xc]
setne bl
call dword [0x4ef410]
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
pop edi
call fcn.004754bd
add esp, 0x3c
ret 8

Function at 0x41e1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4835f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x5430a4]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esi]
call dword [eax + 0xc]
test eax, eax
je 0x41e26b
lea ecx, [esp + 4]
call dword [0x4ef3f0]
xor eax, eax
mov dword [esp + 8], 0x437f0000
mov dword [esp + 0xc], 0xff000000
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xea60
mov word [esp + 0x28], ax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0041de10
test al, al
lea ecx, [esp + 4]
jne 0x41e26f
call dword [0x4ef410]
xor al, al
jmp 0x41e28a
call dword [0x4ef3f4]
push eax
call fcn.0041d970
add esp, 4
lea ecx, [esp + 4]
call dword [0x4ef410]
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
pop esi
call fcn.004754bd
add esp, 0x3c
ret 8