Function at 0x438380
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, 0x1096b39f
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov si, word [0x4a280e]
movsx eax, si
imul eax, eax, 0x7888bd0e
and eax, 0xb240f3f9
cmp edx, eax
jge 0x4383cf
mov ax, word [0x4a393a]
mov cx, ax
or ecx, 0x2255
mov ax, cx
mov word [0x4a393a], ax
mov eax, dword [0x4a07ec]
imul eax, eax, 0xf9a2af28
and eax, 0xb93c9eb8
mov cx, word [0x4a67c4]
movsx edx, cx
sar edx, 9
add edx, 0x58fa72d7
cmp eax, edx
jne 0x438409
mov eax, dword [0x49819c]
add eax, 0xb47bf2dd
mov dword [0x49819c], eax
cmp dword [0x4a9560], 0
jne 0x43845e
mov eax, dword [0x497940]
not eax
mov ecx, dword [0x496d4c]
dec ecx
mov dword [0x496d4c], ecx
or eax, ecx
mov ecx, dword [0x498804]
add ecx, eax
mov dword [0x498804], ecx
call fcn.00401180
mov dword [0x4a9560], eax
mov dx, word [0x4a710c]
mov ax, dx
imul eax, eax, 0x8ece5cbf
mov dx, ax
mov word [0x4a710c], dx
mov eax, 0xc64c0ade
mov ecx, dword [0x49ae48]
xor ecx, 0xa005e606
mov dword [0x49ae48], ecx
mov ecx, esp
mov dword [ecx + 4], 3
mov dword [ecx], 0x32a2
mov dword [esp + 0x1c], eax
call fcn.00401920
mov dword [esp + 0x28], eax
mov dx, word [0x4a1e38]
mov ax, dx
inc eax
mov si, ax
mov word [0x4a1e38], si
movsx eax, dx
add eax, 0x1086fbff
mov dword [0x493d48], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, esp
mov dword [edi + 4], eax
mov dword [edi], ecx
call fcn.00455432
mov dword [esp + 0x20], eax
mov eax, dword [0x493778]
shr eax, 8
xor eax, 0x6ea3
mov dx, word [0x4a847e]
mov cx, dx
or ecx, eax
mov dx, cx
mov word [0x4a847e], dx
mov eax, dword [esp + 0x28]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00405f10
mov eax, dword [0x49c1b4]
shl eax, 8
and eax, 0x4d211a0e
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x438533
mov ax, word [0x4a768a]
mov cx, ax
or ecx, 0x7170
mov ax, cx
mov word [0x4a768a], ax
cmp dword [esp + 0x20], 0
jne 0x438665
mov eax, 0x42929485
mov ecx, dword [0x49b560]
xor ecx, 0xd8f6f979
mov dword [0x49b560], ecx
mov ecx, dword [0x492e04]
mov edx, esp
mov dword [edx], 0x42f
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov eax, dword [0x49f4c0]
xor eax, 0xffffffff
and eax, 0x9aae2aa3
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jl 0x4385d5
mov eax, 0x691a7baa
mov ecx, dword [0x49dff4]
cmp eax, ecx
jg 0x4385d0
mov eax, 0xe65dd1f5
mov ecx, 0x2c50ba33
mov edx, dword [0x498a48]
dec edx
mov dword [0x498a48], edx
mov esi, dword [0x4984d0]
sub ecx, esi
and edx, ecx
cmp eax, edx
jl 0x4385c6
jmp 0x4385cb
jmp 0x4385cb
jmp 0x4385d0
jmp 0x4385d5
mov eax, esp
mov dword [eax + 4], 3
mov dword [eax], 0x32a2
call fcn.00401920
mov dword [esp + 0x24], eax
mov eax, dword [0x49b594]
and eax, 0x90cf2693
mov dword [0x49b594], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, esp
mov dword [edx + 4], eax
mov dword [edx], ecx
call fcn.00455432
mov dword [esp + 0x20], eax
mov si, word [0x4a8570]
mov ax, si
add eax, 0x4a74f365
mov si, word [0x4a5a50]
mov cx, si
xor ecx, eax
mov si, cx
mov word [0x4a5a50], si
mov eax, dword [esp + 0x24]
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], 3
call fcn.00405f10
mov eax, dword [0x497d00]
xor eax, 0xd9d69e9b
mov ecx, dword [0x494838]
and ecx, eax
mov dword [0x494838], ecx
mov eax, dword [0x49a6f4]
or eax, 0x16fd1587
mov dword [0x49a6f4], eax
cmp dword [esp + 0x20], 0
je 0x438712
mov ax, word [0x4a6b20]
movsx ecx, ax
add ecx, 0x103cb408
mov edx, dword [0x494c70]
and edx, ecx
mov dword [0x494c70], edx
mov ecx, dword [esp + 0x20]
mov edx, esp
mov dword [edx + 0xc], ecx
mov dword [edx + 8], 1
mov dword [edx + 4], 4
mov dword [edx], 0x4a9560
call fcn.00455b06
mov si, word [0x4a7c00]
mov cx, si
inc ecx
mov si, cx
mov word [0x4a7c00], si
movsx ecx, si
or ecx, 0xf6629a7
mov edx, dword [0x49a6c0]
imul edx, ecx
mov dword [0x49a6c0], edx
mov ecx, dword [esp + 0x20]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 0x14], eax
call fcn.00455bf4
mov ecx, dword [0x49ad70]
or ecx, 0x7ddb9db1
mov dword [0x49ad70], ecx
mov dword [esp + 0x10], eax
mov eax, 0xbf6f6a4
mov ecx, dword [0x4976a0]
cmp eax, ecx
jle 0x43873d
mov eax, dword [0x49497c]
mov ecx, eax
inc ecx
mov dword [0x49497c], ecx
or eax, 0x9207a354
mov dword [0x49bb74], eax
add esp, 0x34
pop esi
pop edi
ret