Function at 0x427490
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov eax, dword [0x494198]
add eax, 0x104c100a
mov dword [0x494198], eax
mov eax, dword [0x4920a8]
imul eax, eax, 0x620b0400
mov dword [0x4920a8], eax
cmp dword [0x4963a4], 0
jne 0x4274fb
mov eax, dword [0x493f1c]
imul eax, eax, 0x35dac58a
mov dword [0x493f1c], eax
call fcn.004137f0
mov dword [0x4963a4], eax
mov eax, dword [0x491800]
imul eax, eax, 0xfbdfefaf
mov dword [0x491800], eax
mov ax, word [0x491346]
mov cx, ax
xor ecx, 0x8cf3
mov ax, cx
mov word [0x491346], ax
mov ecx, esp
mov dword [ecx + 4], 3
mov dword [ecx], 0x1fb3
call fcn.0040b080
mov dword [esp + 0x24], eax
mov eax, dword [0x4953a8]
mov ecx, 0x77b67455
sub ecx, eax
mov eax, dword [0x492bb0]
or ecx, eax
mov dx, word [0x49065c]
movsx eax, dx
mov esi, dword [0x494f80]
add eax, esi
cmp ecx, eax
jge 0x4275aa
mov eax, 0xe78921ee
mov ecx, dword [0x493d34]
xor ecx, 0x978a1111
mov dx, word [0x4910d2]
mov si, dx
inc esi
mov di, si
mov word [0x4910d2], di
movsx esi, dx
sub eax, esi
or eax, 0x4c62f39a
cmp ecx, eax
jg 0x4275a5
mov eax, dword [0x4951d8]
imul eax, eax, 0xa6775098
add eax, 0xc251e2e1
mov dword [0x494988], eax
jmp 0x4275aa
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.004571e1
mov dword [esp + 0x1c], eax
mov si, word [0x490df4]
mov ax, si
imul eax, eax, 0x726c28af
mov si, ax
mov word [0x490df4], si
mov eax, dword [esp + 0x24]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00427f90
mov eax, dword [0x494b74]
add eax, 0xcf20b50f
mov dword [0x494b74], eax
cmp dword [esp + 0x1c], 0
jne 0x4276f5
mov ax, word [0x490560]
movsx ecx, ax
shr ecx, 2
imul ecx, ecx, 0xc562b57d
mov ax, cx
mov word [0x490d2a], ax
mov ecx, dword [0x48f604]
mov edx, esp
mov dword [edx], 0x457
call ecx
sub esp, 4
mov ecx, dword [0x4935c4]
mov edx, 0xfa707747
sub edx, ecx
mov ecx, dword [0x49245c]
sub ecx, edx
mov dword [0x49245c], ecx
mov ecx, esp
mov dword [ecx + 4], 3
mov dword [ecx], 0x1fb3
call fcn.0040b080
mov dword [esp + 0x20], eax
mov eax, dword [0x4923f4]
mov ecx, eax
inc ecx
mov dword [0x4923f4], ecx
add eax, 0x79885708
mov si, word [0x48fbc4]
mov cx, si
sub ecx, eax
mov si, cx
mov word [0x48fbc4], si
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.004571e1
mov dword [esp + 0x1c], eax
mov eax, dword [0x491984]
imul eax, eax, 0xfae3ccba
mov dword [0x491984], eax
mov eax, dword [esp + 0x20]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00427f90
mov eax, dword [0x492f78]
mov ecx, eax
inc ecx
mov dword [0x492f78], ecx
mov ecx, 0xdceb09d1
sub ecx, eax
and ecx, 0x9bf
mov si, cx
mov word [0x490744], si
mov eax, dword [0x492e14]
sar eax, 3
mov ecx, dword [0x494a78]
or ecx, eax
mov dword [0x494a78], ecx
cmp dword [esp + 0x1c], 0
je 0x427824
mov eax, dword [0x4928c4]
add eax, 0xbd44bdb2
mov ecx, dword [0x492e88]
shl ecx, 6
cmp eax, ecx
je 0x427740
mov dword [0x492190], 0xefa932a0
jmp 0x42777b
mov ax, word [0x4904d0]
movsx ecx, ax
mov edx, dword [0x494bd8]
shl edx, 5
sub edx, 0x42da5197
xor ecx, edx
cmp ecx, 0x8b9815a6
jg 0x427776
mov eax, dword [0x494be4]
imul eax, eax, 0xfe7f7d3a
mov dword [0x494be4], eax
jmp 0x42777b
mov eax, dword [esp + 0x1c]
mov ecx, esp
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], 1
mov dword [ecx + 4], 4
mov dword [ecx], 0x4963a4
call fcn.0045b14b
mov ecx, dword [0x492e04]
or ecx, 0x98a15417
or ecx, 0xc1a7d653
cmp ecx, 0x4b7210d5
mov dword [esp + 0x18], eax
jl 0x4277d8
mov eax, dword [0x493668]
imul eax, eax, 0x148ae5b8
mov ecx, dword [0x493d40]
xor ecx, eax
mov dword [0x493d40], ecx
mov eax, 0x76dbf6ff
mov ecx, dword [esp + 0x1c]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0x14], eax
call fcn.0045b239
mov si, word [0x490a2a]
movsx ecx, si
mov edx, dword [esp + 0x14]
cmp edx, ecx
mov dword [esp + 0x10], eax
jne 0x42781f
mov eax, dword [0x493c0c]
mov ecx, dword [0x494d2c]
or eax, ecx
or eax, 0x1031ce10
mov dword [0x494d2c], eax
jmp 0x427824
mov eax, dword [0x49284c]
add eax, 0x79941988
mov dword [0x49284c], eax
add esp, 0x30
pop esi
pop edi
ret