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

Disassembly:
push 0xffffffffffffffff
push 0x521f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x41fd91
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479f30
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x530380
test esi, esi
mov dword [edi], eax
je 0x41fdd7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41fdd7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41fdd7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x521f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x41fe51
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479f30
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x530388
test esi, esi
mov dword [edi], eax
je 0x41fe97
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41fe97
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41fe97
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x41ff80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x521f38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
sub esp, 0x10
test esi, esi
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
lea ecx, [edi + 8]
mov dword [esp + 0x18], esp
mov dword [eax + 0xc], esi
je 0x41ffe1
lea eax, [esi + 4]
mov edx, 1
lock xadd dword [eax], edx
call fcn.00479f30
neg al
mov dword [esp + 0x14], 0xffffffff
sbb eax, eax
and eax, 0x530398
test esi, esi
mov dword [edi], eax
je 0x420027
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x420027
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x420027
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x423120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x519e98
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x20], esi
call fcn.004239f0
mov dword [esi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
push esi
lea ebx, [esp + 0x14]
call fcn.004232f0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51c529
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.0041e010
mov byte [esp + 0x54], 2
mov dword [edi], 0x424380
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.0041c2c0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x424596
test al, 1
jne 0x42458e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x42458e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4245bf
test al, 1
jne 0x4245bf
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x4245bf
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x424b10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x51c529
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.0041e010
mov byte [esp + 0x54], 2
mov dword [edi], 0x424a10
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.0041c2c0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x424c16
test al, 1
jne 0x424c0e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x424c0e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x424c3f
test al, 1
jne 0x424c3f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x424c3f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x424c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51c279
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x50]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x80]
mov dword [esp + 0x68], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
push ecx
mov ecx, dword [esp + 0x78]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], esp
call fcn.00425ad0
mov byte [esp + 0x48], 2
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [edi + 4], ecx
mov dword [edi], edx
mov edx, dword [eax]
lea esi, [edi + 0x10]
lea ecx, [eax + 8]
mov dword [edi + 8], edx
call fcn.0041c2c0
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0xc], 1
je 0x424d1f
test al, 1
jne 0x424d17
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x424d17
lea ecx, [esp + 0x24]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x1c], 0
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x424d48
test al, 1
jne 0x424d48
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x424d48
lea ecx, [esp + 0x68]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
ret
Function at 0x424e10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x51c529
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.0041e010
mov byte [esp + 0x54], 2
mov dword [edi], 0x424d60
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.0041c2c0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x424f16
test al, 1
jne 0x424f0e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x424f0e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x424f3f
test al, 1
jne 0x424f3f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x424f3f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x428970
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x51e0ea
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebp
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebp, ebp
mov edi, ecx
mov dword [esi], ebp
call fcn.005147f0
lea ecx, [esp + 0x2c]
mov dword [esi + 4], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
push esi
push ebp
mov edx, edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], ebp
call fcn.004320d0
test al, al
jne 0x4289fb
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x64], 0xffffffff
call fcn.00432070
or eax, 0xffffffff
jmp 0x428b44
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x428a2a
call fcn.005147f0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], edi
or edi, 0xffffffff
mov dword [esi], eax
mov dword [esp + 0x10], edi
jmp 0x428a36
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
neg ecx
sbb ecx, ecx
test ecx, fcn.004b2590
je 0x428a5e
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x64], 0xffffffff
call fcn.00432070
or eax, 0xffffffff
jmp 0x428b44
cmp dword [esp + 0x10], ebp
jl 0x428a99
jg 0x428a6e
cmp edi, 0x7a1200
jbe 0x428a99
call fcn.004014b0
mov dword [esi + 4], eax
lea eax, [esp + 0x24]
mov ecx, 0x64
push eax
mov dword [esi], ecx
mov dword [esp + 0x64], 0xffffffff
call fcn.00432070
mov eax, 0xfffffffe
jmp 0x428b44
mov eax, edi
mov ecx, ebx
call fcn.004077f0
mov ecx, edi
or ecx, dword [esp + 0x10]
jne 0x428ab4
lea edx, [esp + 0x24]
push edx
jmp 0x428b35
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x428ac2
mov ecx, dword [ebx + 8]
sub ecx, eax
jne 0x428ac8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 4]
push esi
push 1
lea eax, [esp + 0x1c]
push eax
push ebp
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.00432860
cmp eax, edi
jne 0x428af0
cmp edx, dword [esp + 0x10]
je 0x428b09
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x64], 0xffffffff
call fcn.00432070
mov eax, 0xfffffffd
jmp 0x428b44
mov edx, dword [esi]
neg edx
sbb edx, edx
test edx, fcn.004b2590
je 0x428b30
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x64], 0xffffffff
call fcn.00432070
mov eax, 0xfffffffd
jmp 0x428b44
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x64], 0xffffffff
call fcn.00432070
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00515015
add esp, 0x58
ret
Function at 0x42b6c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x519c7d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [esp + 0x38]
push eax
mov esi, ecx
call fcn.00428b70
xor eax, eax
mov dword [esp + 0xc0], eax
mov cl, byte [esp + 0xa7]
and cl, 0xf2
lea edx, [esp + 0x34]
or cl, 2
add esi, 0x9c
push edx
mov byte [esp + 0xa8], al
mov byte [esp + 0xab], cl
call fcn.0042c070
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x1c], eax
jbe 0x42b758
call edi
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x14], eax
jbe 0x42b766
call edi
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov eax, 0x70
mov ecx, eax
mov ebx, eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push esi
mov esi, dword [esp + 0x30]
sub esp, 0x14
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edi
call fcn.0042e8d0
add esp, 0x24
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0xc4], 0xffffffff
call fcn.00428c10
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00515015
mov esp, ebp
pop ebp
ret 4
Function at 0x42ff90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x51827a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ebx, [esi + esi + 2]
cmp ebx, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], esi
jge 0x430021
mov ecx, dword [esp + 0x38]
mov eax, ebx
shl eax, 4
sub eax, ebx
lea eax, [ebp + eax*8]
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x40]
cmp dl, byte [ecx + eax - 0x78]
jae 0x42fff4
sub ebx, 1
mov eax, esi
mov edx, ebx
shl edx, 4
shl eax, 4
sub edx, ebx
sub eax, esi
lea edi, [ebp + edx*8]
lea esi, [ebp + eax*8]
call fcn.00420c10
mov esi, ebx
lea ebx, [ebx + ebx + 2]
cmp ebx, dword [esp + 0x30]
jl 0x42ffd5
mov eax, dword [esp + 0x30]
cmp ebx, eax
jne 0x430045
mov ecx, eax
mov edx, esi
shl ecx, 4
shl edx, 4
sub ecx, eax
sub edx, esi
lea edi, [ebp + ecx*8 - 0x78]
lea esi, [ebp + edx*8]
call fcn.00420c10
mov eax, dword [esp + 0x30]
lea esi, [eax - 1]
sub esp, 0x78
mov ecx, esp
mov dword [esp + 0x90], esp
push ecx
lea edi, [esp + 0xc4]
call fcn.0041bce0
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
sub esp, 0x14
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xcc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xd0]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0xa0]
push eax
push ebp
mov ecx, esi
call fcn.00430160
add esp, 0x94
mov ecx, edi
push ecx
mov dword [esp + 0x28], 0xffffffff
call fcn.00428c10
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4307d0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5181a2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x58]
mov edi, ecx
mov dword [esi], 0
call fcn.005147f0
mov edx, edi
lea ecx, [esp + 0x28]
mov dword [esi + 4], eax
call fcn.00440a80
mov edx, ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call fcn.00440a80
mov byte [esp + 0x50], 1
mov ecx, dword [esp + 0x10]
mov eax, 8
cmp dword [esp + 0x24], eax
jae 0x43084a
lea ecx, [esp + 0x10]
cmp dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
jae 0x430858
lea eax, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__wrename]
add esp, 8
test eax, eax
jge 0x43087b
call fcn.00514860
mov edi, eax
call dword [sym.imp.MSVCR80.dll__errno]
mov eax, dword [eax]
mov dword [esi], eax
mov dword [esi + 4], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00515015
add esp, 0x48
ret

Function at 0x4309d0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x518159
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esi], 0
call fcn.005147f0
mov edx, edi
lea ecx, [esp + 0xc]
mov dword [esi + 4], eax
call fcn.00440a80
mov dword [esp + 0x34], 0
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x430a32
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x430a5c
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x430a5c
call fcn.005147f0
mov edi, eax
call ebx
mov dword [esi], eax
mov dword [esi + 4], edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00515015
add esp, 0x2c
ret
Function at 0x430d40
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5181a2
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x58]
mov edi, ecx
mov dword [esi], 0
call fcn.005147f0
mov edx, edi
lea ecx, [esp + 0x28]
mov dword [esi + 4], eax
call fcn.00440a80
mov edx, ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call fcn.00440a80
mov byte [esp + 0x50], 1
mov ecx, dword [esp + 0x10]
mov eax, 8
cmp dword [esp + 0x24], eax
jae 0x430dba
lea ecx, [esp + 0x10]
cmp dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
jae 0x430dc8
lea eax, [esp + 0x2c]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x430de8
call fcn.005147f0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov dword [esi + 4], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00515015
add esp, 0x48
ret