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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd975
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x689140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x6ee0a4]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov eax, dword [ecx + 4]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
cmp byte [eax + 0xd], 0
mov dword [ebp - 0x14], ecx
jne 0x4091bf
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
nop dword [eax]
cmp dword [ebx + 0x14], 7
lea ecx, [esi + 0x10]
mov dword [ebp - 0x18], esi
mov eax, ebx
jbe 0x409180
mov eax, dword [ebx]
cmp dword [ecx + 0x14], 7
mov edx, dword [ecx + 0x10]
jbe 0x40918b
mov ecx, dword [ecx]
push dword [ebp - 0x20]
push eax
call fcn.0040c760
add esp, 8
test eax, eax
je 0x4091a9
jns 0x4091a9
mov esi, dword [esi + 8]
mov dword [ebp - 0x10], 0
jmp 0x4091b4
mov edi, esi
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x409170
mov esi, dword [ebp - 0x1c]
jmp 0x4091c2
mov dword [ebp - 0x14], ecx
cmp byte [edi + 0xd], 0
jne 0x409211
cmp dword [edi + 0x24], 7
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x4091d6
mov eax, dword [eax]
cmp dword [ebx + 0x14], 7
mov ecx, ebx
jbe 0x4091e0
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp - 0x14]
push eax
mov edx, dword [edx]
call fcn.0040c760
add esp, 8
test eax, eax
je 0x4091f5
js 0x409211
mov dword [esi], edi
mov eax, esi
mov byte [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x6ee0a8], 0x4444444
je 0x4092b9
mov dword [ebp - 0x24], 0x6ee0a4
mov dword [ebp - 4], 0
push 0x3c
mov dword [ebp - 0x20], 0
call fcn.005988b3
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
push ebx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.00422b70
mov eax, dword [ebp - 0x28]
mov ecx, 0x6ee0a4
push edi
push dword [ebp - 0x10]
mov dword [edi + 0x28], 0
push dword [ebp - 0x18]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.00409ac0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00421750
int3
Function at 0x423b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce4b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x689140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.005988b3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00596424
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00423ad0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42c200
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x689140]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x1c]
mov esi, ecx
push eax
push 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2W]
test eax, eax
je 0x42c240
cmp dword [esp + 0x14], 3
je 0x42c25b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 3
push eax
push 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x42c26b
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.0059860b
mov esp, ebp
pop ebp
ret
push str.Unable_to_set_debug_service_as_antimalware_process_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xc]
call fcn.0042b180
push 0x68501c
lea eax, [esp + 8]
push eax
call fcn.00599dcb
int3
Function at 0x4403b0
Capabilities:
Get file size
Read 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 0x5d0bce
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x40], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x54], esi
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push ecx
push eax
mov dword [ebp - 0x3c], 1
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x440552
cmp dword [ebp - 0x1c], 0
jne 0x440546
mov edi, dword [ebp - 0x20]
cmp edi, 0x7fffffff
ja 0x440546
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov dword [ebp - 0x38], eax
cmp edi, ecx
jae 0x440478
lea eax, [edx + edi]
jmp 0x4404a9
jbe 0x4404ac
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x440491
push ecx
push edi
mov ecx, esi
call fcn.00440e60
mov edi, dword [ebp - 0x20]
jmp 0x4404ac
sub edi, ecx
push edi
push 0
push dword [ebp - 0x38]
call fcn.0059a470
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, edi
mov edi, dword [ebp - 0x20]
mov dword [esi + 4], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0
push eax
push edi
push dword [esi]
xorps xmm0, xmm0
push dword [ebp - 0x40]
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x440574
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
cmp edi, ecx
jae 0x4404f8
lea eax, [edx + edi]
mov dword [esi + 4], eax
jmp 0x440526
jbe 0x440526
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x44050e
push ecx
push edi
mov ecx, esi
call fcn.00440e60
jmp 0x440526
sub edi, ecx
push edi
push 0
push dword [ebp - 0x38]
call fcn.0059a470
mov ecx, dword [ebp - 0x38]
add esp, 0xc
add ecx, edi
mov dword [esi + 4], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.get_file_content
push 0xdf
jmp 0x44055e
push str.get_file_content:_GetFileSizeEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043cf90
push 0x68501c
lea eax, [ebp - 0x50]
push eax
call fcn.00599dcb
push str.get_file_content:_ReadFile
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043cf90
push 0x68501c
lea eax, [ebp - 0x50]
push eax
call fcn.00599dcb
int3
Function at 0x446400
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d13b5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x30
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], 0
push 0
push eax
mov word [ebp - 0x18], 0x500
call fcn.0059a470
push ecx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x50]
call fcn.004474d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x44652a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x44654c
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
setne bl
test eax, eax
je 0x4464b8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x44650c
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x44650c
mov esi, dword [edi]
lea eax, [ebp - 0x48]
cmp edi, eax
setne al
mov esi, dword [esi + 0x10]
movzx ecx, al
push ecx
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret
push str.Unable_to_duplicate_the_access_token_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x64]
call fcn.0043cf90
push 0x68501c
lea eax, [ebp - 0x64]
push eax
call fcn.00599dcb
push str.Unable_to_check_token_membership_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x64]
call fcn.0043cf90
push 0x68501c
lea eax, [ebp - 0x64]
push eax
call fcn.00599dcb
int3
Function at 0x4476c0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d15bd
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x10
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb8]
mov word [ebp - 0x14], 0x500
push 0
push 0x12
push 1
push eax
call fcn.004474d0
mov dword [ebp - 4], 0
mov ebx, 1
push dword [eax]
mov dword [ebp - 0x24], ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x447793
sub esp, 0x10
lea ecx, [ebp - 0x88]
push eax
push 0x13
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.004474d0
mov dword [ebp - 4], ebx
mov ebx, 3
push dword [eax]
mov dword [ebp - 0x24], ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x447793
sub esp, 0x10
lea ecx, [ebp - 0x58]
push eax
push 0x14
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.004474d0
mov ebx, 7
push dword [eax]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov byte [ebp - 0x1d], 0
test eax, eax
je 0x447797
mov byte [ebp - 0x1d], 1
test bl, 4
je 0x4477f3
and ebx, 0xfffffffb
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x4477f3
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x4477f3
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x50]
cmp edi, eax
mov ecx, esi
setne al
push eax
call dword [0x5f2510]
mov ecx, edi
call esi
mov dword [ebp - 0x2c], 0
test bl, 2
je 0x447852
and ebx, 0xfffffffd
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x447852
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x5c]
test edi, edi
je 0x447852
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x80]
cmp edi, eax
mov ecx, esi
setne al
push eax
call dword [0x5f2510]
mov ecx, edi
call esi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4478b7
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x8c]
test edi, edi
je 0x4478b7
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x8c]
test edi, edi
je 0x4478b7
mov esi, dword [edi]
lea eax, [ebp - 0xb0]
cmp edi, eax
setne cl
mov esi, dword [esi + 0x10]
movzx ecx, cl
push ecx
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret
Function at 0x4480b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1730
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
push ebx
push esi
push edi
mov eax, dword [0x689140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx - 0x10]
mov dword [ebp - 0x18], 0x36324233
mov dword [ebp - 0x14], 0x34453446
mov dword [ebp - 0x30], 0x5f676f6c
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], 0x75646f6d
mov dword [ebp - 0x28], 0x656c
mov dword [ebp - 0x1c], 0x1f
mov dword [eax + ebx - 0x10], 0x62afbc
mov eax, dword [ebx - 0x10]
mov eax, dword [eax + 8]
mov dword [eax + ebx - 0x10], 0x62afb4
mov eax, dword [ebx - 0x10]
mov eax, dword [eax + 0xc]
mov dword [eax + ebx - 0x10], 0x62afa0
mov eax, dword [ebx - 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x10]
mov dword [ecx + ebx - 0x14], eax
mov eax, dword [ebx - 0x10]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 0x14], eax
mov edi, dword [ebx - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov esi, dword [edi]
push eax
push 2
lea eax, [ebp - 0x140]
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
call dword [0x5f2510]
mov ecx, edi
call esi
push ecx
lea ecx, [ebp - 0x140]
call fcn.00448e60
lea ecx, [ebp - 0x140]
call fcn.00426780
mov edi, dword [ebx - 0xc]
mov dword [ebp - 0x18], 0x36324233
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x34453446
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], 0x5f676f6c
mov dword [ebp - 0x44], 0x75646f6d
mov dword [ebp - 0x40], 0x656c
mov dword [ebp - 0x34], 0x20
mov esi, dword [edi]
push eax
push 2
lea eax, [ebp - 0x238]
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
call dword [0x5f2510]
mov ecx, edi
call esi
push ecx
lea ecx, [ebp - 0x238]
call fcn.00448ee0
lea ecx, [ebp - 0x238]
call fcn.00426780
mov edi, dword [ebx - 8]
test edi, edi
je 0x448239
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x448239
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x448239
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449470
Capabilities:
Create thread

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x44c160
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 0x5d1e2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x64
call fcn.005988b3
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
xorps xmm0, xmm0
mov word [esi], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
movups xmmword [ecx + 0xc], xmm0
push 2
movq qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x24], 0
push ecx
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
call fcn.00597f4e
lea eax, [esi + 0x34]
push eax
call fcn.005960db
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
movq qword [esi + 0x5c], xmm0
add esp, 0xc
mov edi, dword [edi - 0x14]
mov dword [eax - 0x14], esi
test edi, edi
je 0x44c245
cmp dword [edi + 0x60], 0
jne 0x44c2c3
lea eax, [edi + 0x34]
push eax
call fcn.004053a0
add esp, 4
lea eax, [edi + 4]
push eax
call fcn.004053a0
add esp, 4
push 0x64
push edi
call fcn.0059886a
add esp, 8
mov edi, dword [ebp - 0x1c]
push 4
lea esi, [edi - 0xa4]
call fcn.005988b3
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x44d430
push 0
push 0
call fcn.005a86dc
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x24], edx
test edx, edx
je 0x44c2cd
mov ecx, dword [edi - 0x14]
cmp dword [ecx + 0x60], 0
jne 0x44c2c8
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ecx + 0x5c], edx
mov dword [ecx + 0x60], eax
cmp dword [ebp - 0x20], 0
jne 0x44c2c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005a3df0
call fcn.005a3df0
push 6
mov dword [ebp - 0x20], 0
call fcn.005954d3
int3
Function at 0x44a160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1aa5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x88]
cmp dword [ebx], eax
jl 0x44a2c2
call fcn.0044a910
sub esp, 8
mov ecx, ebx
mov eax, esp
mov dword [eax], 0x62b1d8
mov dword [eax + 4], 2
lea eax, [ebp - 0x38]
push eax
call fcn.0044f230
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea esi, [edi + 0x44]
movlpd qword [ebp - 0x1c], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x44a1e4
lock inc dword [eax + 4]
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x60]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
mov eax, dword [ebp - 0x3c]
cmova ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x44a21b
mov eax, dword [eax]
jmp 0x44a21e
or eax, 0xffffffff
push 0
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44a2e0
mov eax, dword [edi + 0x8c]
cmp dword [ebx], eax
jl 0x44a256
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44a24c
mov eax, dword [eax]
jmp 0x44a24f
or eax, 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x44a292
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x44a292
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x44a292
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x44a2c2
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44a2b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a2fc
push ecx
push edx
call fcn.0059886a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00447e70
push 0x68501c
mov eax, ecx
push eax
call fcn.00599dcb
call fcn.005a3d9f
int3
Function at 0x451d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2676
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x689140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
push eax
mov dword [esi], vtable.asw::mi::ModuleDestructions.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
push 0x40
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.005988b3
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 2
push 0x40
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.005988b3
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov byte [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4532a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, ecx
push edi
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x4532b7
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4533db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x453304
cmp dword [esi + 0x14], 7
jbe 0x4532dd
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4532f1
test al, 0x10
jne 0x4533db
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x4532fc
xor eax, eax
nop dword [eax + eax]
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 7
jbe 0x45331c
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
inc eax
push 2
push 0x62bb00
push eax
call fcn.00441d70
add esp, 0xc
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x453396
inc eax
mov dword [esp + 0x20], 0
cmp dword [esi + 0x10], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
mov ecx, esi
cmovb eax, dword [esi + 0x10]
mov dword [esp + 0x24], 0
cmp edi, 7
jbe 0x453362
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00428c10
cmp dword [esp + 0x24], 7
lea eax, [esp + 0x10]
push 0
cmova eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0x10]
call fcn.00428f60
mov eax, dword [esp + 0xc]
jmp 0x453310
mov eax, esi
cmp edi, 7
jbe 0x45339f
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4533db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 7
mov edi, eax
jbe 0x4533bc
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4533cc
test al, 0x10
jne 0x4533db
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret