Function at 0x42fb78
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6f8
mov ecx, dword [esp + 0x70c]
mov eax, dword [0x488aec]
lea edx, [eax + 1]
mov dword [0x488aec], edx
or eax, 0xfc5f
mov dx, word [0x49443c]
and edx, eax
mov word [0x49443c], dx
call fcn.00417552
cmp eax, 0x8049
jb 0x42ffdd
mov eax, dword [0x48d68c]
xor eax, 0x31cb27fe
mov cx, word [0x492342]
lea edx, [ecx + 1]
mov word [0x492342], dx
movsx ecx, cx
or ecx, 0xdc66f363
cmp eax, ecx
jg 0x42fc14
mov ax, word [0x494c6a]
lea ecx, [eax + 1]
mov word [0x494c6a], cx
cwde
mov ecx, dword [0x487380]
mov edx, dword [0x484dac]
dec edx
mov dword [0x484dac], edx
imul edx, eax
imul edx, ecx
mov dword [0x486f24], edx
mov eax, dword [0x485e0c]
lea ecx, [eax + 1]
mov dword [0x485e0c], ecx
mov ecx, 0x9a773288
sub ecx, eax
xor ecx, 0x9bd9161b
or dword [0x48f730], ecx
mov eax, dword [0x485a54]
mov eax, dword [0x48e8d4]
sar eax, 8
add eax, 0x7068b507
and dword [0x48b82c], eax
mov dword [0x486734], 0x8928002
lea ebp, [esp + 0x598]
push ebp
call fcn.0042f399
add esp, 4
mov edi, eax
mov eax, dword [0x48e7f8]
shl eax, 3
cmp eax, 0x8d07e5bf
jl 0x42fc82
and dword [0x48e984], 0x7fe7dc45
call fcn.00430e5a
and al, 3
movzx eax, al
add eax, 7
lea ecx, [esp + edi + 0x598]
push eax
push ecx
call fcn.00414136
add esp, 8
mov ax, word [0x491926]
mov eax, dword [0x48c138]
sar eax, 1
mov cx, word [0x495312]
movsx ecx, cx
mov edx, dword [0x48b000]
imul edx, ecx
or edx, eax
cmp edx, 0xc9c751e0
jl 0x42fcd4
xor dword [0x48706c], 0xe2257900
mov eax, 5
push eax
push 0x23ed
call fcn.004020cd
add esp, 8
mov edi, eax
xor dword [0x488194], 0xefa5baf4
push edi
push ebp
call fcn.0043d600
add esp, 8
mov ax, word [0x494100]
add eax, 0x16ff
mov word [0x494100], ax
mov esi, 3
push esi
push 0x5510
call fcn.004020cd
add esp, 8
mov ebx, eax
mov ax, word [0x492582]
push edi
mov eax, 5
push eax
call fcn.0041c522
add esp, 8
mov eax, dword [0x486b90]
and dword [0x48bdd8], eax
push ebx
push ebp
call fcn.0043f69a
add esp, 8
mov edi, eax
mov eax, dword [0x48fd6c]
mov ecx, dword [0x4864cc]
imul ecx, eax
mov dword [0x4864cc], ecx
push ebx
push esi
call fcn.0041c522
add esp, 8
add dword [0x48a340], 0x32fc9038
test edi, edi
je 0x42ffb4
mov eax, dword [0x48594c]
mov dword [0x48c7bc], eax
mov eax, dword [0x48b9d8]
lea ecx, [eax + 1]
mov dword [0x48b9d8], ecx
and eax, 0xafb4b6b9
cmp eax, 0xbdfe7f66
jl 0x42fdaf
mov dword [0x48df9c], 0x84ade768
jmp 0x42fdc0
mov ax, word [0x49106a]
and eax, 0x892a
mov word [0x49106a], ax
mov esi, dword [esp + 0x70c]
mov ecx, esi
call fcn.00417552
mov ebx, eax
mov ecx, esi
call fcn.0042ecf0
push edi
push 1
push ebx
push eax
call fcn.0043fa2b
add esp, 0x10
add dword [0x489bc8], 0xde9f66ca
push edi
call fcn.0043fb11
add esp, 4
xor dword [0x48dfb0], 0x8cd6d3e4
mov ecx, esi
call fcn.004152b8
mov eax, dword [0x48699c]
mov cx, word [0x494de4]
or ecx, eax
or ecx, 0x31f2
mov word [0x494de4], cx
xor ebx, ebx
mov byte [esp + 0x14e], bl
or dword [0x48e800], 0x41141d57
mov eax, 0x14c
lea edi, [esp + 2]
push eax
push edi
push 0
call dword [0x484b0c]
mov ax, word [0x49309e]
or eax, 0x5fef
mov word [0x49309e], ax
mov byte [esp + 0x597], bl
inc dword [0x487888]
add dword [0x48ac50], 0xa9e17ce6
mov ebp, 0x15
push ebp
push 0x370a
call fcn.004020cd
add esp, 8
mov esi, eax
add dword [0x48a338], 0xf9460b68
lea ebx, [esp + 0x14f]
push dword [0x49737c]
push dword [0x497364]
push edi
push esi
push ebx
call fcn.004043bc
add esp, 0x14
add dword [0x489854], 0x5a13ebf3
push esi
push ebp
call fcn.0041c522
add esp, 8
add dword [0x487810], 0x8bd57755
push dword [0x49737c]
call fcn.0042da26
add esp, 4
add dword [0x48873c], 0x6dbfce7f
push ebx
lea ebp, [esp + 0x59c]
push ebp
call fcn.0042f5b8
add esp, 8
mov eax, dword [0x487c08]
dec eax
mov dword [0x487c08], eax
and eax, 0xb003190c
cmp eax, 0x121e757d
jl 0x42ff1e
mov ax, word [0x49327a]
imul eax, eax, 0xfffff59b
mov word [0x49327a], ax
push 0x449
push ebx
call fcn.00410793
add esp, 8
mov ax, word [0x4918b2]
imul eax, eax, 0x2652
mov word [0x4918b2], ax
push 0x14d
push edi
call fcn.00410793
add esp, 8
mov ax, word [0x494216]
cwde
imul eax, eax, 0xaedeb78c
mov ecx, dword [0x48a414]
xor ecx, eax
xor ecx, 0x3aeac342
mov dword [0x48a414], ecx
push 0x16464
call dword [0x484b68]
mov eax, dword [0x4885ac]
shr eax, 3
mov ecx, dword [0x4899e0]
add ecx, 0xaab9
and ecx, eax
mov ax, word [0x4916b8]
or eax, ecx
mov word [0x4916b8], ax
push ebp
call dword [0x484ab8]
mov ax, word [0x49412e]
or eax, 0xfdb5
mov word [0x49412e], ax
mov dword [0x48d758], 0xcb9b7363
push 0x160
push ebp
call fcn.00410793
add esp, 8
mov ax, word [0x491aea]
add eax, 0xfffff7d8
mov word [0x491aea], ax
inc dword [0x488d44]
xor dword [0x48ac08], 0x40c7ed55
add esp, 0x6f8
pop esi
pop edi
pop ebx
pop ebp
ret