joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae052
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.00489f80
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x2c], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x2c], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [esp + 0x2c], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x40c4c8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.bad_locale_name
push eax
lea ecx, [esp + 0x14]
call fcn.0048f69a
mov byte [esp + 0x2c], 7
mov dword [esp + 0x10], vtable.std::runtime_error.0
mov byte [esp + 0x2c], 6
lea eax, [esp + 0x10]
push 0x4dd60c
push eax
call fcn.0049093b
push edi
push esi
call fcn.00489daf
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048d894
add esp, 0x24
ret 4

Function at 0x40cdb0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4ae320
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
push 0
push dword [esp + 0x5c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00401f00
mov dword [esp + 0x4c], 0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0040cc50
add esp, 0x20
mov dword [esp + 0x34], 1
cmp dword [eax + 0x14], 0x10
jb 0x40ce35
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [esp + 0x3c]
push eax
call fcn.0048f69a
mov byte [esp + 0x34], 2
mov dword [esi], vtable.std::runtime_error.0
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 0x10
jb 0x40ce68
push dword [esp + 0x10]
call fcn.0048e056
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 0xc
Function at 0x40d1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae4a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x40f190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aea61
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], 0
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.00431b70
mov dword [esp + 0x38], 1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov edx, esi
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x14]
call fcn.00433e40
mov edx, 0x10
mov ecx, esi
call fcn.00433790
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 8
jb 0x40f232
push dword [esp + 0x14]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0048d894
add esp, 0x34
ret

Function at 0x40f270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aeab1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esp + 8], 0
push eax
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
push 0x4c4fb4
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004024f0
mov dword [esp + 0x30], 1
lea edx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0040f540
add esp, 4
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x40f30f
push dword [esp + 0x10]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
mov eax, esi
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x40fe50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aec81
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], 1
xor eax, eax
push eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push 0x4c4fb4
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.004024f0
mov byte [esp + 0x50], 2
lea edx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.0040f540
add esp, 4
mov byte [esp + 0x50], 4
cmp dword [esp + 0x20], 8
jb 0x40ff01
push dword [esp + 0xc]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], eax
mov ecx, esi
push eax
mov word [esp + 0x14], ax
mov word [esi], ax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.00402030
cmp dword [esi + 0x10], 0
mov dword [esp + 0x24], 1
je 0x40ff52
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.0040a1c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.00410050
test eax, eax
setne byte [esp + 8]
cmp dword [esp + 0x3c], 0
je 0x40ff82
push dword [esp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.0041f210
mov ecx, eax
call fcn.0041f2e0
mov byte [esp + 0x50], 1
cmp dword [esp + 0x40], 8
jb 0x40ff9a
push dword [esp + 0x2c]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x50], al
cmp dword [esp + 0x6c], 8
jb 0x40ffc8
push dword [esp + 0x58]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0048d894
add esp, 0x4c
ret
Function at 0x4138b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af288
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00412ae0
mov dword [esp + 0x30], 0
cmp dword [esp + 0x1c], 0
jne 0x4138fc
xor bl, bl
jmp 0x413907
lea ecx, [esp + 0xc]
call fcn.004344f0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x413922
push dword [esp + 0xc]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0048d894
add esp, 0x2c
ret

Function at 0x413cf0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af346
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esp + 0x34], 0
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
mov dword [ecx + 0x14], 7
push eax
push dword [esp + 0x44]
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00402030
mov byte [esp + 0x34], 1
xor eax, eax
push 0x33
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
push str.RCCACHESTAT_1FC367B9_AD02_4DC5_90FD_ED13A130C814_
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004024f0
mov byte [esp + 0x34], 2
cmp dword [esp + 0x20], 0
mov dword [esi + 0x24], 0
mov word [esi + 0x28], 0
je 0x413dbd
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
jmp 0x413dbf
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x24], eax
test eax, eax
je 0x413de2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x413de2
mov byte [esi + 0x29], 1
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 8
jb 0x413dfa
push dword [esp + 0x10]
call fcn.0048e056
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 4
Function at 0x419840
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4affd3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
cmp dword [ecx + 0xc0], 0
je 0x4199ca
lea esi, [ecx + 0xb0]
mov ecx, esi
call fcn.004430f0
push 4
call fcn.0048e0a6
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x4198b1
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x4198b3
xor eax, eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], 1
push 0x80
push 2
push ecx
push 0x40000000
push esi
lea ecx, [esp + 0x30]
call fcn.00441740
mov esi, dword [esp + 0x1c]
test al, al
je 0x419995
mov dword [esp + 0x18], 0
call fcn.00416b10
add eax, 0xa8
lea ecx, [esp + 8]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xc], xmm0
call fcn.00435380
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
test esi, esi
je 0x419937
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x419937
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x28], xmm0
call fcn.0048fb1d
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
test esi, esi
je 0x419995
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x419995
push 0
lea ecx, [esp + 0x1c]
push ecx
push 8
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x419995
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x419995
mov dword [esi], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
test esi, esi
je 0x4199ca
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4199b9
test eax, eax
je 0x4199b9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.0048e056
add esp, 4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0048d894
add esp, 0x3c
ret

