Function at 0x4286e6
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x620
mov esi, dword [esp + 0x634]
mov eax, dword [0x45172c]
add eax, eax
and eax, 0x96a50796
imul eax, dword [0x454510]
mov dword [0x454510], eax
add dword [0x458c18], 0x1885fe27
xor word [0x445030], 0x97b9
cmp dword [esi + 8], 0x8001
jb 0x428b51
xor dword [0x44f5e0], 0x80e98224
mov eax, 0xd32843cb
add eax, dword [0x455280]
cmp eax, 0xaf864c5
jl 0x428767
movsx eax, word [0x449490]
shl eax, 9
mov ecx, dword [0x4572b8]
lea eax, [ecx + eax + 0x2fd6532e]
mov dword [0x4572b8], eax
mov eax, 0xfab9f74c
xor eax, dword [0x4504d4]
or eax, dword [0x44cba8]
cmp eax, 0xdda3f4e9
jg 0x428789
and dword [0x456124], 0x3e80f99c
add dword [0x44ec14], 0x3148b5bd
lea ebp, [esp + 0x508]
push ebp
call fcn.0040b8a0
add esp, 4
and word [0x444dda], 0x5e16
lea edi, [esp + eax + 0x508]
call fcn.00408df4
and al, 3
movzx eax, al
add eax, 7
push eax
push edi
call fcn.0040b932
add esp, 8
add dword [0x44e770], 0xfdaf7950
push 5
push 0x23a8
call fcn.0040a2b7
add esp, 8
mov edi, eax
mov eax, dword [0x457824]
sar eax, 2
add eax, 0x837b91da
xor dword [0x44c55c], eax
push edi
push ebp
call sub.msvcrt.dll_strcat
add esp, 8
movsx eax, word [0x44849c]
shl eax, 4
cmp eax, 0xa868971b
jg 0x42881f
and dword [0x454c50], 0x920a6b8b
jmp 0x42882e
imul eax, dword [0x4580dc], 0x18d7b1b0
mov dword [0x4580dc], eax
push 3
push 0x1e95
call fcn.0040a2b7
add esp, 8
mov ebx, eax
add word [0x447bb6], 0xbd34
push edi
push 5
call fcn.0040342e
add esp, 8
mov ax, word [0x4485ba]
push ebx
push ebp
call sub.msvcrt.dll_fopen
add esp, 8
mov edi, eax
mov eax, 0x547e45c4
add eax, dword [0x450d98]
and eax, 0x7bfae02d
imul eax, dword [0x450618]
mov dword [0x450618], eax
push ebx
push 3
call fcn.0040342e
add esp, 8
imul ax, word [0x4455ac], 0x83cd
mov word [0x4455ac], ax
test edi, edi
je 0x428b2a
mov eax, 0xf74bb6e
and eax, dword [0x44ba44]
or dword [0x45292c], eax
add dword [0x450844], 0xa532e101
mov eax, dword [0x453bd8]
and dword [0x459ab4], eax
mov eax, dword [0x44d8c4]
inc eax
mov dword [0x44d8c4], eax
movsx ecx, word [0x44a4d6]
imul ecx, eax
cmp ecx, 0x1cff4e71
je 0x4288f0
or dword [0x450ab8], 0xdeaf201e
mov eax, dword [esi + 4]
add dword [0x458c18], 0x1885fe27
xor word [0x445030], 0x97b9
push edi
push 1
push dword [esi + 8]
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
imul ax, word [0x44a43a], 0x9861
mov word [0x44a43a], ax
push edi
call sub.msvcrt.dll_fclose
add esp, 4
imul ax, word [0x4482e6], 0xe347
mov word [0x4482e6], ax
mov ecx, esi
push 0
call fcn.00418d68
mov eax, dword [0x459a40]
cmp eax, 0x8c2d44fc
jne 0x428960
imul eax, dword [0x4589b0], 0x5370687
mov dword [0x4589b0], eax
mov byte [esp + 0x106], 0
imul eax, dword [0x4526f4], 0x147d11f0
mov dword [0x4526f4], eax
lea edi, [esp + 2]
push 0x104
push edi
push 0
call dword [0x44413c]
mov eax, dword [0x450474]
shr eax, 9
movzx ecx, word [0x4478d8]
add ecx, eax
mov word [0x4478d8], cx
mov byte [esp + 0x507], 0
mov eax, dword [0x44b840]
xor word [0x4475f4], 0x62e3
push 0x15
push 0xd6f
call fcn.0040a2b7
add esp, 8
mov esi, eax
mov eax, dword [0x44d1e4]
imul eax, eax, 0x9505f206
and eax, 0xc372
movzx ecx, word [0x444422]
xor ecx, eax
mov word [0x444422], cx
lea ebx, [esp + 0x107]
push dword [0x45a390]
push dword [0x45a378]
push edi
push esi
push ebx
call sub.msvcrt.dll_sprintf
add esp, 0x14
mov eax, 0x718e
xor eax, dword [0x44c1ec]
mov word [0x44790c], ax
push esi
push 0x15
call fcn.0040342e
add esp, 8
imul eax, dword [0x44b6bc], 0x2611401e
mov dword [0x44b6bc], eax
push dword [0x45a390]
call fcn.0041f636
add esp, 4
mov dword [0x457564], 0x408b9fe9
push ebx
push ebp
call fcn.0040bdf9
add esp, 8
mov eax, dword [0x44eee4]
lea ecx, [eax + 1]
mov dword [0x44eee4], ecx
xor eax, 0x5971a579
cmp eax, 0x5dc9d7fa
jl 0x428a84
mov eax, dword [0x452624]
and eax, dword [0x4575dc]
imul eax, dword [0x44c7a0]
mov dword [0x44c7a0], eax
push 0x401
push ebx
call fcn.00402c24
add esp, 8
mov eax, dword [0x45743c]
inc eax
mov dword [0x45743c], eax
mov ecx, dword [0x453ba8]
imul eax, eax, 0x2ac758da
lea eax, [ecx + eax + 0x3bbc137e]
mov dword [0x453ba8], eax
push 0x105
push edi
call fcn.00402c24
add esp, 8
movsx eax, word [0x4497da]
or eax, dword [0x4581e0]
cmp eax, 0xff1fbabf
je 0x428af2
mov eax, dword [0x44c1f0]
cmp eax, 0x8f93342b
jg 0x428af2
imul eax, dword [0x453844], 0x10023106
mov dword [0x453844], eax
push 0x15f90
call dword [0x444198]
mov eax, dword [0x4583e0]
sar eax, 1
and dword [0x456e58], eax
push ebp
call dword [0x4440e8]
mov eax, dword [0x452318]
lea ecx, [eax + 1]
mov dword [0x452318], ecx
xor eax, 0xd4eca322
add dword [0x44b700], eax
mov dword [0x4578ec], 0x5d20dd96
push 0x118
push ebp
call fcn.00402c24
add esp, 8
imul eax, dword [0x451204], 0x693e86b0
mov dword [0x451204], eax
and dword [0x45522c], 0xaf40273b
add esp, 0x620
pop esi
pop edi
pop ebx
pop ebp
ret