Function at 0x43b090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb649
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
xor edi, edi
mov edx, dword [esi + 8]
mov dword [ebp - 0x10], esp
cmp edx, eax
mov dword [ebp - 0x14], eax
jle 0x43b0f4
mov ecx, dword [esi + 4]
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
jne 0x43b0d1
cmp byte [ecx + 8], 0
je 0x43b0db
inc eax
add ecx, 0xc
cmp eax, edx
jl 0x43b0c7
jmp 0x43b0f4
mov edi, dword [ecx + 4]
dec edx
cmp eax, edx
je 0x43b0f4
lea ecx, [eax + eax*2 + 3]
mov eax, dword [esi + 4]
mov edx, dword [eax + ecx*4 + 4]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
test edi, edi
jle 0x43b2d5
mov eax, dword [esi + 0x23c]
mov dword [ebp - 4], 0
test eax, eax
je 0x43b2d5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x43b147
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 0x23c]
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
push ecx
call ebx
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x43b14d
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
mov edx, dword [esi + 0x23c]
push 0
push edi
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [esi + 0x23c]
push eax
call ebx
push 0x228
mov dword [ebp - 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0x14
mov dword [ebp + 8], edi
xor eax, eax
mov byte [ebp - 4], 1
cmp edi, eax
je 0x43b1d4
lea ecx, [edi + 0x21c]
call fcn.00414290
xor eax, eax
push 0x54ea08
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
call fcn.00414300
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
lea ecx, [edi + 0x21c]
call fcn.00414420
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004142e0
xor eax, eax
jmp 0x43b1d6
xor edi, edi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp ecx, edx
jge 0x43b2bd
cmp edi, eax
je 0x43b2d5
push 0x54ea08
lea ecx, [ebp - 0x28]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
call fcn.00414300
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x21c]
push eax
mov byte [ebp - 4], 4
call fcn.00414420
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004142e0
mov ecx, dword [esi + 0x23c]
lea edx, [ebp + 0xb]
push ecx
push edx
push edi
mov ecx, esi
mov byte [ebp + 0xb], 0
call fcn.00439700
cmp eax, 0xffffffff
je 0x43b2bb
mov eax, dword [ebp - 0x1c]
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp + 0xc]
sub eax, edx
cmp eax, ecx
jge 0x43b2a5
mov ecx, dword [esi + 0x23c]
mov byte [ebp + 0xb], 1
push ecx
call ebx
mov edx, dword [ebp - 0x18]
mov ebx, eax
mov eax, dword [esi + 0x23c]
push 0
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 0x23c]
lea edx, [ebp + 0xb]
push ecx
push 1
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov eax, dword [esi + 0x23c]
push 0
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ebx, dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x2c
mov ecx, dword [esi + 0x23c]
push ecx
call ebx
add esp, 4
mov dword [ebp - 0x18], eax
xor eax, eax
jmp 0x43b1da
xor eax, eax
cmp edi, eax
je 0x43b2d5
lea ecx, [edi + 0x21c]
call fcn.004142e0
push edi
call fcn.004b7a35
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8