Function at 0x41932a
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x72c
mov esi, dword [esp + 0x740]
mov eax, dword [0x487220]
add eax, 0xe0d4
mov word [0x48e6c0], ax
mov ecx, esi
call fcn.004178c0
cmp eax, 0x805b
jb 0x4197fa
mov eax, dword [0x486c9c]
imul eax, eax, 0xbfbdca12
mov dword [0x486c9c], eax
mov ax, word [0x48dbd6]
lea ecx, [eax + 1]
mov word [0x48dbd6], cx
cwde
imul eax, eax, 0xa4f3d996
xor dword [0x48a474], eax
mov eax, dword [0x48b5dc]
dec eax
mov dword [0x48b5dc], eax
mov dword [0x48ae98], eax
mov ax, word [0x48c43a]
or eax, 0x2ee2
xor eax, 0x4008
mov cx, word [0x48d714]
or ecx, eax
mov word [0x48d714], cx
lea ebp, [esp + 0x5ba]
push ebp
call fcn.004251aa
add esp, 4
mov edi, eax
mov eax, dword [0x487a98]
cmp eax, 0x8a7fbb6e
jl 0x4193e2
mov dword [0x489d50], 0xabfe885c
call fcn.00409ed2
and al, 3
movzx eax, al
add eax, 7
lea ecx, [esp + edi + 0x5ba]
push eax
push ecx
call fcn.00427e4d
add esp, 8
mov eax, dword [0x48afac]
shl eax, 3
mov ecx, dword [0x489178]
lea edx, [ecx + 1]
mov dword [0x489178], edx
imul ecx, ecx, 0x7a0215c8
or ecx, eax
mov eax, dword [0x4894d4]
shl eax, 0xa
cmp ecx, eax
jg 0x419435
xor dword [0x48b524], 0xb0653996
push 5
push 0x1db4
call fcn.00418b05
add esp, 8
mov edi, eax
mov ax, word [0x48d6ac]
add eax, 0xce7
mov word [0x48d6ac], ax
push edi
push ebp
call fcn.0043d1a0
add esp, 8
add dword [0x4892a4], 0xe9c08bc7
push 3
push 0x8d7a
call fcn.00418b05
add esp, 8
mov ebx, eax
mov eax, dword [0x487c28]
and eax, 0x1d46be72
mov ecx, dword [0x4886f0]
xor eax, ecx
inc ecx
mov dword [0x4886f0], ecx
xor eax, 0x1d46be72
cmp eax, 0xe7fb9f9f
jl 0x4194ab
or dword [0x48b03c], 0x277a1cd8
push edi
push 5
call fcn.0042862d
add esp, 8
mov ax, word [0x48ebae]
cwde
mov ecx, dword [0x48aea0]
sub ecx, eax
mov dword [0x48aea0], ecx
push ebx
push ebp
call fcn.0043d566
add esp, 8
mov edi, eax
mov eax, dword [0x48b62c]
imul eax, eax, 0xcd697010
mov dword [0x48b62c], eax
push ebx
push 3
call fcn.0042862d
add esp, 8
mov ax, word [0x48deec]
and eax, 0xdf46
mov word [0x48deec], ax
test edi, edi
je 0x41978f
mov eax, dword [0x48bcb8]
mov ecx, dword [0x489838]
and ecx, eax
cmp ecx, 0xc8280005
jl 0x419551
mov ax, word [0x48d4fe]
cwde
not eax
imul eax, eax, 0xcebe2827
mov cx, word [0x48ca7c]
dec ecx
mov word [0x48ca7c], cx
movsx ecx, cx
xor ecx, eax
mov eax, dword [0x488ce8]
sub eax, ecx
mov dword [0x488ce8], eax
jmp 0x41956f
mov eax, dword [0x48b944]
shr eax, 6
xor eax, 0x4351
mov cx, word [0x48cc5e]
imul ecx, eax
mov word [0x48cc5e], cx
or dword [0x48b7f8], 0x2b275a56
mov ecx, esi
call fcn.004178c0
mov ebx, eax
mov ecx, esi
call fcn.0041dc96
push edi
push 1
push ebx
push eax
call fcn.0043d90f
add esp, 0x10
mov eax, dword [0x489c44]
mov ecx, 0x36d6be80
sub ecx, eax
mov dword [0x487d00], ecx
push edi
call fcn.0043d9f5
add esp, 4
add dword [0x48a7c4], 0x67305116
mov ecx, esi
call fcn.00415ed0
mov eax, dword [0x4898dc]
or eax, 0xa71496c2
cmp eax, 0xe9c6468d
ja 0x4195dd
add dword [0x488acc], 0xfe2d4730
xor ebx, ebx
mov byte [esp + 0x15e], bl
add dword [0x488444], 0x5fac48c1
mov eax, 0x15e
lea edi, [esp]
push eax
push edi
push 0
call dword [0x485f7c]
xor dword [0x488250], 0xdae17319
mov byte [esp + 0x5b9], bl
mov eax, dword [0x489ccc]
cmp eax, 0xda26d2a
je 0x41962c
mov eax, dword [0x486dc4]
not eax
mov word [0x48dcb4], ax
mov ebp, 0x15
push ebp
push 0x47f7
call fcn.00418b05
add esp, 8
mov esi, eax
mov eax, dword [0x489140]
imul eax, eax, 0x3eeeeee7
mov dword [0x489140], eax
lea ebx, [esp + 0x15f]
push dword [0x48fbfc]
push dword [0x48fbe4]
push edi
push esi
push ebx
call fcn.00402063
add esp, 0x14
xor dword [0x486b7c], 0x9f899a1f
push esi
push ebp
call fcn.0042862d
add esp, 8
mov eax, dword [0x48b240]
inc eax
mov dword [0x48b240], eax
mov ecx, dword [0x486920]
imul eax, eax, 0xf6c809c2
lea eax, [eax + ecx + 0x5e58155b]
mov dword [0x486920], eax
push dword [0x48fbfc]
call fcn.0041f6fd
add esp, 4
and dword [0x48a740], 0x93402088
push ebx
lea ebp, [esp + 0x5be]
push ebp
call fcn.00417593
add esp, 8
and dword [0x48aba0], 0xc310b830
push 0x45b
push ebx
call fcn.0042076e
add esp, 8
or dword [0x48b4c8], 0x332cf971
push 0x15f
push edi
call fcn.0042076e
add esp, 8
mov eax, dword [0x486080]
cmp eax, 0x90f79d27
je 0x419730
mov eax, dword [0x48a83c]
shl eax, 6
cmp eax, 0x206d3a80
jl 0x419726
and dword [0x489d00], 0x4b2d6146
jmp 0x419730
and dword [0x489984], 0xf986c0d7
push 0x164f4
call dword [0x485fd8]
mov ax, word [0x48c450]
cwde
shl eax, 6
mov ecx, dword [0x48af6c]
not ecx
add ecx, eax
mov ax, word [0x48d05a]
cwde
shl eax, 2
sub ecx, eax
mov dword [0x489a08], ecx
push ebp
call dword [0x485f28]
mov eax, dword [0x48b584]
and eax, 0x7ffffff
cmp eax, 0x530a800
jne 0x41978f
mov eax, dword [0x48b008]
add eax, 0x66755da6
cmp eax, 0x843643ba
jg 0x41978f
mov eax, dword [0x48ae50]
mov ax, word [0x48ed58]
xor eax, 0xd60d
mov word [0x48ed58], ax
push 0x172
push ebp
call fcn.0042076e
add esp, 8
mov eax, dword [0x486e20]
xor eax, 0x50794975
mov ecx, dword [0x487e84]
or ecx, 0xd77f9fcf
xor ecx, 0x28806030
cmp eax, ecx
jge 0x4197e1
mov ax, word [0x48ed3a]
or eax, 0xcbd9
mov word [0x48ed3a], ax
jmp 0x4197fa
mov eax, dword [0x48b688]
mov ecx, 0x45d4aaa2
sub ecx, eax
cmp ecx, 0x8c001081
jg 0x4197fa
mov eax, dword [0x487504]
mov eax, dword [0x4860dc]
imul eax, eax, 0x96f2ffbe
mov dword [0x4860dc], eax
add esp, 0x72c
pop esi
pop edi
pop ebx
pop ebp
ret