Function at 0x437b90
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dx, word [0x4a1fd8]
mov ax, dx
dec eax
mov si, ax
mov word [0x4a1fd8], si
movsx eax, dx
or eax, 0x1242fe15
mov dx, word [0x4a0498]
mov cx, dx
inc ecx
mov si, cx
mov word [0x4a0498], si
movsx ecx, dx
mov edi, dword [0x4aa3f8]
xor ecx, edi
cmp eax, ecx
jg 0x437bfa
mov eax, dword [0x4af4cc]
or eax, 0xaa03e6c8
mov dword [0x4af4cc], eax
mov eax, dword [0x4a7ab8]
inc eax
mov dword [0x4a7ab8], eax
xor eax, 0xefafce7c
mov cx, word [0x4a084e]
movsx edx, cx
sar edx, 9
or edx, 0x760e6099
cmp eax, edx
jge 0x437c87
mov eax, 0xf5d7ffd9
mov cx, word [0x4a2064]
mov dx, cx
dec edx
mov si, dx
mov word [0x4a2064], si
movsx edx, cx
xor edx, 0xfbf89ab5
mov edi, dword [0x4acce4]
mov ebx, edi
dec ebx
mov dword [0x4acce4], ebx
xor edx, edi
cmp eax, edx
jl 0x437c82
mov eax, dword [0x4a97fc]
mov ecx, eax
inc ecx
mov dword [0x4a97fc], ecx
xor eax, 0xfa6fba8e
mov ecx, dword [0x4af5e0]
add ecx, eax
mov dword [0x4af5e0], ecx
jmp 0x437c87
cmp dword [0x4b3470], 0
jne 0x437d05
mov ax, word [0x49fa8c]
mov cx, ax
imul ecx, ecx, 0xa97e451c
mov ax, cx
mov word [0x49fa8c], ax
call fcn.0041af60
mov dword [0x4b3470], eax
mov dx, word [0x4a2998]
mov ax, dx
dec eax
mov si, ax
mov word [0x4a2998], si
movsx eax, dx
mov dx, word [0x49e2d0]
mov cx, dx
dec ecx
mov dx, cx
mov word [0x49e2d0], dx
movsx ecx, dx
mov edi, dword [0x4a92dc]
dec edi
mov dword [0x4a92dc], edi
sub ecx, edi
xor eax, ecx
mov ecx, dword [0x4acf18]
and ecx, eax
mov dword [0x4acf18], ecx
mov eax, 0x4d089187
mov ecx, dword [0x4abed0]
add ecx, 0xa1ab0fa2
mov dword [0x4abed0], ecx
mov ecx, esp
mov dword [ecx + 4], 3
mov dword [ecx], 0x7411
mov dword [esp + 0x20], eax
call fcn.00444b60
mov dword [esp + 0x2c], eax
mov eax, dword [0x4ab0bc]
mov ecx, eax
dec ecx
mov dword [0x4ab0bc], ecx
imul eax, eax, 0x793dff
add eax, 0x88817c5c
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jge 0x437d6c
mov eax, dword [0x4ad648]
add eax, 0xcfee26c
mov dword [0x4ad648], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00455eeb
mov dword [esp + 0x24], eax
mov eax, dword [0x4a7ae8]
mov ecx, eax
dec ecx
mov dword [0x4a7ae8], ecx
cmp eax, 0x634dcd2
jg 0x437e03
mov eax, 0xcfffff9f
mov cx, word [0x4a0b5a]
mov dx, cx
dec edx
mov cx, dx
mov word [0x4a0b5a], cx
movsx edx, cx
cmp eax, edx
jle 0x437dfe
mov eax, 0x95b012aa
mov cx, word [0x4a1860]
mov dx, cx
dec edx
mov cx, dx
mov word [0x4a1860], cx
movsx edx, cx
mov esi, dword [0x4aa450]
add edx, esi
cmp eax, edx
je 0x437df4
jmp 0x437df9
jmp 0x437df9
jmp 0x437dfe
jmp 0x437e13
mov eax, dword [0x4adc18]
imul eax, eax, 0x6d91931c
mov dword [0x4adc18], eax
mov eax, dword [esp + 0x2c]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.0044d6d0
mov eax, dword [0x4b17f0]
mov ecx, eax
inc ecx
mov dword [0x4b17f0], ecx
or eax, 0x6d4313
mov dword [0x4a99c0], eax
cmp dword [esp + 0x24], 0
jne 0x437fd0
mov eax, 0xc580a9e5
mov ecx, dword [0x4ab828]
and ecx, 0x26cd3ac6
mov dword [0x4ab828], ecx
mov ecx, dword [0x49d904]
mov edx, esp
mov dword [edx], 0x459
mov dword [esp + 0x1c], eax
call ecx
sub esp, 4
mov eax, dword [0x4af6cc]
mov ecx, eax
dec ecx
mov dword [0x4af6cc], ecx
mov ecx, dword [0x4b068c]
or ecx, eax
mov dword [0x4b068c], ecx
mov eax, esp
mov dword [eax + 4], 3
mov dword [eax], 0x7411
call fcn.00444b60
mov dword [esp + 0x28], eax
mov si, word [0x49de52]
movsx eax, si
and eax, 0xc665e0b7
mov dword [0x4a80c8], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00455eeb
mov dword [esp + 0x24], eax
mov eax, dword [0x4accf8]
mov ecx, dword [0x4b02b0]
and ecx, 0x7238747e
or eax, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x437f5d
mov eax, 0x2e28d77c
mov ecx, dword [0x4aa220]
add ecx, 0xc03a3404
cmp eax, ecx
jne 0x437f36
mov eax, 0x45c9f0b9
mov ecx, dword [0x4a5994]
sar ecx, 0xa
or ecx, 0x834bd0db
cmp eax, ecx
jge 0x437f31
jmp 0x437f31
jmp 0x437f58
mov eax, dword [0x4ace60]
inc eax
mov dword [0x4ace60], eax
mov cx, word [0x49fcaa]
mov dx, cx
imul edx, eax
mov cx, dx
mov word [0x49fcaa], cx
jmp 0x437f5d
mov eax, dword [esp + 0x28]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.0044d6d0
mov eax, dword [0x4ab558]
sub eax, 0xfd6e3d2d
or eax, 0xbfda414
cmp eax, 0xf57c55de
jge 0x437fcb
mov eax, 0x332952dd
mov ecx, dword [0x4a9be8]
dec ecx
mov dword [0x4a9be8], ecx
cmp eax, ecx
jne 0x437fc6
mov eax, dword [0x4aa39c]
dec eax
mov dword [0x4aa39c], eax
mov cx, word [0x4a33b6]
mov dx, cx
and edx, eax
mov cx, dx
mov word [0x4a33b6], cx
jmp 0x437fcb
jmp 0x437fd0
mov eax, dword [0x4ad71c]
add eax, 0x22fec5e0
mov dword [0x4ad71c], eax
cmp dword [esp + 0x24], 0
je 0x4380b8
mov eax, 0x8f2b7aad
mov cx, word [0x49fd14]
movsx edx, cx
sar edx, 2
imul edx, edx, 0xb72e7977
add edx, 0x1a9b9ef2
mov esi, dword [0x4a70b0]
imul esi, edx
mov dword [0x4a70b0], esi
mov edx, dword [esp + 0x24]
mov esi, esp
mov dword [esi + 0xc], edx
mov dword [esi + 8], 1
mov dword [esi + 4], 4
mov dword [esi], 0x4b3470
mov dword [esp + 0x18], eax
call fcn.0045d4db
mov dword [0x4a931c], 0x93f8e194
mov edx, dword [esp + 0x24]
mov esi, esp
mov dword [esi], edx
mov dword [esp + 0x14], eax
call fcn.0045a98d
mov edx, dword [0x4a8888]
and edx, 0x5d5baf1
mov esi, dword [esp + 0x18]
cmp esi, edx
mov dword [esp + 0x10], eax
jg 0x4380b3
mov eax, dword [0x4addb8]
dec eax
mov dword [0x4addb8], eax
and eax, 0x79f49546
xor eax, 0x6068ff8c
cmp eax, 0xce908616
jle 0x4380ae
mov eax, dword [0x4a5c04]
not eax
and eax, 0x80240891
mov ecx, dword [0x4aec20]
sub ecx, eax
mov dword [0x4aec20], ecx
jmp 0x4380b3
jmp 0x4380b8
mov eax, 0xd0fef0ba
mov ecx, dword [0x4b131c]
inc ecx
mov dword [0x4b131c], ecx
sub ecx, 0x373b79d3
cmp eax, ecx
jg 0x43812a
mov eax, 0x936a0c59
mov cx, word [0x4a39c2]
movsx edx, cx
cmp eax, edx
jle 0x438103
mov eax, dword [0x4b01b8]
xor eax, 0xadfdef1f
mov dword [0x4b01b8], eax
jmp 0x438125
mov eax, 0x9d27c44f
mov ecx, dword [0x4a5098]
cmp eax, ecx
jg 0x43811b
jmp 0x438120
jmp 0x438120
jmp 0x438125
jmp 0x43812a
add esp, 0x38
pop esi
pop edi
pop ebx
ret