Function at 0x43fb10
Capabilities:
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 0x51d462
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a0
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov edi, dword [ebx + 0xc]
lea eax, [ebp - 0x1c8]
mov esi, dword [ebx + 8]
push 0x44
push 0
push eax
mov dword [ebp - 0x264], edi
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x1c8]
mov edx, esi
call fcn.004ea050
mov esi, dword [ebp - 0x260]
mov dword [ebp - 4], 0
test edi, edi
jne 0x43fb9d
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x264], edi
mov eax, dword [esi + 0x14]
add esi, 0x14
mov ecx, esi
mov dword [ebp - 0x138], esi
call dword [eax + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - method.CFile.virtual_0], vtable.CFile.0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
mov eax, dword [ebp - 0x1c8]
push 2
mov eax, dword [eax + 0x40]
call eax
sub esp, 0x44
mov ecx, esp
push eax
call fcn.0041a6c0
lea ecx, [ebp - 0x134]
call fcn.0041c7b0
test eax, eax
jne 0x43fdec
push eax
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x44
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x258]
push dword [ebp - 0x25c]
call fcn.0041f320
push 0x44
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x180]
call fcn.0041ad80
cmp dword [ebp - 0x148], 0
mov dword [ebp - method.CStringBase.virtual_0], vtable.CStringUTF8.0
je 0x43fc9b
lea ecx, [ebp - 0x14c]
call fcn.0041a760
mov dword [ebp - 0x144], 0xffffffff
mov dword [ebp - 0x140], 0xffffffff
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x258]
mov eax, dword [eax + 0x40]
call eax
mov edx, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c8]
mov edi, eax
mov edx, dword [edx + 0x40]
call edx
push edi
push eax
push str._s_cannot_be_created._n_s
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.004e78b0
add esp, 0x14
lea ecx, [ebp - 0x2b0]
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005001b0
sub esp, 0x38
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x124], edi
call fcn.0041ad80
cmp dword [edi + 0x38], 0
mov dword [edi], vtable.CStringUTF8.0
je 0x43fd35
lea ecx, [edi + 0x34]
call fcn.0041a760
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0xffffffff
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0041a900
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 4
push eax
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 4]
call fcn.004cdbd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x210]
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 0x40]
call eax
sub esp, 0x44
mov ecx, esp
push eax
call fcn.0041a6c0
xor ecx, ecx
call fcn.004e7590
add esp, 0x44
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x210]
call fcn.0041c2a0
lea ecx, [ebp - 0x180]
call fcn.0041c2a0
lea ecx, [ebp - 0x258]
call fcn.0041c2a0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x134]
mov dword [ebp - method.CFile.virtual_0], vtable.CFile.0
call fcn.0041c890
xor edi, edi
jmp 0x43ffa0
mov eax, dword [ebp - 0x130]
push 0x105
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.005001b0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x43fe18
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x120]
push 0x105
push eax
call fcn.00505c06
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x124]
add esp, 0xc
push 0
push eax
push 0x104
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x260]
call edi
mov ecx, dword [ebp - 0x264]
push dword [ebp - 0x260]
add ecx, 0x3c
call fcn.004353e0
mov ecx, dword [ebp - 0x264]
push 0
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x124]
push eax
push 4
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
call edi
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x124]
push 0
push edx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x260]
call edi
mov ecx, dword [ebp - 0x264]
push 0
mov eax, dword [ecx + 0x28]
sub eax, dword [ecx + 0x24]
sar eax, 1
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x124]
push eax
push 4
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
call edi
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x124]
push 0
push edx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push ecx
push dword [ebp - 0x260]
call edi
mov ecx, dword [ebp - 0x264]
push dword [ebp - 0x260]
add ecx, 0x48
call fcn.004353e0
mov ecx, dword [ebp - 0x264]
push 0
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x124]
push eax
push 4
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x260]
call edi
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x124]
push 0
push edx
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x260]
call edi
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
call dword [eax + 0xc]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x134]
mov dword [ebp - method.CFile.virtual_0], vtable.CFile.0
call fcn.0041c890
mov edi, 1
mov byte [ebp - 4], 0xa
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
lea ecx, [ebp - 0x1c8]
call fcn.0041c2a0
mov eax, edi
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.004fe27d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8