Function at 0x42e3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515708
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x568e30]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x568e30]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
je 0x42e5e7
cmp byte [ebx + 0x41], 0
je 0x42e5e7
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x42e5da
push ecx
mov ecx, esp
call fcn.00402a50
lea ecx, [esp + 0x38]
call fcn.00401a50
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.00402fd0
push 0
push 8
lea ecx, [esp + 0x3c]
call fcn.00403050
test al, al
je 0x42e458
push 0
push 8
push 0
lea ecx, [esp + 0x40]
call fcn.00402070
push 8
lea ecx, [esp + 0x38]
call fcn.00403170
mov dword [esp + 0x60], 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
call fcn.00401120
mov esi, eax
cmp dword [esi], 0xfffffffc
je 0x42e49b
mov ecx, esi
call fcn.00405f00
test al, al
jne 0x42e485
call fcn.004b9938
mov ecx, dword [esi]
call fcn.00402bb0
mov ecx, dword [esi]
add eax, dword [ecx + 0x14]
cmp dword [esi + 4], eax
jb 0x42e49b
call fcn.004b9938
mov edi, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x38]
call fcn.00401120
mov esi, eax
cmp dword [esi], 0xfffffffc
je 0x42e4d9
mov ecx, esi
call fcn.00405f00
test al, al
jne 0x42e4c3
call fcn.004b9938
mov ecx, dword [esi]
call fcn.00402bb0
mov ecx, dword [esi]
add eax, dword [ecx + 0x14]
cmp dword [esi + 4], eax
jb 0x42e4d9
call fcn.004b9938
mov esi, dword [esi + 4]
lea ecx, [esp + 0x34]
call fcn.004011a0
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
add eax, edi
lea edi, [esp + 0x10]
push edi
push eax
push esi
lea eax, [ebx + 0x44]
push eax
mov eax, dword [edx + 0x18]
call eax
sub eax, 0
je 0x42e518
sub eax, 1
je 0x42e51c
sub eax, 2
lea ecx, [esp + 0x34]
jne 0x42e5d5
jmp 0x42e5e2
mov byte [ebx + 0x41], 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401120
mov edi, eax
cmp dword [edi], 0xfffffffc
je 0x42e557
mov ecx, edi
call fcn.00405f00
test al, al
jne 0x42e541
call fcn.004b9938
mov ecx, dword [edi]
call fcn.00402bb0
mov edx, dword [edi]
add eax, dword [edx + 0x14]
cmp dword [edi + 4], eax
jb 0x42e557
call fcn.004b9938
mov esi, dword [esp + 0x10]
sub esi, dword [edi + 4]
je 0x42e5b2
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
call fcn.00401120
mov edi, eax
cmp dword [edi], 0xfffffffc
je 0x42e59b
mov ecx, edi
call fcn.00405f00
test al, al
jne 0x42e585
call fcn.004b9938
mov ecx, dword [edi]
call fcn.00402bb0
mov ecx, dword [edi]
add eax, dword [ecx + 0x14]
cmp dword [edi + 4], eax
jb 0x42e59b
call fcn.004b9938
mov edx, dword [ebx + 0x4c]
mov edi, dword [edi + 4]
push edx
push esi
push 1
push edi
call fcn.004b86c7
add esp, 0x10
cmp esi, eax
jne 0x42e5d1
cmp byte [ebx + 0x41], 0
je 0x42e5de
test esi, esi
jne 0x42e460
push esi
push 8
lea ecx, [esp + 0x3c]
call fcn.00401b40
jmp 0x42e460
lea ecx, [esp + 0x34]
call fcn.00402a30
xor al, al
jmp 0x42e5e9
lea ecx, [esp + 0x34]
call fcn.00402a30
mov al, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret