Function at 0x42dc00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460128
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x47a468]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x47a468]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
cmp dword [ecx + 0x3c], 0
mov dword [esp + 0x10], ecx
je 0x42dfe9
cmp byte [ecx + 0x41], 0
je 0x42dfe9
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x42dfd7
mov ecx, 0xf
xor eax, eax
cmp ecx, 0x10
mov byte [esp + 0x20], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 8
jae 0x42dc8a
lea eax, [esp + 0x20]
mov byte [eax + 8], 0
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edi, edi
cmp ecx, 0x10
jb 0x42ddc9
test eax, eax
mov ebx, eax
mov dword [esp + 0x14], ebx
je 0x42dcd7
cmp ecx, 0x10
mov edx, eax
jae 0x42dcbe
lea edx, [esp + 0x20]
cmp edx, ebx
ja 0x42dcd7
cmp ecx, 0x10
mov edx, eax
jae 0x42dccd
lea edx, [esp + 0x20]
mov esi, dword [esp + 0x30]
add edx, esi
cmp ebx, edx
jbe 0x42dce4
call fcn.00431315
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
cmp edx, 0xfffffffe
je 0x42dd0f
cmp ecx, 0x10
mov edx, eax
jae 0x42dcf8
lea edx, [esp + 0x20]
mov esi, dword [esp + 0x30]
add edx, esi
cmp ebx, edx
jb 0x42dd0f
call fcn.00431315
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp ecx, 0x10
mov edi, dword [esp + 0x30]
jb 0x42ddd6
test eax, eax
mov esi, eax
je 0x42dd4a
cmp ecx, 0x10
mov edx, eax
jae 0x42dd2d
lea edx, [esp + 0x20]
cmp edx, esi
ja 0x42dd4a
cmp ecx, 0x10
mov edx, eax
jae 0x42dd3c
lea edx, [esp + 0x20]
mov ebx, dword [esp + 0x30]
add edx, ebx
cmp esi, edx
mov ebx, dword [esp + 0x14]
jbe 0x42dd57
call fcn.00431315
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
cmp edx, 0xfffffffe
je 0x42dd78
cmp ecx, 0x10
jae 0x42dd69
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
add eax, ecx
cmp esi, eax
jb 0x42dd78
call fcn.00431315
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
add ebx, edi
push ebx
push esi
add eax, 0x44
push eax
call edx
sub eax, 0
je 0x42dddf
sub eax, 1
je 0x42dde7
sub eax, 2
je 0x42dfb5
cmp dword [esp + 0x34], 0x10
jb 0x42dfd7
mov eax, dword [esp + 0x20]
push eax
call fcn.0042fa12
add esp, 4
xor al, al
jmp 0x42dfeb
lea ebx, [esp + 0x20]
mov dword [esp + 0x14], ebx
jmp 0x42dcb3
lea esi, [esp + 0x20]
jmp 0x42dd22
mov eax, dword [esp + 0x10]
mov byte [eax + 0x41], 0
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
mov eax, dword [esp + 0x20]
jb 0x42df8a
test eax, eax
mov esi, eax
je 0x42de22
cmp ecx, 0x10
mov edx, eax
jae 0x42de09
lea edx, [esp + 0x20]
cmp edx, esi
ja 0x42de22
cmp ecx, 0x10
mov edx, eax
jae 0x42de18
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x30]
add edx, edi
cmp esi, edx
jbe 0x42de2f
call fcn.00431315
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
cmp edx, 0xfffffffe
je 0x42de5a
cmp ecx, 0x10
mov edx, eax
jae 0x42de43
lea edx, [esp + 0x20]
mov edi, dword [esp + 0x30]
add edx, edi
cmp esi, edx
jb 0x42de5a
call fcn.00431315
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub edi, esi
je 0x42deeb
cmp ecx, 0x10
jb 0x42df93
test eax, eax
mov esi, eax
je 0x42de99
cmp ecx, 0x10
mov edx, eax
jae 0x42de80
lea edx, [esp + 0x20]
cmp edx, esi
ja 0x42de99
cmp ecx, 0x10
mov edx, eax
jae 0x42de8f
lea edx, [esp + 0x20]
mov ebx, dword [esp + 0x30]
add edx, ebx
cmp esi, edx
jbe 0x42dea6
call fcn.00431315
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
cmp edx, 0xfffffffe
je 0x42dec7
cmp ecx, 0x10
jae 0x42deb8
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
add eax, ecx
cmp esi, eax
jb 0x42dec7
call fcn.00431315
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.004328ac
add esp, 0x10
cmp edi, eax
jne 0x42dfc3
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x41], 0
je 0x42dfdb
test edi, edi
jne 0x42dca0
or edx, 0xffffffff
sub edx, dword [esp + 0x30]
cmp edx, 8
ja 0x42df1a
call fcn.0042e583
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
add esi, 8
cmp esi, 0xfffffffe
jbe 0x42df33
call fcn.0042e583
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp ecx, esi
jae 0x42df9c
mov eax, dword [esp + 0x30]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00405389
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
test esi, esi
jbe 0x42dca0
cmp ecx, 0x10
mov ecx, eax
jae 0x42df61
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x30]
xor eax, eax
add ecx, edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esi
jae 0x42df81
lea eax, [esp + 0x20]
mov byte [eax + esi], 0
jmp 0x42dc96
lea esi, [esp + 0x20]
jmp 0x42ddfe
lea esi, [esp + 0x20]
jmp 0x42de75
test esi, esi
jne 0x42df50
cmp ecx, 0x10
mov dword [esp + 0x30], esi
jae 0x42dfad
lea eax, [esp + 0x20]
mov byte [eax], 0
jmp 0x42dc96
cmp dword [esp + 0x34], 0x10
jb 0x42dfe9
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x42dfe1
cmp dword [esp + 0x34], 0x10
jb 0x42dfd7
mov edx, dword [esp + 0x20]
push edx
call fcn.0042fa12
add esp, 4
xor al, al
jmp 0x42dfeb
cmp ecx, 0x10
jb 0x42dfe9
push eax
call fcn.0042fa12
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0042fa17
mov esp, ebp
pop ebp
ret