joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x446960
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x1c], 0
call eax
sub esp, 8
mov ecx, esp
mov dword [esp + 0xc], esp
lea edx, [esp + 0x28]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x28], 1
call fcn.004011f0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.0040ec70
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.0040ec70
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret 0xc

Function at 0x4112a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4469bb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4630c8]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x230]
neg eax
lea ecx, [esp + 0x14]
push ecx
sbb eax, eax
push 0
and eax, 9
push 0
add eax, 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x411308
mov eax, 0x66
jmp 0x411351
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0xc]
call fcn.004010e0
sub esp, 8
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov dword [esp + 0x234], 0
call fcn.00401050
mov ecx, esi
call fcn.00410b00
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0xffffffff
call fcn.0040ec70
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00431d0b
add esp, 0x224
ret 4
Function at 0x411930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446b40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.0040ec40
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00411820
mov edi, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00411710
push edi
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
mov byte [esp + 0x40], 2
call fcn.004011f0
add eax, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call fcn.00401b00
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.0040ec70
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.0040ec70
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0
call fcn.0040ec70
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx - 0xc]
mov eax, dword [eax - 0xc]
add ecx, 0xffffffff
cmp eax, ecx
jl 0x411a13
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ec70
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
sub esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00401050
mov ecx, dword [esp + 0x48]
call fcn.00410b00
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040ec70
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x4133f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0x14]
call fcn.00415690
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x34], 0
call edx
lea esi, [eax + 4]
mov eax, dword [esi]
mov ecx, 1
sub eax, 0x10
cmp dword [eax + 0xc], ecx
mov byte [esp + 0x30], cl
jle 0x413458
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401bf0
mov esi, dword [esi]
push 0
push esi
call fcn.004339d6
xor ecx, ecx
add esp, 8
cmp eax, 0xffffffff
setne cl
mov byte [esp + 0x30], 0
mov esi, ecx
lea ecx, [esp + 8]
call fcn.0040ec70
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00415910
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x446ab0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
sub esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x456411
mov dword [esp + 0x28], 0
call fcn.00401f20
mov ecx, esi
call fcn.0040a750
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x24]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.CPFPath.0
mov dword [esi + 4], eax
call fcn.00401b00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], ecx
lea ecx, [esp + 0x20]
mov dword [esi + 0x10], eax
mov dword [esp + 0x18], 0xffffffff
call fcn.0040ec70
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x14

Function at 0x4137c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446818
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x3f3f3f3f
push 0x3f3f3f3f
push 1
sub esp, 8
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x2c], 0
call fcn.00401050
mov ecx, esi
call fcn.004136d0
lea ecx, [esp + 0x1c]
mov dword [esi], vtable.CPFRef.0
mov dword [esi + 4], 2
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ec70
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x413850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446f80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0040ec40
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0040ec40
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x34], 1
call edx
add eax, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.00401b00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0040ec70
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x1c]
push edx
call eax
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.00401b00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.0040ec70
lea ecx, [esp + 0xc]
call fcn.0040f240
lea ecx, [esp + 0x14]
call fcn.0040f240
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x10]
cmp eax, dword [edx - 0xc]
jl 0x41394e
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.0040ec70
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040ec70
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
lea ecx, [esp + 0x10]
call fcn.00408140
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004062f0
add esp, 8
lea ecx, [esp + 0x14]
movzx esi, al
mov byte [esp + 0x30], 0
call fcn.0040ec70
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040ec70
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4139b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x446fd9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0040ec40
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.0040ec40
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x30], 2
call edx
add eax, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.00401b00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.0040ec70
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x1c]
push edx
call eax
add eax, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.00401b00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.0040ec70
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx - 0xc]
mov eax, dword [edx - 0xc]
cmp ecx, eax
mov esi, dword [esp + 0x34]
jl 0x413a7f
push 0x456411
mov ecx, esi
call fcn.00401f20
jmp 0x413a8c
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.004082b0
lea ecx, [esp + 0x14]
mov dword [esp + 8], 1
mov byte [esp + 0x2c], 1
call fcn.0040ec70
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040ec70
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8

Function at 0x415830
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x415843
mov eax, 0x6a
pop esi
ret 8
mov ecx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push 1
push eax
push ecx
call fcn.00434089
add esp, 0x10
cmp eax, 1
je 0x41587b
mov edx, dword [esi + 0x14]
push edx
call fcn.00433dbe
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f5
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x415890
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x41589f
mov eax, 0x6a
ret 8
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push 1
push eax
push ecx
call fcn.00434203
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8

