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

Disassembly:
push 0xffffffffffffffff
push 0x448300
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4650f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.004114f0
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00412ee0
mov edi, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00412dd0
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.00401d00
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00411520
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.00411520
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0
call fcn.00411520
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 0x4130d3
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00411520
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.004121c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00411520
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 0x414ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4486b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4650f0]
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.00416d50
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 0x414b18
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401df0
mov esi, dword [esi]
push 0
push esi
call fcn.00435038
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.00411520
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00416fd0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x448270
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4650f0]
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 0x458581
mov dword [esp + 0x28], 0
call fcn.004020f0
mov ecx, esi
call fcn.0040a940
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.00401d00
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.00411520
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 0x14

Function at 0x414e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448728
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4650f0]
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.00414d90
lea ecx, [esp + 0x1c]
mov dword [esi], vtable.CPFRef.0
mov dword [esi + 4], 2
mov dword [esp + 0x14], 0xffffffff
call fcn.00411520
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x414f10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448770
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4650f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004114f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004114f0
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.00401d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00411520
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.00401d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00411520
lea ecx, [esp + 0xc]
call fcn.00411af0
lea ecx, [esp + 0x14]
call fcn.00411af0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x10]
cmp eax, dword [edx - 0xc]
jl 0x41500e
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00411520
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00411520
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.00408330
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00406480
add esp, 8
lea ecx, [esp + 0x14]
movzx esi, al
mov byte [esp + 0x30], 0
call fcn.00411520
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00411520
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 0x415070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4487c9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4650f0]
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.004114f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.004114f0
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.00401d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.00411520
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.00401d00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.00411520
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 0x41513f
push 0x458581
mov ecx, esi
call fcn.004020f0
jmp 0x41514c
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.004084a0
lea ecx, [esp + 0x14]
mov dword [esp + 8], 1
mov byte [esp + 0x2c], 1
call fcn.00411520
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00411520
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8

Function at 0x416ef0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x416f03
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.004356e9
add esp, 0x10
cmp eax, 1
je 0x416f3b
mov edx, dword [esi + 0x14]
push edx
call fcn.0043541e
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 0x416f50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x416f5f
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.00435863
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8

Function at 0x417140
Capabilities:
Write file on windows

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

Function at 0x417170
Capabilities:
Write file on windows

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

Function at 0x4171a0
Capabilities:
Write file on windows

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

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