Function at 0x419af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af169
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
xor eax, eax
mov esi, dword [esp + 0x1c]
add ecx, 0x30
push 0xffffffffffffffff
push eax
push ecx
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00402030
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x41eb80
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x4e0654], 0
jne 0x41ec13
xor eax, eax
push 0x208
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00492dc0
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov word [esp + 0x20e], ax
cmp word [esp + 8], ax
jne 0x41ebed
xor ecx, ecx
jmp 0x41ec03
lea ecx, [esp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ebf4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc]
mov ecx, 0x4e0644
push eax
call fcn.004024f0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0048d894
add esp, 0x214
ret

Function at 0x41ee70
Capabilities:
Get session user name

Disassembly:
sub esp, 0x220
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [0x4e2240]
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
jle 0x41eeb2
inc eax
mov dword [0x4e2240], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0048d894
add esp, 0x220
ret
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
xor bl, bl
call fcn.0041ec40
test al, al
je 0x41ef7d
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41ef7d
push str.ImpersonateLoggedOnUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [esp + 0xc]
call eax
test eax, eax
je 0x41ef76
inc dword [0x4e2240]
mov eax, dword [esi]
test eax, eax
je 0x41ef12
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esp + 0xc]
mov bl, 1
mov dword [esi], eax
cmp dword [0x4e066c], 0
mov dword [esp + 0xc], 0
jne 0x41ef76
xor eax, eax
push 0x208
push eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push eax
call fcn.00492dc0
add esp, 0xc
mov dword [esp + 0x10], 0x104
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x4e065c
mov word [esp + 0x21a], ax
lea eax, [esp + 0x14]
push eax
call fcn.00403790
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x41ef8c
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x228]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d894
add esp, 0x220
ret
Function at 0x41f0e0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [esp + 4], ecx
test ecx, ecx
je 0x41f151
lea eax, [esp + 4]
push eax
push dword [esp + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp]
neg eax
sbb eax, eax
and dword [esp + 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x10]
setne al
xor ecx, esp
call fcn.0048d894
add esp, 0x14
ret
Function at 0x423e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b163b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x423f03
push 0x10
call fcn.00489b8f
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x423ef6
push 0x421b80
push 0x421b70
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.004a8f88
jmp 0x423ef8
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x423f17
cmp byte [ecx + eax - 1], 0xa
jne 0x423f17
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.00421b90
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x42a290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b1b89
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x42a2cc
xor esi, esi
jmp 0x42a2da
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42a2d1
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0042a7b0
push eax
mov ecx, edi
call fcn.0040dcc0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x43aa20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b0933
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00402030
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00402030
mov byte [esp + 0x18], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov ax, word [esi + 0x34]
mov word [edi + 0x34], ax
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x43aad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad889
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00402030
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00402030
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00402030
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00402030
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x43abb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b3aef
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00402030
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00402030
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00402030
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00402030
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x64]
push eax
call fcn.00402030
mov byte [esp + 0x18], 4
lea ecx, [edi + 0x7c]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x7c]
push eax
call fcn.00402030
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x43af40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b3b18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4df5dc]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x4df5dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0xc], eax
mov edi, ecx
mov ecx, eax
mov dword [esp + 0x20], 0
sub ecx, edi
mov eax, 0x81848da9
imul ecx
xorps xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], 0
add edx, ecx
mov dword [esp + 0x14], 0
sar edx, 9
mov esi, edx
mov dword [esp + 0x18], 0
shr esi, 0x1f
add esi, edx
lea eax, [esi + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
mov ecx, edi
push dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push eax
push esi
call fcn.0043b6e0
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x10]
test esi, esi
je 0x43b020
cmp esi, dword [esp + 0x18]
je 0x43b017
mov edi, edi
mov ecx, esi
call fcn.004410b0
add esi, 0x3f4
cmp esi, dword [esp + 0x18]
jne 0x43b000
mov esi, dword [esp + 0x10]
push esi
call fcn.0048e056
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0048d894
add esp, 0x28
ret