Function at 0x435630
Capabilities:
Write file on windows

Disassembly:
push esi
sub esp, 0x30
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, 0x169667ab
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov si, word [0x4a5350]
movsx eax, si
cmp edx, eax
jle 0x435678
mov ax, word [0x4a61fe]
mov cx, ax
add ecx, 0xbef79ffe
mov ax, cx
mov word [0x4a61fe], ax
jmp 0x4356d3
mov eax, dword [0x49a0b4]
mov ecx, eax
dec ecx
mov dword [0x49a0b4], ecx
mov ecx, 0x68b5ff89
sub ecx, eax
xor ecx, 0xb8b3cebb
mov eax, dword [0x4a14b8]
shl eax, 2
add eax, 0xe18261d7
xor eax, 0x2c90461d
cmp ecx, eax
jle 0x4356ce
mov eax, 0xff79f6fb
mov cx, word [0x4a7ca8]
movsx edx, cx
cmp eax, edx
jne 0x4356c9
jmp 0x4356c9
jmp 0x4356ce
jmp 0x4356d3
mov eax, dword [0x498c84]
add eax, 0x6db7a7d3
mov dword [0x498c84], eax
cmp dword [0x4a8c8c], 0
jne 0x435717
mov eax, dword [0x4983e0]
add eax, 0x8c49d9ac
mov dword [0x4983e0], eax
call fcn.00412100
mov dword [0x4a8c8c], eax
mov eax, dword [0x4a14e4]
add eax, 0xf0b9883c
mov dword [0x4a14e4], eax
mov ax, word [0x4a3846]
mov cx, ax
imul ecx, ecx, 0xfdfddadb
mov ax, cx
mov word [0x4a3846], ax
mov ecx, esp
mov dword [ecx + 4], 3
mov dword [ecx], 0xdb4
call fcn.004136b0
mov dword [esp + 0x24], eax
mov word [0x4a2c96], 0xffdb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.004551b4
mov dword [esp + 0x1c], eax
mov eax, dword [0x4a0128]
and eax, 0xb5e0331
mov dword [0x4a0128], eax
mov eax, dword [esp + 0x24]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.0041ef40
mov eax, dword [0x49e28c]
mov ecx, eax
inc ecx
mov dword [0x49e28c], ecx
mov dword [0x49cd3c], eax
cmp dword [esp + 0x1c], 0
jne 0x435909
mov ax, word [0x4a6bee]
movsx ecx, ax
cmp ecx, 0xa7dc08d1
jle 0x4357ce
mov eax, dword [0x49a8dc]
imul eax, eax, 0xc032080
mov dword [0x49a8dc], eax
mov eax, dword [0x497ca4]
mov ecx, esp
mov dword [ecx], 0x42c
call eax
sub esp, 4
mov eax, dword [0x49a73c]
mov ecx, eax
inc ecx
mov dword [0x49a73c], ecx
xor eax, 0x620c41
cmp eax, 0xf77fdb87
jg 0x435825
mov eax, dword [0x49e800]
shl eax, 2
cmp eax, 0x172bcf2a
jl 0x435820
mov eax, dword [0x4a21c8]
and eax, 0x55770923
mov dword [0x4a21c8], eax
jmp 0x435825
mov eax, 0x3db9a6d9
mov ecx, esp
mov dword [ecx + 4], 3
mov dword [ecx], 0xdb4
mov dword [esp + 0x18], eax
call fcn.004136b0
mov dword [esp + 0x20], eax
mov eax, dword [0x4a0ff4]
mov ecx, eax
dec ecx
mov dword [0x4a0ff4], ecx
mov ecx, dword [0x49ad44]
imul eax, ecx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jne 0x43588b
mov eax, dword [0x498ac4]
add eax, 0x47989f7f
xor eax, 0xdcde192e
mov ecx, dword [0x49eaac]
or ecx, eax
mov dword [0x49eaac], ecx
jmp 0x4358aa
mov eax, dword [0x498d28]
imul eax, eax, 0x9656bb40
or eax, 0x19be483b
mov ecx, dword [0x49c1a8]
imul ecx, eax
mov dword [0x49c1a8], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.004551b4
mov dword [esp + 0x1c], eax
mov si, word [0x4a5a02]
mov ax, si
or eax, 0xc57f
mov si, ax
mov word [0x4a5a02], si
mov eax, dword [esp + 0x20]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.0041ef40
mov si, word [0x4a44f0]
mov ax, si
imul eax, eax, 0x4349f168
mov si, ax
mov word [0x4a44f0], si
mov eax, 0xf1583152
mov ecx, dword [0x49baa4]
mov dx, word [0x4a7532]
movsx esi, dx
or ecx, esi
mov dx, word [0x4a6f4a]
movsx esi, dx
sub eax, esi
cmp ecx, eax
jg 0x435948
mov eax, dword [0x49bb84]
add eax, 0x647066fa
mov dword [0x49bb84], eax
jmp 0x43598b
mov eax, 0xe8c490b1
mov cx, word [0x4a4944]
movsx edx, cx
shl edx, 3
cmp eax, edx
je 0x435976
mov eax, dword [0x49b104]
add eax, 0x236ff43e
mov dword [0x49b104], eax
jmp 0x435986
mov eax, dword [0x49f5f8]
imul eax, eax, 0xa9391681
mov dword [0x49f5f8], eax
jmp 0x43598b
cmp dword [esp + 0x1c], 0
je 0x435a46
mov eax, 0xbf9d4e9
mov ecx, dword [0x4a1a58]
mov dx, word [0x4a5faa]
movsx esi, dx
xor ecx, esi
xor ecx, 0xc762aca5
cmp eax, ecx
jg 0x4359ce
mov eax, dword [0x49bcc8]
mov ecx, dword [0x49bfd8]
and ecx, eax
mov dword [0x49bfd8], ecx
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], 0x4a8c8c
call fcn.00455367
mov ecx, dword [0x4a0de0]
mov edx, ecx
dec edx
mov dword [0x4a0de0], edx
mov edx, dword [0x49e690]
imul edx, ecx
mov dword [0x49e690], edx
mov ecx, dword [esp + 0x1c]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0x14], eax
call fcn.00455455
mov ecx, dword [0x49ecf8]
mov edx, dword [0x4a23f4]
inc edx
mov dword [0x4a23f4], edx
xor ecx, edx
mov edx, dword [0x4a1720]
sub edx, ecx
mov dword [0x4a1720], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x4987c8]
or eax, 0x2704ce73
mov dword [0x4987c8], eax
add esp, 0x30
pop esi
ret