Function at 0x43b170
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x784
mov eax, dword [esp + 0x790]
mov dword [esp + 0x780], eax
mov eax, dword [0x48d4ac]
and eax, 0xc1b7485f
mov dword [0x48d4ac], eax
mov eax, dword [esp + 0x780]
mov ecx, eax
call fcn.0040a200
cmp eax, 0x8052
jbe 0x43b8c8
mov eax, 0xdfd4f5bf
mov cx, word [0x49d190]
mov dx, cx
add edx, 0x4429a481
mov cx, dx
mov word [0x49d190], cx
mov edx, dword [0x48bad4]
imul edx, edx, 0xf7ffefbf
mov dword [0x48bad4], edx
mov cx, word [0x49a1d2]
movsx edx, cx
and edx, 0x46bd44ca
or edx, 0xbae67e25
cmp eax, edx
jg 0x43b21a
mov ax, word [0x49c264]
mov cx, ax
imul ecx, ecx, 0x3e40fc06
mov ax, cx
mov word [0x49c264], ax
jmp 0x43b23c
mov eax, dword [0x490bd4]
mov ecx, eax
inc ecx
mov dword [0x490bd4], ecx
add eax, 0x96c311a4
mov ecx, dword [0x496d4c]
imul ecx, eax
mov dword [0x496d4c], ecx
mov eax, 0xc56279cd
mov cx, word [0x49ae44]
mov dx, cx
or edx, 0x8cd3
mov cx, dx
mov word [0x49ae44], cx
mov edx, esp
lea esi, [esp + 0x606]
mov dword [edx], esi
mov dword [esp + 0x50], eax
call fcn.00436840
mov dword [esp + 0x600], eax
mov eax, dword [0x48cbf4]
add eax, 0xd7c4c974
mov edx, dword [0x490c98]
or eax, edx
or eax, 0xd9106de2
mov dword [0x490c98], eax
call fcn.00439450
movzx edx, al
and edx, 3
add edx, 7
mov esi, dword [esp + 0x600]
lea esi, [esp + esi + 0x606]
mov edi, esp
mov dword [edi + 4], edx
mov dword [edi], esi
call fcn.00450e70
mov edx, dword [0x49355c]
inc edx
mov dword [0x49355c], edx
mov esi, dword [esp + 0x50]
cmp esi, edx
je 0x43b2f7
mov eax, dword [0x48dd78]
dec eax
mov dword [0x48dd78], eax
imul eax, eax, 0x5da40dd8
mov ecx, dword [0x49331c]
or ecx, eax
mov dword [0x49331c], ecx
jmp 0x43b307
mov eax, dword [0x4914f8]
imul eax, eax, 0xae305a12
mov dword [0x4914f8], eax
mov eax, esp
mov dword [eax + 4], 5
mov dword [eax], 0x262
call fcn.00440380
mov dword [esp + 0x77c], eax
mov eax, dword [0x48d67c]
shl eax, 9
and eax, 0xe9aad5e0
and eax, 0x321c7f21
cmp eax, 0x3800f559
jge 0x43b36b
mov eax, 0xa3400c8d
mov ecx, dword [0x48b270]
cmp eax, ecx
jge 0x43b366
mov eax, dword [0x48fc28]
add eax, 0x183d8a98
mov cx, ax
mov word [0x499abe], cx
jmp 0x43b36b
mov eax, 0xf87c4ab3
mov ecx, dword [esp + 0x77c]
mov edx, esp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x606]
mov dword [edx], ecx
mov dword [esp + 0x4c], eax
call fcn.00455cb0
mov ecx, dword [0x4932f8]
mov edx, 0x4419c861
sub edx, ecx
and edx, 0x38bc6017
mov ecx, dword [0x492bd8]
imul ecx, edx
mov dword [0x492bd8], ecx
mov ecx, esp
mov dword [ecx + 4], 3
mov dword [ecx], 0x1eca
mov dword [esp + 0x48], eax
call fcn.00440380
mov dword [esp + 0x778], eax
mov eax, dword [0x496c30]
xor eax, 0xf920289e
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jle 0x43b3f4
mov eax, dword [0x491d18]
add eax, 0x2f44c1cb
mov dword [0x491d18], eax
mov eax, dword [esp + 0x77c]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 5
call fcn.00436780
mov eax, dword [0x48cea8]
inc eax
mov dword [0x48cea8], eax
imul eax, eax, 0xfd3a5c21
mov ecx, dword [0x48aaf4]
xor ecx, eax
mov dword [0x48aaf4], ecx
mov eax, dword [esp + 0x778]
mov ecx, esp
mov dword [ecx + 4], eax
lea eax, [esp + 0x606]
mov dword [ecx], eax
call fcn.00456457
mov dword [esp + 0x770], eax
mov eax, dword [0x48c784]
or eax, 0xed12c819
mov dword [0x48c784], eax
mov eax, dword [esp + 0x778]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00436780
mov eax, dword [0x494cd8]
xor eax, 0xd3fee169
mov dword [0x494cd8], eax
cmp dword [esp + 0x770], 0
je 0x43b886
mov eax, 0x79e31cb4
mov ecx, dword [0x496b94]
dec ecx
mov dword [0x496b94], ecx
sub ecx, 0xbc1b0fdd
cmp eax, ecx
jge 0x43b4bd
mov eax, dword [0x48fa94]
add eax, 0x4e89b71d
mov dword [0x48fa94], eax
mov eax, 0x3f85791c
mov ecx, dword [0x496680]
add ecx, 0x4645898a
mov dword [0x496680], ecx
mov ecx, dword [esp + 0x770]
mov edx, dword [esp + 0x780]
mov dword [esp + 0x44], ecx
mov ecx, edx
mov dword [esp + 0x40], eax
call fcn.0040a200
mov ecx, dword [esp + 0x780]
mov dword [esp + 0x3c], eax
call fcn.004188b0
mov ecx, esp
mov edx, dword [esp + 0x44]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov dword [ecx + 8], 1
call fcn.0045660a
mov ecx, dword [0x48ae98]
add ecx, 0xd749a4e9
mov edx, dword [0x49464c]
sub edx, ecx
mov dword [0x49464c], edx
mov ecx, dword [esp + 0x770]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0x38], eax
call fcn.004566f8
mov ecx, dword [0x496a4c]
xor ecx, 0x1d25d1b9
mov dword [0x496a4c], ecx
mov ecx, dword [esp + 0x780]
mov dword [esp + 0x34], eax
call fcn.00411050
mov eax, dword [0x48b884]
xor eax, 0x928b903b
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jl 0x43b594
mov eax, dword [0x490a88]
or eax, 0xb20e24cf
mov dword [0x490a88], eax
mov eax, 0xbbf4fd5b
mov byte [esp + 0x1ac], 0
mov ecx, dword [0x48ceb8]
add ecx, 0xf77e9370
mov dword [0x48ceb8], ecx
mov ecx, dword [0x48a9c8]
mov edx, esp
lea esi, [esp + 0x56]
mov dword [edx + 4], esi
mov dword [edx + 8], 0x156
mov dword [edx], 0
mov dword [esp + 0x30], eax
call ecx
sub esp, 0xc
mov di, word [0x49bfe6]
movsx ecx, di
mov edx, dword [esp + 0x30]
cmp edx, ecx
mov dword [esp + 0x2c], eax
je 0x43b60f
mov ax, word [0x499292]
movsx ecx, ax
imul ecx, ecx, 0x2fe06ad0
mov edx, dword [0x48f5ec]
xor edx, ecx
mov dword [0x48f5ec], edx
mov byte [esp + 0x5ff], 0
mov ax, word [0x49a4a2]
movsx ecx, ax
imul ecx, ecx, 0x922436bc
mov edx, dword [0x493b74]
and ecx, edx
mov edx, dword [0x492fcc]
xor edx, ecx
mov dword [0x492fcc], edx
mov ecx, esp
mov dword [ecx + 4], 0x15
mov dword [ecx], 0x27c3
call fcn.00440380
mov dword [esp + 0x774], eax
mov eax, dword [0x48ade4]
and eax, 0x41d5cb84
mov dword [0x48ade4], eax
mov eax, dword [0x49dd3c]
mov ecx, dword [0x49dd24]
mov edx, dword [esp + 0x774]
mov esi, esp
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
lea eax, [esp + 0x56]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
lea eax, [esp + 0x1ad]
mov dword [esi], eax
call fcn.00455f46
mov ecx, dword [0x48fb80]
sar ecx, 1
and ecx, 0xfcc2dcb3
cmp ecx, 0x894b16e4
mov dword [esp + 0x28], eax
jg 0x43b6e1
mov ax, word [0x4988da]
mov cx, ax
inc ecx
mov dx, cx
mov word [0x4988da], dx
movsx ecx, ax
mov esi, dword [0x496d14]
add esi, ecx
mov dword [0x496d14], esi
jmp 0x43b6f9
mov ax, word [0x497afc]
mov cx, ax
add ecx, 0x424d7a7c
mov ax, cx
mov word [0x497afc], ax
mov eax, 0xd7f5df9f
mov ecx, dword [esp + 0x774]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], 0x15
mov dword [esp + 0x24], eax
call fcn.00436780
mov eax, dword [0x490e0c]
add eax, 0x7a4dbf1b
mov dword [0x490e0c], eax
mov eax, dword [0x49dd3c]
mov ecx, esp
mov dword [ecx], eax
call fcn.0044dd10
mov ecx, dword [0x48e904]
add ecx, 0xc379ee40
mov dword [0x48e904], ecx
mov ecx, esp
lea edx, [esp + 0x1ad]
mov dword [ecx + 4], edx
lea esi, [esp + 0x606]
mov dword [ecx], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
call fcn.004410b0
mov di, word [0x49a746]
movsx eax, di
shr eax, 9
xor eax, 0xb6bb
or eax, 0x4844
mov di, ax
mov word [0x49a42a], di
mov eax, esp
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], 0x453
call fcn.0044a860
mov di, word [0x49ce6e]
movsx eax, di
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x43b7cd
mov ax, word [0x49bd00]
mov cx, ax
imul ecx, ecx, 0xd8aeb78
mov ax, cx
mov word [0x49bd00], ax
mov eax, 0x7b7ffedf
mov ecx, esp
lea edx, [esp + 0x56]
mov dword [ecx], edx
mov dword [ecx + 4], 0x157
mov dword [esp + 0x18], eax
call fcn.0044a860
mov si, word [0x49cffa]
mov ax, si
xor eax, 0xebbf
mov si, ax
mov word [0x49cffa], si
mov eax, dword [0x48aa24]
mov ecx, esp
mov dword [ecx], 0x16051
call eax
sub esp, 4
mov eax, dword [0x48c9f0]
or eax, 0xbbe48c0e
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jne 0x43b839
mov word [0x497982], 0x402
jmp 0x43b863
mov eax, dword [0x495448]
mov ecx, eax
inc ecx
mov dword [0x495448], ecx
imul eax, eax, 0x4be2792a
mov dx, word [0x499d30]
mov cx, dx
or ecx, eax
mov dx, cx
mov word [0x499d30], dx
mov eax, dword [0x48a974]
mov ecx, esp
lea edx, [esp + 0x606]
mov dword [ecx], edx
call eax
sub esp, 4
mov dword [0x48e174], 0xff7efcfd
mov dword [esp + 0x14], eax
mov ax, word [0x498a88]
movsx ecx, ax
not ecx
mov edx, dword [0x48ec28]
or edx, ecx
mov dword [0x48ec28], edx
mov ecx, esp
lea edx, [esp + 0x606]
mov dword [ecx], edx
mov dword [ecx + 4], 0x16a
call fcn.0044a860
mov ecx, dword [0x48cc28]
add ecx, 0x82080120
mov dword [0x48cc28], ecx
mov eax, dword [0x48ef60]
sar eax, 1
mov ecx, dword [0x4949ec]
or ecx, eax
mov dword [0x4949ec], ecx
add esp, 0x784
pop esi
pop edi
ret