Function at 0x417200
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x41720f
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.00435863
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x1f5
ret 8
Function at 0x4177b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x448c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4650f0]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4650f0]
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 0x417805
mov eax, 0x1f4
jmp 0x4179a0
mov eax, dword [ebp]
mov edx, dword [eax + 0xa4]
call edx
test eax, eax
je 0x41781e
mov eax, 0x1f5
jmp 0x4179a0
lea ecx, [esi + 4]
push 0x458581
mov dword [esp + 0x1c], edi
xor bl, bl
mov dword [esp + 0x20], ecx
call fcn.00401be0
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 0x417857
lea esi, [eax + 0x6a]
jmp 0x417893
push eax
push 1
lea eax, [esp + 0x38]
push 0x400
push eax
call fcn.004356e9
add esp, 0x10
cmp eax, 1
je 0x417891
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0043541e
add esp, 4
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffe0b
add esi, 0x1f5
jmp 0x417893
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 0x4178be
cmp esi, ecx
jne 0x41795b
cmp edi, 0x400
jge 0x4178ca
mov dword [esp + 0x14], ecx
xor esi, esi
test edi, edi
jle 0x4178fc
cmp bl, 0xa
mov al, byte [esp + esi + 0x30]
je 0x4178ec
cmp bl, 0xd
je 0x4178f0
test al, al
je 0x4178f8
add esi, ecx
cmp esi, edi
mov bl, al
jl 0x4178d0
jmp 0x4178fc
cmp al, 0xd
jmp 0x4178f2
cmp al, 0xa
je 0x4178f8
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.004020f0
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.00402020
lea ecx, [esp + 0x28]
mov dword [esp + 0x440], 0xffffffff
call fcn.00411520
cmp dword [esp + 0x14], 0
je 0x417839
cmp esi, edi
jl 0x41795f
cmp dword [esp + 0x18], 0
je 0x41799e
add esi, 2
jmp 0x41796e
mov eax, esi
jmp 0x4179a0
cmp dword [esp + 0x18], 0
je 0x41796b
add esi, 2
jmp 0x41796e
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.00433122
add esp, 0x430
ret 4
Function at 0x41a4a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x447ba0
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4650f0]
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 0x41a4e5
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x2c]
call fcn.00401df0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
cmp dword [eax - 4], 1
jle 0x41a500
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401df0
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.0x41a53a.4
jb 0x41a527
cmp eax, 0x1f
ja case.0x41a53a.4
add eax, 0xfffffffe
cmp eax, 0x1d
ja case.0x41a53a.4
movzx edx, byte [eax + 0x41a65c]
jmp dword [edx*4 + 0x41a648]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call fcn.00411520
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00411520
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.00411520
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00411520
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.00411520
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00411520
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.00411520
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00411520
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.00411520
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00411520
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 0x41b2b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4492a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4650f0]
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.0042a205
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 0x41b33e
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 0x41b340
push ebx
mov dword [edi + 8], ebx
call dword [0x46436c]
add esp, 4
mov dword [edi + 0xc], eax
jmp 0x41b340
xor edi, edi
cmp edi, ebp
mov dword [esi + 0x24], edi
je 0x41b372
mov eax, dword [edi + 8]
cmp eax, ebx
jb 0x41b350
mov eax, ebx
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call fcn.00435f10
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 0x41be00
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 0x41be19
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41be54
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x41be50
lea ebx, [ebx]
cmp esi, eax
jae 0x41be54
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x41be40
cmp esi, eax
jb 0x41be5a
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 0x41c3e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44943f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4650f0]
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.004114f0
lea ebx, [esi + 0x14]
mov ecx, ebx
mov dword [esp + 0x28], 0
call fcn.004114f0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 1
call fcn.004114f0
lea ecx, [esi + 0x24]
mov byte [esp + 0x28], 2
call fcn.004114f0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x28], 3
call fcn.004114f0
push 0x44d998
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.00401d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.00411520
push 0x44d998
lea ecx, [esp + 0x18]
call fcn.004010e0
lea edx, [esp + 0x18]
lea ecx, [ebx + 4]
push edx
mov byte [esp + 0x2c], 6
call fcn.00401d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.00411520
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.00401d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.00411520
push 0x44d998
lea ecx, [esp + 0x18]
call fcn.004010e0
lea edx, [esp + 0x18]
lea ecx, [esi + 0x28]
push edx
mov byte [esp + 0x2c], 8
call fcn.00401d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.00411520
push 0x44d998
lea ecx, [esp + 0x18]
call fcn.004010e0
lea eax, [esp + 0x18]
mov byte [esp + 0x28], 9
lea ecx, [esi + 0x30]
push eax
call fcn.00401d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.00411520
mov byte [esi + 0x34], 0
cmp dword [0x466f6c], 0
jne 0x41c57b
push 0x80000400
push 0x466f50
mov dword [0x466f6c], 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 0x41c610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449499
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4650f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x44d9dc
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.0041c590
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.00411520
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.00411520
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 1
call fcn.00411520
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00411520
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 0x41c700
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4494e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x4650f0]
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.00401d00
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00411520
sub esp, 8
mov ecx, esp
mov dword [esp + 0x5c], esp
push edi
call fcn.004010e0
lea ecx, [esp + 0x24]
call fcn.00412d30
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 1
call fcn.00414e40
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.004127c0
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.00401d00
lea ecx, [esp + 0xc]
mov byte [esp + 0x4c], 2
call fcn.00411520
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00402220
add eax, 4
lea ecx, [esi + 0x18]
push eax
mov byte [esp + 0x50], 4
call fcn.00401d00
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.00411520
mov esi, vtable.CPBasePath.0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x2c], esi
call fcn.00411520
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.00411520
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret 8