Function at 0x45d0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, 4
imul ecx, eax, 0x1006
mov edx, dword [ecx + 0x495f00]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, 4
imul ecx, eax, 0x1006
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x495f00], edx
mov eax, 2
imul ecx, eax, 0x4b9
mov dx, word [ebp - 0xc]
mov word [ecx + 0x48fba0], dx
mov ecx, dword [ebp + 8]
call fcn.0043c7d0
cmp eax, 0x8000
jbe 0x45db48
mov eax, 4
imul ecx, eax, 0x1d67
mov edx, 4
imul eax, edx, 0xd7f
mov edx, dword [eax + 0x495f00]
shl edx, 8
mov eax, dword [ecx + 0x495f00]
sub eax, edx
mov ecx, 4
imul edx, ecx, 0x1d67
mov dword [edx + 0x495f00], eax
mov eax, 4
imul ecx, eax, 0x24f9
mov edx, dword [ecx + 0x495f00]
and edx, 0x7cd7f868
mov eax, 4
imul ecx, eax, 0x24f9
mov dword [ecx + 0x495f00], edx
mov edx, 4
imul eax, edx, 0x2586
imul ecx, dword [eax + 0x495f00], 0xd8a2f6a3
mov edx, 4
imul eax, edx, 0x2586
mov dword [eax + 0x495f00], ecx
mov ecx, 4
imul edx, ecx, 0x8a7
mov eax, dword [edx + 0x495f00]
add eax, 0x1a406944
mov ecx, 4
imul edx, ecx, 0x8a7
mov dword [edx + 0x495f00], eax
lea eax, [ebp - 0x144]
push eax
call fcn.00408850
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, 2
imul edx, ecx, 0x22b
movsx eax, word [edx + 0x48fba0]
and eax, 0x8a618d6a
mov ecx, 2
imul edx, ecx, 0x22b
mov word [edx + 0x48fba0], ax
call fcn.00448930
movzx eax, al
and eax, 0x80000003
jns 0x45d249
dec eax
or eax, 0xfffffffc
inc eax
add eax, 7
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + ecx - 0x144]
push edx
call fcn.00417270
add esp, 8
mov eax, 4
imul ecx, eax, 0x23d6
mov dword [ecx + 0x495f00], 0x3ed2b28
push 5
push 0x2909
call fcn.004456b0
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, 4
imul eax, edx, 0x16e0
mov ecx, 4
imul edx, ecx, 0x1d2d
mov ecx, dword [edx + 0x495f00]
sar ecx, 5
mov edx, dword [eax + 0x495f00]
imul edx, ecx
mov dword [ebp - 0x24], edx
mov eax, 4
imul ecx, eax, 0xf79
mov edx, dword [ecx + 0x495f00]
sar edx, 7
imul eax, edx, 0xe1acf081
xor eax, 0x58def388
mov dword [ebp - 0x28], eax
mov ecx, 4
imul edx, ecx, 0x16e0
mov eax, dword [edx + 0x495f00]
sub eax, 1
mov ecx, 4
imul edx, ecx, 0x16e0
mov dword [edx + 0x495f00], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
je 0x45d33b
mov ecx, 4
imul edx, ecx, 0x1f5
mov eax, 4
imul ecx, eax, 0x87a
mov eax, 0x39ce12ab
sub eax, dword [ecx + 0x495f00]
mov ecx, dword [edx + 0x495f00]
and ecx, eax
mov edx, 4
imul eax, edx, 0x1f5
mov dword [eax + 0x495f00], ecx
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.00465140
add esp, 8
mov eax, 4
imul ecx, eax, 0x278d
mov edx, dword [ecx + 0x495f00]
add edx, 0x2d825be6
mov eax, 4
imul ecx, eax, 0x278d
mov dword [ecx + 0x495f00], edx
push 3
push 0x9e0
call fcn.004456b0
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, 4
imul eax, edx, 0x4db
mov ecx, dword [eax + 0x495f00]
and ecx, 0x1a8981d7
mov edx, 4
imul eax, edx, 0x4db
mov dword [eax + 0x495f00], ecx
mov ecx, dword [ebp - 0x14]
push ecx
push 5
call fcn.00405010
add esp, 8
mov edx, 4
imul eax, edx, 0x300
mov ecx, 4
imul edx, ecx, 0x718
mov ecx, dword [edx + 0x495f00]
not ecx
sub ecx, 0x40ca336a
mov edx, dword [eax + 0x495f00]
xor edx, ecx
mov eax, 4
imul ecx, eax, 0x300
mov dword [ecx + 0x495f00], edx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.004661a1
add esp, 8
mov dword [ebp - 8], eax
mov ecx, 4
imul edx, ecx, 0x1fd8
mov eax, 4
imul ecx, eax, 0x1fb1
mov eax, 2
imul eax, eax, 0x4f7
movsx eax, word [eax + 0x48fba0]
mov ecx, dword [ecx + 0x495f00]
or ecx, eax
mov edx, dword [edx + 0x495f00]
and edx, ecx
mov eax, 4
imul ecx, eax, 0x1fd8
mov dword [ecx + 0x495f00], edx
mov edx, 2
imul eax, edx, 0x4f7
mov cx, word [eax + 0x48fba0]
sub cx, 1
mov edx, 2
imul eax, edx, 0x4f7
mov word [eax + 0x48fba0], cx
mov ecx, 4
imul edx, ecx, 0x1fb1
mov eax, dword [edx + 0x495f00]
sub eax, 1
mov ecx, 4
imul edx, ecx, 0x1fb1
mov dword [edx + 0x495f00], eax
mov eax, dword [ebp - 0x10]
push eax
push 3
call fcn.00405010
add esp, 8
mov ecx, 2
imul edx, ecx, 0x17d
movsx eax, word [edx + 0x48fba0]
and eax, 0x3ea6c4b3
mov ecx, 2
imul edx, ecx, 0x17d
mov word [edx + 0x48fba0], ax
cmp dword [ebp - 8], 0
je 0x45da7a
mov eax, 2
imul ecx, eax, 0xaa4
mov edx, 2
imul eax, edx, 0x1393
mov cx, word [ecx + 0x48fba0]
mov word [eax + 0x48fba0], cx
mov edx, 4
imul eax, edx, 0x1ab1
mov ecx, dword [eax + 0x495f00]
or ecx, 0xd85f93e0
mov edx, 4
imul eax, edx, 0xc24
mov edx, dword [eax + 0x495f00]
shl edx, 1
xor edx, 0x803d4bd
cmp ecx, edx
jge 0x45d5a7
mov eax, 4
imul ecx, eax, 0x5a8
mov edx, 4
imul eax, edx, 0x114b
mov edx, 0xf80f8138
sub edx, dword [eax + 0x495f00]
add edx, 0x31d9439b
mov eax, dword [ecx + 0x495f00]
xor eax, edx
mov ecx, 4
imul edx, ecx, 0x5a8
mov dword [edx + 0x495f00], eax
mov eax, 4
imul ecx, eax, 0x114b
mov edx, dword [ecx + 0x495f00]
add edx, 1
mov eax, 4
imul ecx, eax, 0x114b
mov dword [ecx + 0x495f00], edx
jmp 0x45d60a
mov edx, 2
imul eax, edx, 0x2fc3
mov cx, word [eax + 0x48fba0]
add cx, 1
mov word [ebp - 2], cx
mov edx, 2
imul eax, edx, 0x2fc3
mov cx, word [ebp - 2]
mov word [eax + 0x48fba0], cx
movsx edx, word [ebp - 2]
imul eax, edx, 0xee6611ed
and eax, 0x82e896f2
mov ecx, 4
imul edx, ecx, 0x19cc
mov ecx, dword [edx + 0x495f00]
add ecx, eax
mov edx, 4
imul eax, edx, 0x19cc
mov dword [eax + 0x495f00], ecx
mov ecx, dword [ebp - 8]
push ecx
push 1
mov ecx, dword [ebp + 8]
call fcn.0043c7d0
push eax
mov ecx, dword [ebp + 8]
call fcn.004486c0
push eax
call fcn.00466354
add esp, 0x10
mov edx, 4
imul eax, edx, 0x2315
mov ecx, dword [eax + 0x495f00]
add ecx, 0x79954d6c
mov edx, 4
imul eax, edx, 0x2315
mov dword [eax + 0x495f00], ecx
mov ecx, dword [ebp - 8]
push ecx
call fcn.00465e76
add esp, 4
mov edx, 4
imul eax, edx, 0x15bd
imul ecx, dword [eax + 0x495f00], 0x8a06b568
or ecx, 0x9397c969
cmp ecx, 0x5246a8bf
jl 0x45d6a9
mov edx, 4
imul eax, edx, 0x312f
mov ecx, dword [eax + 0x495f00]
or ecx, 0x8151f933
mov edx, 4
imul eax, edx, 0x312f
mov dword [eax + 0x495f00], ecx
mov ecx, dword [ebp + 8]
call fcn.00420130
mov ecx, 4
imul edx, ecx, 0x2be0
mov eax, dword [edx + 0x495f00]
or eax, 0x40bab5cf
mov ecx, 4
imul edx, ecx, 0x2be0
mov dword [edx + 0x495f00], eax
mov eax, 1
imul ecx, eax, 0x104
mov byte [ebp + ecx - 0x24c], 0
mov edx, 4
imul eax, edx, 0x10b9
mov ecx, dword [eax + 0x495f00]
not ecx
imul edx, ecx, 0x9bcd4c75
cmp edx, 0xa1a6c5f5
jle 0x45d751
mov eax, 4
imul ecx, eax, 0x303e
imul edx, dword [ecx + 0x495f00], 0x7d665864
cmp edx, 0x6f8ef019
jl 0x45d751
mov eax, 4
imul ecx, eax, 0x707
mov edx, dword [ecx + 0x495f00]
add edx, 0xbc643b5
mov eax, 4
imul ecx, eax, 0x707
mov dword [ecx + 0x495f00], edx
push 0x104
lea edx, [ebp - 0x24c]
push edx
push 0
call dword [0x48fab8]
mov eax, 4
imul ecx, eax, 0x1e3e
mov edx, dword [ecx + 0x495f00]
or edx, 0x2722f1db
mov eax, 4
imul ecx, eax, 0x1e3e
mov dword [ecx + 0x495f00], edx
mov edx, 1
shl edx, 0xa
mov byte [ebp + edx - 0x650], 0
mov eax, 4
imul ecx, eax, 0x299d
mov dword [ecx + 0x495f00], 0xffb3fff5
push 0x15
push 0xf80
call fcn.004456b0
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, 2
imul eax, edx, 0x2d4d
movsx ecx, word [eax + 0x48fba0]
cmp ecx, 0xd9dea66d
jle 0x45d806
mov edx, 4
imul eax, edx, 0x2b2a
mov ecx, dword [eax + 0x495f00]
or ecx, 0x355227d7
mov edx, 4
imul eax, edx, 0x2b2a
mov dword [eax + 0x495f00], ecx
mov ecx, dword [0x48f9ac]
push ecx
mov edx, dword [0x48f994]
push edx
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x650]
push edx
call fcn.004665a0
add esp, 0x14
mov eax, 4
imul ecx, eax, 0x2bb1
mov edx, dword [ecx + 0x495f00]
sub edx, 0x69e18440
mov eax, 4
imul ecx, eax, 0x2bb1
mov dword [ecx + 0x495f00], edx
mov edx, dword [ebp - 0x18]
push edx
push 0x15
call fcn.00405010
add esp, 8
mov eax, 2
imul ecx, eax, 0x2527
movsx edx, word [ecx + 0x48fba0]
or edx, 0x998d51e3
mov eax, 2
imul ecx, eax, 0x2527
mov word [ecx + 0x48fba0], dx
mov edx, dword [0x48f9ac]
push edx
call fcn.00446e20
add esp, 4
mov eax, 4
imul ecx, eax, 0x26b
imul edx, dword [ecx + 0x495f00], 0x660a820
mov eax, 4
imul ecx, eax, 0x26b
mov dword [ecx + 0x495f00], edx
lea edx, [ebp - 0x650]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.0040e700
add esp, 8
mov ecx, 4
imul edx, ecx, 0xfb5
mov eax, 2
imul ecx, eax, 0x9f3
movsx eax, word [ecx + 0x48fba0]
or eax, 0xc8b61d46
mov ecx, dword [edx + 0x495f00]
and ecx, eax
mov edx, 4
imul eax, edx, 0xfb5
mov dword [eax + 0x495f00], ecx
push 0x401
push 0
lea ecx, [ebp - 0x650]
push ecx
call fcn.004650a0
add esp, 0xc
mov edx, 4
imul eax, edx, 0x1438
mov ecx, dword [eax + 0x495f00]
or ecx, 0xadafd9d9
mov edx, 4
imul eax, edx, 0x1438
mov dword [eax + 0x495f00], ecx
push 0x105
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004650a0
add esp, 0xc
mov edx, 2
imul eax, edx, 0x1ab1
mov ecx, 2
imul edx, ecx, 0x2da
movsx ecx, word [edx + 0x48fba0]
movsx edx, word [eax + 0x48fba0]
add edx, ecx
mov eax, 2
imul ecx, eax, 0x1ab1
mov word [ecx + 0x48fba0], dx
push 0x15f90
call dword [0x48fb14]
mov edx, 4
imul eax, edx, 0x217b
mov ecx, dword [eax + 0x495f00]
shl ecx, 9
mov edx, 2
imul eax, edx, 0x14f4
movsx edx, word [eax + 0x48fba0]
not edx
mov eax, 0xb0dea71
sub eax, edx
add eax, 0x725b8652
cmp ecx, eax
je 0x45da0d
mov ecx, 2
imul edx, ecx, 0x10c1
movsx eax, word [edx + 0x48fba0]
imul ecx, eax, 0x30a28cf7
mov edx, 2
imul eax, edx, 0x10c1
mov word [eax + 0x48fba0], cx
lea ecx, [ebp - 0x144]
push ecx
call dword [0x48fa5c]
mov edx, 4
imul eax, edx, 0x1808
mov ecx, 4
imul edx, ecx, 0x21fb
mov ecx, dword [edx + 0x495f00]
add ecx, 0x778b9cc4
mov edx, dword [eax + 0x495f00]
or edx, ecx
mov eax, 4
imul ecx, eax, 0x1808
mov dword [ecx + 0x495f00], edx
mov edx, 4
imul eax, edx, 0x21fb
mov ecx, dword [eax + 0x495f00]
sub ecx, 1
mov edx, 4
imul eax, edx, 0x21fb
mov dword [eax + 0x495f00], ecx
mov ecx, 4
imul edx, ecx, 0xf5b
mov eax, dword [edx + 0x495f00]
sub eax, 0xb1892d3
mov dword [ebp - 0x2c], eax
mov ecx, 4
imul edx, ecx, 0x18e1
mov eax, dword [edx + 0x495f00]
and eax, 0x4ff09902
mov dword [ebp - 0x20], eax
mov ecx, 4
imul edx, ecx, 0x18e1
mov eax, dword [edx + 0x495f00]
add eax, 1
mov ecx, 4
imul edx, ecx, 0x18e1
mov dword [edx + 0x495f00], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
jge 0x45daee
mov ecx, 4
imul edx, ecx, 0xdb9
mov dword [edx + 0x495f00], 0xe1f547f7
push 0x118
push 0
lea eax, [ebp - 0x144]
push eax
call fcn.004650a0
add esp, 0xc
mov ecx, 4
imul edx, ecx, 0x484
mov eax, dword [edx + 0x495f00]
and eax, 0x41ae988c
cmp eax, 0x5de06059
jne 0x45db48
mov ecx, 4
imul edx, ecx, 0x2079
mov eax, dword [edx + 0x495f00]
sub eax, 0x5d0286e8
mov ecx, 4
imul edx, ecx, 0x2079
mov dword [edx + 0x495f00], eax
mov eax, 4
imul ecx, eax, 0x2126
imul edx, dword [ecx + 0x495f00], 0x776a5de6
mov eax, 4
imul ecx, eax, 0x2126
mov dword [ecx + 0x495f00], edx
mov esp, ebp
pop ebp
ret