Function at 0x415a80
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x415a8f
mov eax, 0x1f4
ret 4
push eax
push 1
lea eax, [esp + 0xc]
push 4
push eax
call fcn.00434203
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 4

Function at 0x415ab0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x415abf
mov eax, 0x1f4
ret 4
push eax
push 1
lea eax, [esp + 0xc]
push 2
push eax
call fcn.00434203
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 4

Function at 0x415ae0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x415aef
mov eax, 0x1f4
ret 4
push eax
push 1
lea eax, [esp + 0xc]
push 1
push eax
call fcn.00434203
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 4
Function at 0x415b10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x415b1f
mov eax, 0x1f4
ret 8
push eax
push 1
lea eax, [esp + 0xc]
push 8
push eax
call fcn.00434203
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8

Function at 0x415b40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x415b4f
mov eax, 0x1f4
ret 8
mov ecx, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push 1
push eax
push ecx
call fcn.00434203
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8
Function at 0x416040
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44742b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4630c8]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov esi, dword [esp + 0x448]
mov ebp, ecx
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x416095
mov eax, 0x1f4
jmp 0x416230
mov eax, dword [ebp]
mov edx, dword [eax + 0xa4]
call edx
test eax, eax
je 0x4160ae
mov eax, 0x1f5
jmp 0x416230
lea ecx, [esi + 4]
push 0x456411
mov dword [esp + 0x1c], edi
xor bl, bl
mov dword [esp + 0x20], ecx
call fcn.00401a30
mov dword [esp + 0x14], edi
mov eax, dword [ebp]
mov edx, dword [eax + 0x9c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call edx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4160e7
lea esi, [eax + 0x6a]
jmp 0x416123
push eax
push 1
lea eax, [esp + 0x38]
push 0x400
push eax
call fcn.00434089
add esp, 0x10
cmp eax, 1
je 0x416121
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00433dbe
add esp, 4
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffe0b
add esi, 0x1f5
jmp 0x416123
xor esi, esi
mov edx, dword [ebp]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call edx
mov edi, dword [esp + 0x24]
sub edi, dword [esp + 0x20]
test esi, esi
mov ecx, 1
je 0x41614e
cmp esi, ecx
jne 0x4161eb
cmp edi, 0x400
jge 0x41615a
mov dword [esp + 0x14], ecx
xor esi, esi
test edi, edi
jle 0x41618c
cmp bl, 0xa
mov al, byte [esp + esi + 0x30]
je 0x41617c
cmp bl, 0xd
je 0x416180
test al, al
je 0x416188
add esi, ecx
cmp esi, edi
mov bl, al
jl 0x416160
jmp 0x41618c
cmp al, 0xd
jmp 0x416182
cmp al, 0xa
je 0x416188
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + esi + 0x34], 0
call fcn.00401f20
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esp + 0x448], 0
call fcn.00401e50
lea ecx, [esp + 0x28]
mov dword [esp + 0x440], 0xffffffff
call fcn.0040ec70
cmp dword [esp + 0x14], 0
je 0x4160c9
cmp esi, edi
jl 0x4161ef
cmp dword [esp + 0x18], 0
je 0x41622e
add esi, 2
jmp 0x4161fe
mov eax, esi
jmp 0x416230
cmp dword [esp + 0x18], 0
je 0x4161fb
add esi, 2
jmp 0x4161fe
add esi, 1
mov ebx, dword [ebp]
mov edx, ebx
mov eax, dword [edx + 0x94]
mov ecx, ebp
call eax
mov ecx, eax
mov eax, edx
mov dword [esp + 0x1c], eax
mov eax, edi
sub eax, esi
cdq
sub ecx, eax
mov eax, dword [esp + 0x1c]
sbb eax, edx
mov edx, dword [ebx + 0xa0]
push eax
push ecx
mov ecx, ebp
call edx
xor eax, eax
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.00431d0b
add esp, 0x430
ret 4
Function at 0x418c70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4479a0
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
cmp dword [esi - 4], 1
mov dword [esp + 0x14], 1
jle 0x418cb5
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x2c]
call fcn.00401bf0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], 1
jle 0x418cd0
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401bf0
mov eax, dword [esp + 0x20]
push 1
xor ebx, ebx
push ebx
push esi
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cdq
cmp edx, ebx
ja case.0x418d0a.4
jb 0x418cf7
cmp eax, 0x1f
ja case.0x418d0a.4
add eax, 0xfffffffe
cmp eax, 0x1d
ja case.0x418d0a.4
movzx edx, byte [eax + 0x418e2c]
jmp dword [edx*4 + 0x418e18]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.0040ec70
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ec70
mov eax, 0x1f9
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.0040ec70
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ec70
mov eax, 0x1f5
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.0040ec70
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ec70
mov eax, 0x6a
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.0040ec70
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ec70
mov eax, 0x69
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.0040ec70
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ec70
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x419840
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x447ad3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebp, ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
push 0x10
mov dword [esp + 0x28], ebp
mov dword [esi], vtable.CPMemFile.0
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00428ba5
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x24], 1
je 0x4198ce
cmp ebx, ebp
mov dword [edi], vtable.CPMemBlock_char_.0
mov dword [edi + 4], 1
mov dword [edi + 0xc], ebp
mov dword [edi + 8], ebp
jbe 0x4198d0
push ebx
mov dword [edi + 8], ebx
call dword [0x462308]
add esp, 4
mov dword [edi + 0xc], eax
jmp 0x4198d0
xor edi, edi
cmp edi, ebp
mov dword [esi + 0x24], edi
je 0x419902
mov eax, dword [edi + 8]
cmp eax, ebx
jb 0x4198e0
mov eax, ebx
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call fcn.004348b0
mov eax, ebx
cdq
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x20], 1
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x41a7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41a7d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41a814
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x41a810
lea ebx, [ebx]
cmp esi, eax
jae 0x41a814
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x41a800
cmp esi, eax
jb 0x41a81a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x41ada0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447caf
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esi], vtable.CPLogger.0
call fcn.0040ec40
lea ebx, [esi + 0x14]
mov ecx, ebx
mov dword [esp + 0x28], 0
call fcn.0040ec40
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 1
call fcn.0040ec40
lea ecx, [esi + 0x24]
mov byte [esp + 0x28], 2
call fcn.0040ec40
lea ecx, [esi + 0x2c]
mov byte [esp + 0x28], 3
call fcn.0040ec40
push 0x44b4c8
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
mov dword [esi + 4], 6
mov dword [esi + 8], 0x1e
call fcn.004010e0
lea eax, [esp + 0x18]
lea ecx, [edi + 4]
push eax
mov byte [esp + 0x2c], 5
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040ec70
push 0x44b4c8
lea ecx, [esp + 0x18]
call fcn.004010e0
lea edx, [esp + 0x18]
lea ecx, [ebx + 4]
push edx
mov byte [esp + 0x2c], 6
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040ec70
push str..txt
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
lea ecx, [esi + 0x20]
push eax
mov byte [esp + 0x2c], 7
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040ec70
push 0x44b4c8
lea ecx, [esp + 0x18]
call fcn.004010e0
lea edx, [esp + 0x18]
lea ecx, [esi + 0x28]
push edx
mov byte [esp + 0x2c], 8
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040ec70
push 0x44b4c8
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
mov byte [esp + 0x28], 9
lea ecx, [esi + 0x30]
push eax
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.0040ec70
mov byte [esi + 0x34], 0
cmp dword [0x464f4c], 0
jne 0x41af3b
push 0x80000400
push 0x464f30
mov dword [0x464f4c], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41afd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447d09
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x44b4d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.004010e0
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], 1
call fcn.0041af50
add esp, 4
mov edi, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x40], 2
call fcn.004011f0
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x40], 3
call fcn.004011f0
add esi, 0x1c
push esi
mov esi, dword [esp + 0x44]
push esi
mov ecx, eax
mov byte [esp + 0x40], 4
call fcn.004011f0
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 1
mov byte [esp + 0x38], 3
call fcn.0040ec70
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.0040ec70
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 1
call fcn.0040ec70
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.0040ec70
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x41b0c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x447d58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4630c8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x54]
push edi
lea ecx, [esp + 0x10]
call fcn.004010e0
lea eax, [esp + 0x10]
lea ecx, [esi + 0x10]
push eax
mov dword [esp + 0x50], 0
call fcn.00401b00
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0040ec70
sub esp, 8
mov ecx, esp
mov dword [esp + 0x5c], esp
push edi
call fcn.004010e0
lea ecx, [esp + 0x24]
call fcn.00411670
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 1
call fcn.00413780
mov edi, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push ecx
sub esp, 8
mov ecx, esp
mov dword [esp + 0x60], esp
push edi
mov byte [esp + 0x5c], 2
call fcn.004010e0
lea ecx, [esp + 0x28]
call fcn.00411100
push edi
lea ecx, [esp + 0x10]
mov byte [esi + 0x34], 1
call fcn.004010e0
lea edx, [esp + 0x10]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x50], 3
call fcn.00401b00
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 2
call fcn.0040ec70
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00402040
add eax, 4
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0x50], 4
call fcn.00401b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.0040ec70
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x2c], esi
call fcn.0040ec70
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.0040ec70
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret 8