joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437220
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
push esi
push edi
push 0x40
lea eax, [esp + 0x1c]
mov esi, ecx
push 0
push eax
call fcn.00513df0
push 0xf8
lea eax, [esp + 0x68]
push 0
push eax
call fcn.00513df0
mov eax, dword [ebp + 8]
add esp, 0x18
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
or eax, edx
mov ecx, dword [esi + 4]
movlpd qword [esp + 8], xmm0
je 0x4372f5
mov eax, dword [ecx + 0x4c]
lea edi, [esp + 8]
push edi
push 0x40
lea edi, [esp + 0x20]
mov ecx, dword [eax + 8]
push edi
mov edi, dword [ebp + 8]
push edx
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x4372f5
mov eax, 0x5a4d
cmp word [esp + 0x18], ax
jne 0x4372f5
mov eax, dword [esi + 4]
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
cdq
mov esi, eax
movlpd qword [esp + 0x10], xmm0
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
je 0x4372f5
mov eax, dword [esp + 8]
lea edi, [esp + 0x10]
push edi
push 0xf8
lea edi, [esp + 0x60]
mov eax, dword [eax + 0x4c]
push edi
push edx
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x4372f5
cmp dword [esp + 0x58], 0x4550
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x437470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541dc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x50
mov edx, dword [ebx + 8]
push esi
push edi
sub esp, 0x18
mov esi, ecx
mov ecx, esp
call fcn.0043d940
lea ecx, [ebp - 0x40]
call fcn.0043dd60
add esp, 0x18
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov word [eax], cx
lea ecx, [ebp - 0x40]
mov dword [eax + 0x14], 7
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x44], eax
call fcn.00413120
cmp dword [ebp - 0x48], 8
lea eax, [esi + 0xc]
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x28]
lea edi, [eax + eax]
xor eax, eax
test edi, edi
je 0x437524
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x437513
xor edx, dword [ebx + 0xc]
lea eax, [ebp - 0x5c]
mov esi, dword [ebp - 0x14]
mov ecx, esi
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00438520
cmp dword [eax + 4], 0
je 0x43754b
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.00437870
lea ecx, [ebp - 0x5c]
call fcn.00413120
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x437870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 4], ecx
mov edi, edx
cmp dword [edx + 0x14], 8
mov ebx, dword [edx + 0x10]
jb 0x43788b
mov edi, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4378a8
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x437897
mov edi, dword [edx + 0x18]
lea eax, [ebp - 0xc]
mov ebx, dword [ebp - 4]
xor edi, esi
push edi
push edx
push eax
mov ecx, ebx
call fcn.00438520
pop esi
mov edx, dword [eax + 4]
test edx, edx
je 0x437933
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x437915
cmp eax, edx
jne 0x4378f9
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea ecx, [ebx + 4]
push edx
call fcn.004382a0
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
lea ecx, [ebx + 4]
push edx
call fcn.004382a0
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, edx
jne 0x43791d
mov eax, dword [edx]
mov dword [ecx], eax
push edx
lea ecx, [ebx + 4]
call fcn.004382a0
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437e00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x541e95
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov esi, edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x437e30
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x437e54
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x437e40
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov ecx, ebx
xor eax, edx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00438520
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x437e8c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 8], 0x5d1745d
je 0x437fd5
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x1c], 0
call fcn.00511c75
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], esi
push dword [ebp + 0x10]
lea ecx, [esi + 8]
push edi
call fcn.004385a0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6722c0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6722c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x437f75
divss xmm2, xmm3
push ecx
movss dword [esp], xmm2
call fcn.0042e460
add esp, 4
fstp dword [ebp + 0x10]
movss xmm0, dword [ebp + 0x10]
call fcn.00512470
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x437f56
cmp edi, 0x200
jae 0x437f54
shl edi, 3
cmp edi, ecx
jae 0x437f56
mov edi, ecx
push edi
mov ecx, ebx
call fcn.00438310
mov edi, dword [ebp + 0xc]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00438520
mov edx, dword [eax]
jmp 0x437f7b
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx + 4]
jne 0x437fa3
mov dword [ecx + eax*8], esi
jmp 0x437fb5
cmp edi, edx
jne 0x437fac
mov dword [ecx + eax*8], esi
jmp 0x437fb9
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x437fb9
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.00510625
int3
Function at 0x437fe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x541e95
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x438010
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x438034
mov esi, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x438020
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
mov ecx, ebx
xor eax, edx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00438520
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x43806c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x4381cc
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x1c], 0
call fcn.00511c75
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00411520
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
movq qword [edi + 0x24], xmm0
mov dword [ebp - 4], 1
mov dword [edi + 0x28], 0
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6722c0]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6722c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x43816c
divss xmm2, xmm3
push ecx
movss dword [esp], xmm2
call fcn.0042e460
add esp, 4
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
call fcn.00512470
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x43814d
cmp esi, 0x200
jae 0x43814b
shl esi, 3
cmp esi, ecx
jae 0x43814d
mov esi, ecx
push esi
mov ecx, ebx
call fcn.00438310
mov esi, dword [ebp - 0x10]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00438520
mov edx, dword [eax]
jmp 0x438172
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x43819a
mov dword [ecx + eax*8], edi
jmp 0x4381ac
cmp esi, edx
jne 0x4381a3
mov dword [ecx + eax*8], edi
jmp 0x4381b0
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4381b0
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00510625
int3
Function at 0x438310
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x4384a0
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00433a50
mov ecx, dword [ebp - 4]
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x438478
cmp dword [edi + 0x1c], 8
lea ebx, [edi + 8]
mov eax, dword [eax]
mov esi, dword [ebx + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 0xc], ebx
jb 0x43838e
mov edx, dword [ebx]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp - 8], 0x811c9dc5
add esi, esi
mov dword [ebp - 0x10], esi
je 0x4383c3
mov ecx, dword [ebp - 8]
mov eax, esi
mov ebx, dword [ebp - 0xc]
movzx esi, byte [edx + ebx]
inc edx
xor esi, ecx
imul ecx, esi, 0x1000193
cmp edx, eax
jb 0x4383a6
mov eax, dword [ebp + 8]
lea ebx, [edi + 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebx + 0x18]
xor esi, dword [ebp - 8]
and esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], esi
cmp esi, ecx
jne 0x4383eb
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x43846e
mov esi, dword [edx + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.004384b0
test al, al
jne 0x438425
mov ebx, dword [esi]
mov eax, dword [ebp + 8]
cmp ebx, edi
je 0x43841d
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], edi
jmp 0x43846b
mov ebx, esi
cmp dword [ebp - 0xc], esi
je 0x43844b
nop dword [eax]
mov esi, dword [esi + 4]
mov ebx, esi
lea eax, [ebx + 8]
push eax
lea eax, [edi + 8]
push eax
call fcn.004384b0
test al, al
je 0x438481
cmp dword [ebp - 0xc], esi
jne 0x438430
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [ecx], edi
mov ecx, dword [ebp - 4]
mov edi, eax
cmp eax, ecx
jne 0x438375
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x43846b
push str.invalid_hash_bucket_count
call fcn.00510625
int3
Function at 0x43de30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x43de38
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542283
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
push edi
mov dword [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
lea ecx, [ebx + 0x54]
mov byte [ebp - 4], 4
call fcn.0043f510
lea ecx, [ebx + 0x74]
mov byte [ebp - 4], 5
call fcn.0043f510
mov dword [ebx + 0x94], 0
xor eax, eax
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 7
mov word [ebx + 0x94], ax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xc0], 7
mov word [ebx + 0xac], ax
lea edi, [ebx + 0xc4]
mov dword [ebp - 0x14], edi
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0xc
push 0x44
mov dword [ebp - 0x18], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00511c75
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e290
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
test eax, eax
je 0x43e2b5
jle 0x43e2af
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebx], 0
mov eax, dword [edi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43e2d4
jle 0x43e2cd
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x43e2e5
jle 0x43e2df
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 0x34]
test eax, eax
je 0x43e2fc
jle 0x43e2f5
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x94]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
cmp ecx, esi
je 0x43e327
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43e31e
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00413180
mov byte [edi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x43e333
mov esi, dword [esi]
push 0
push 0
push 3
push 0
push 7
push 0x120089
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [edi]
mov esi, eax
cmp esi, ecx
je 0x43e360
test ecx, ecx
jle 0x43e35c
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], esi
mov ecx, esi
test ecx, ecx
jle 0x43e445
push 0
push 0
push 0
push 0x1000002
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [edi + 4]
mov esi, eax
cmp esi, ecx
je 0x43e395
test ecx, ecx
jle 0x43e390
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], esi
mov ecx, esi
push 0
push 0
push 0
test ecx, ecx
jle 0x43e3a5
mov byte [edi + 0xc], 0
jmp 0x43e3d8
push 2
push 0
push dword [edi]
mov byte [edi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [edi + 4]
mov esi, eax
cmp esi, ecx
je 0x43e3ce
test ecx, ecx
jle 0x43e3c9
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], esi
mov ecx, esi
test ecx, ecx
jle 0x43e40c
push 0
push 0
push 0
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
lea eax, [ebp + 8]
cmp eax, ebx
je 0x43e400
mov eax, dword [ebx]
cmp esi, eax
je 0x43e40c
test eax, eax
jle 0x43e3fc
push eax
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call eax
mov dword [ebx], esi
jmp 0x43e40c
test esi, esi
jle 0x43e40c
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call eax
cmp dword [ebx], 0
je 0x43e445
push 0
mov ecx, edi
call fcn.0043e540
test eax, eax
js 0x43e451
cmp byte [ebp + 0xc], 0
jne 0x43e451
cmp dword [edi + 0xa8], 8
lea eax, [edi + 0x94]
jb 0x43e435
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0043f1a0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x43e460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x43e47d
jle 0x43e476
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x43e494
jle 0x43e48d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x43e4a9
jle 0x43e4a3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x43e4c0
jle 0x43e4b9
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [esi + 0x34], 0
cmp byte [ebp + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
jne 0x43e532
cmp dword [esi + 0xa8], 8
lea ecx, [esi + 0x94]
jb 0x43e4e9
mov ecx, dword [esi + 0x94]
xor eax, eax
mov dword [esi + 0xa4], 0
mov word [ecx], ax
cmp byte [esi + 0x10], al
je 0x43e516
add esi, 0xac
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x43e50d
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43e51c
add esi, 0xac
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43e526
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
pop esi
pop ebp
ret 4
Function at 0x43f1a0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5422ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x430
push esi
push edi
push 0x200
lea eax, [ebp - 0x240]
mov edi, ecx
push 0
push eax
call fcn.00513df0
add esp, 0xc
mov dword [ebp - 0x14], 0
lea esi, [edi + 0x38]
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
mov ecx, edi
movups xmmword [ebp - 0x3c], xmm0
push esi
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x3c], 0x20
call fcn.0043f390
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43f375
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x43f303
push 0x200
push ecx
lea eax, [ebp - 0x440]
push eax
call fcn.00513df0
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x240]
push eax
push 0
push str.ImageManifest
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x43f27a
mov eax, 0xc0150002
jmp 0x43f377
push 0
push 0
push 4
push 0
push 0
push 0x120116
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jle 0x43f2f5
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x240]
xor esi, esi
mov ecx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x34], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f2d7
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
lea ecx, [edi + 0xac]
jmp 0x43f32f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
jmp 0x43f377
movzx eax, word [esi]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x94]
mov dword [ebp - 0x34], ecx
lea ecx, [edi + 0xac]
mov dword [ebp - 0x38], 8
cmp ecx, eax
je 0x43f335
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x43f32e
mov eax, dword [eax]
push edx
push eax
call fcn.00413180
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov ecx, dword [edi + 0x34]
mov esi, eax
cmp esi, ecx
je 0x43f358
test ecx, ecx
jle 0x43f353
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [edi + 0x34], esi
mov ecx, esi
test ecx, ecx
jg 0x43f375
mov eax, dword fs:[0x18]
cmp dword [eax + 0xbf4], 0xc0000022
jne 0x43f2f5
mov dword [edi + 0x38], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4