Function at 0x417f10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x308
mov eax, dword [0x44d6b0]
xor eax, esp
mov dword [esp + 0x304], eax
mov eax, dword [0x451f2c]
mov edx, dword [eax + 0x10]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [eax + 0x14]
imul ecx, ecx, 0x64
lea ecx, [ecx + edx + 0x2e631]
imul ecx, ecx, 0x64
add ecx, dword [eax + 0xc]
push esi
cmp ecx, dword [0x451edc]
push edi
mov eax, 4
jg 0x417f59
mov eax, dword [esp + 0x31c]
push eax
lea edx, [esp + 0x298]
push str.Code_dSystemData.dtt
push edx
call fcn.0042baf3
lea eax, [esp + 0x2a0]
push 0x44146c
push eax
call fcn.0042aa6f
mov esi, 0x64
add esp, 0x14
mov edi, eax
mov dword [esp + 0x44], esi
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
mov ebx, 1
add edx, ebx
imul edx, edx, 0xf4240
mov dword [esp + 0x1c], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 5
imul edx, edx, 0x2710
mov dword [esp + 0x3c], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
add edx, ebx
imul edx, edx, 0x2710
mov dword [esp + 0x54], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
add edx, ecx
imul edx, edx, 0x2710
mov dword [esp + 0x50], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x1e
imul edx, edx, 0x2710
mov dword [esp + 0x38], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, 0xa
imul edx, edx, 0x2710
mov dword [esp + 0x28], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, 0xf
imul edx, edx, 0x2710
mov dword [esp + 0x20], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x32
imul edx, edx, 0x2710
mov dword [esp + 0x34], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, 0x14
imul edx, edx, 0x2710
mov dword [esp + 0x30], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, 0x19
imul edx, edx, 0x2710
mov dword [esp + 0x40], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x78
imul edx, edx, 0x2710
mov dword [esp + 0x4c], edx
call fcn.0042bcd0
cdq
mov ecx, 0x15
idiv ecx
add edx, 0x32
imul edx, edx, 0x2710
mov dword [esp + 0x24], edx
call fcn.0042bcd0
cdq
mov ecx, 0x1f
idiv ecx
mov ecx, 0x14
mov eax, 0xa
mov dword [esp + 0x9c], esi
mov esi, 2
mov dword [esp + 0x5c], 0xc350
mov dword [esp + 0x60], 0x11170
mov dword [esp + 0x64], 0x186a0
mov dword [esp + 0x68], 0x249f0
mov dword [esp + 0x6c], 0x30d40
mov dword [esp + 0x70], 0x3d090
mov dword [esp + 0x74], 0x493e0
mov dword [esp + 0x78], 0x7a120
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0x14
mov dword [esp + 0xa4], 0xa
mov dword [esp + 0xa8], 5
mov dword [esp + 0xac], 3
add edx, 0x46
imul edx, edx, 0x2710
mov dword [esp + 0x2c], edx
mov edx, 3
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xf0], 0x78
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 5
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], ebx
mov dword [esp + 0xd4], 0x82
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], 5
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], ebx
mov dword [esp + 0x10c], 0x8c
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], 5
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], ebx
mov dword [esp + 0xb8], 0x96
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 5
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x160], 0xa0
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x14c], eax
xor eax, eax
mov dword [esp + 0x16c], 5
mov dword [esp + 0x170], edx
mov dword [esp + 0x174], esi
mov dword [esp + 0x178], ebx
mov dword [esp + 0x128], 0xb4
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x134], 5
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], esi
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], 0xc8
mov dword [esp + 0x148], ecx
mov dword [esp + 0x150], 5
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], esi
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x208], 0x3e8
mov dword [esp + 0x20c], 0x7d0
mov dword [esp + 0x210], 0xbb8
mov dword [esp + 0x214], 0xfa0
mov dword [esp + 0x218], 0x1388
mov dword [esp + 0x21c], 0x1770
mov dword [esp + 0x220], 0x1b58
mov dword [esp + 0x224], 0x2328
mov dword [esp + 0x228], 0x2710
mov dword [esp + 0x22c], 0x36b0
mov dword [esp + 0x230], 0x3a98
mov dword [esp + 0x234], 0x4e20
mov dword [esp + 0x238], 0x5208
mov dword [esp + 0x23c], 0x61a8
mov dword [esp + 0x240], 0x7530
mov dword [esp + 0x244], 0x88b8
mov dword [esp + 0x248], 0x9c40
mov dword [esp + 0x24c], 0xc350
mov dword [esp + 0x250], 0xea60
mov dword [esp + 0x254], 0x11170
mov dword [esp + 0x258], 0x15f90
mov dword [esp + 0x25c], 0x186a0
mov dword [esp + 0x260], 0x222e0
mov dword [esp + 0x264], 0x249f0
mov dword [esp + 0x268], 0x30d40
mov dword [esp + 0x26c], 0x33450
mov dword [esp + 0x270], 0x3d090
mov dword [esp + 0x274], 0x493e0
mov dword [esp + 0x278], 0x55730
mov dword [esp + 0x27c], 0x61a80
mov dword [esp + 0x280], 0x7a120
mov dword [esp + 0x284], 0x927c0
mov dword [esp + 0x288], 0xf4240
mov dword [esp + 0x28c], ebx
mov dword [esp + 0x290], esi
call fcn.0042bcd0
cdq
mov ecx, 0x32
idiv ecx
add edx, ecx
mov dword [esp + 0x17c], edx
call fcn.0042bcd0
cdq
mov ecx, 0x32
idiv ecx
add edx, ecx
mov dword [esp + 0x180], edx
call fcn.0042bcd0
cdq
mov ecx, 0x32
idiv ecx
add edx, ecx
mov dword [esp + 0x184], edx
call fcn.0042bcd0
cdq
mov ecx, 0x32
idiv ecx
add edx, 0x1e
mov dword [esp + 0x188], edx
call fcn.0042bcd0
cdq
mov ecx, 0x1e
idiv ecx
add edx, ecx
mov dword [esp + 0x18c], edx
call fcn.0042bcd0
cdq
mov ecx, 0x1e
idiv ecx
add edx, 0x14
mov dword [esp + 0x190], edx
call fcn.0042bcd0
cdq
mov ecx, 0x1e
idiv ecx
add edx, 0x14
mov dword [esp + 0x194], edx
call fcn.0042bcd0
cdq
mov ecx, 0x14
idiv ecx
add edx, 0xa
mov dword [esp + 0x198], edx
call fcn.0042bcd0
cdq
mov ecx, 0x14
idiv ecx
add edx, 0xa
mov dword [esp + 0x19c], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 7
mov dword [esp + 0x1a0], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 7
mov dword [esp + 0x1a4], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 7
mov dword [esp + 0x1a8], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 7
mov dword [esp + 0x1ac], edx
call fcn.0042bcd0
cdq
mov ecx, 0xa
idiv ecx
add edx, 7
mov dword [esp + 0x1b0], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, ecx
mov dword [esp + 0x1b4], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, ecx
mov dword [esp + 0x1b8], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, ecx
mov dword [esp + 0x1bc], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, 3
mov dword [esp + 0x1c0], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, 3
mov dword [esp + 0x1c4], edx
call fcn.0042bcd0
cdq
mov ecx, 5
idiv ecx
add edx, 3
mov dword [esp + 0x1c8], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
add edx, esi
mov dword [esp + 0x1cc], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
add edx, esi
mov dword [esp + 0x1d0], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
add edx, ebx
mov dword [esp + 0x1d4], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
add edx, ebx
mov dword [esp + 0x1d8], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
mov dword [esp + 0x1dc], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
mov dword [esp + 0x1e0], edx
call fcn.0042bcd0
cdq
mov ecx, 3
idiv ecx
mov dword [esp + 0x1e4], edx
call fcn.0042bcd0
and eax, 0x80000001
jns 0x41872a
dec eax
or eax, 0xfffffffe
inc eax
mov dword [esp + 0x1e8], eax
call fcn.0042bcd0
and eax, 0x80000001
jns 0x418742
dec eax
or eax, 0xfffffffe
inc eax
xor esi, esi
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], esi
mov dword [esp + 0x1f4], esi
mov dword [esp + 0x1f8], esi
call fcn.0042bcd0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0xa
jge 0x418779
mov dword [esp + 0x1f0], ebx
call fcn.0042bcd0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 6
jge 0x418792
mov dword [esp + 0x1f4], ebx
call fcn.0042bcd0
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 3
jge 0x4187ab
mov dword [esp + 0x1f8], ebx
mov dword [esp + 0x1fc], esi
call fcn.0042bcd0
cdq
mov ecx, 0x64
idiv ecx
mov dword [esp + 0x200], edx
call fcn.0042bcd0
cdq
mov ecx, 0x3b
idiv ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x204], edx
cmp edi, esi
jne 0x418d77
lea edx, [esp + 0x294]
push 0x441fb0
push edx
call fcn.0042aa6f
mov esi, eax
add esp, 8
test esi, esi
je 0x418d75
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x10]
push eax
push ecx
lea edi, [ebp + 0x208]
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push ebx
lea edx, [esp + 0x4c]
push 4
push edx
mov dword [esp + 0x54], eax
call fcn.0042c0d4
mov ecx, dword [esp + 0x2c]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push ebx
lea edx, [esp + 0x24]
push 4
push edx
mov dword [esp + 0x2c], eax
call fcn.0042c0d4
add esp, 0x10
xor ebp, ebp
mov ecx, dword [esp + ebp + 0x7c]
lea eax, [esp + 0x10]
push eax
push ecx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push ebx
lea ecx, [esp + ebp + 0x84]
push 4
push ecx
mov dword [ecx], eax
call fcn.0042c0d4
mov eax, dword [esp + ebp + 0x6c]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push ebx
lea ecx, [esp + ebp + 0x64]
push 4
push ecx
mov dword [ecx], eax
call fcn.0042c0d4
add ebp, 4
add esp, 0x10
cmp ebp, 0x20
jl 0x418863
xor ebx, ebx
mov edx, dword [esp + ebx + 0xb8]
lea ecx, [esp + 0x10]
push ecx
lea ebp, [esp + ebx + 0xbc]
push edx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov ecx, dword [esp + ebx + 0x170]
add esp, 0x10
lea eax, [esp + 0x10]
lea ebp, [esp + ebx + 0x160]
push eax
push ecx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov eax, dword [esp + ebx + 0x138]
add esp, 0x10
lea edx, [esp + 0x10]
lea ebp, [esp + ebx + 0x128]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov edx, dword [esp + ebx + 0x154]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea ebp, [esp + ebx + 0x148]
push edx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov ecx, dword [esp + ebx + 0xac]
add esp, 0x10
lea eax, [esp + 0x10]
lea ebp, [esp + ebx + 0x9c]
push eax
push ecx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov eax, dword [esp + ebx + 0x100]
add esp, 0x10
lea ebp, [esp + ebx + 0xf0]
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov edx, dword [esp + ebx + 0xe4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea ebp, [esp + ebx + 0xd8]
push edx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov ecx, dword [esp + ebx + 0x11c]
add esp, 0x10
lea eax, [esp + 0x10]
lea ebp, [esp + ebx + 0x10c]
push eax
push ecx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
add ebx, 4
add esp, 0x10
cmp ebx, 0x1c
jl 0x4188c2
xor ebx, ebx
jmp 0x418a60
mov eax, dword [esp + ebx + 0x17c]
lea edx, [esp + 0x10]
lea ebp, [esp + ebx + 0x17c]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
mov edx, dword [esp + ebx + 0x218]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea ebp, [esp + ebx + 0x20c]
push edx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebp
mov dword [ebp], eax
call fcn.0042c0d4
add ebx, 4
add esp, 0x10
cmp ebx, 0x8c
jl 0x418a60
lea ebx, [esp + 0x7c]
mov ebp, 0x4d
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push ecx
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
push 4
push ebx
mov dword [ebx], eax
call fcn.0042c0d4
add esp, 0x10
add ebx, 4
sub ebp, 1
jne 0x418ad6
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x60]
push 4
push ecx
mov dword [esp + 0x68], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x58]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x50]
push 4
push ecx
mov dword [esp + 0x58], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x4c]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x44]
push 4
push ecx
mov dword [esp + 0x4c], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x64]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x5c]
push 4
push ecx
mov dword [esp + 0x64], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x60]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x58]
push 4
push ecx
mov dword [esp + 0x60], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x48]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x40]
push 4
push ecx
mov dword [esp + 0x48], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x38]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x30]
push 4
push ecx
mov dword [esp + 0x38], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x30]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x28]
push 4
push ecx
mov dword [esp + 0x30], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x44]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x3c]
push 4
push ecx
mov dword [esp + 0x44], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x40]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x38]
push 4
push ecx
mov dword [esp + 0x40], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x50]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
mov dword [esp + 0x48], eax
push 4
lea ecx, [esp + 0x4c]
push ecx
call fcn.0042c0d4
mov eax, dword [esp + 0x5c]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x54]
push 4
push ecx
mov dword [esp + 0x5c], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x34]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
mov dword [esp + 0x34], eax
call fcn.0042c0d4
mov eax, dword [esp + 0x3c]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push 0x4ebd189
mov ecx, edi
call fcn.004295f0
push esi
push 1
lea ecx, [esp + 0x34]
push 4
push ecx
mov dword [esp + 0x3c], eax
call fcn.0042c0d4
push esi
call fcn.0042a672
add esp, 0x14
jmp 0x41997f
xor esi, esi
push edi
push ebx
lea edx, [esp + 0x24]
push 4
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.0042a98e
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
lea esi, [ebp + 0x208]
push edx
mov ecx, esi
call fcn.00429400
push edi
push ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x54]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], 0xa
push edi
push ebx
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.0042a98e
mov eax, dword [esp + 0x24]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
sub dword [esp + 0x18], ebx
jne 0x418de6
mov dword [esp + 0x18], 0
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
push edi
push ebx
lea eax, [esp + eax + 0x84]
push 4
push eax
call fcn.0042a98e
mov eax, dword [esp + 0x28]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + eax + 0x7c]
mov eax, dword [eax]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
mov ecx, dword [esp + 0x18]
lea ecx, [esp + ecx + 0x7c]
push edi
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
push ebx
lea eax, [esp + eax + 0x64]
push 4
push eax
call fcn.0042a98e
mov eax, dword [esp + 0x28]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + eax + 0x5c]
mov eax, dword [eax]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
mov ecx, dword [esp + 0x18]
lea ecx, [esp + ecx + 0x5c]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x20
mov dword [esp + 0x18], eax
jl 0x418e20
mov dword [esp + 0x18], 0xa
lea esp, [esp]
push edi
push ebx
lea edx, [esp + 0x1c]
push 4
push edx
call fcn.0042a98e
mov ecx, dword [esp + 0x24]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
sub dword [esp + 0x18], ebx
jne 0x418ec0
xor ebx, ebx
push edi
push 1
lea eax, [esp + ebx + 0xa4]
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0xac]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + ebx + 0xa4], eax
lea eax, [esp + ebx + 0xf8]
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0x100]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + ebx + 0xf8], eax
lea eax, [esp + ebx + 0xdc]
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0xe4]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + ebx + 0xdc], eax
lea eax, [esp + ebx + 0x114]
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0x11c]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + ebx + 0x114], eax
lea eax, [esp + ebx + 0xc0]
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0xc8]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
mov dword [esp + ebx + 0xb8], eax
lea eax, [esp + ebx + 0x160]
push edi
push 1
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0x170]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + ebx + 0x168], eax
lea eax, [esp + ebx + 0x130]
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0x138]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + ebx + 0x130], eax
lea eax, [esp + ebx + 0x14c]
push 4
push eax
call fcn.0042a98e
mov ecx, dword [esp + ebx + 0x154]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
mov dword [esp + ebx + 0x144], eax
add ebx, 4
cmp ebx, 0x1c
jl 0x418ef1
mov ebx, 0xa
lea ebx, [ebx]
push edi
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x24]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
sub ebx, 1
jne 0x4190c0
mov edi, edi
push edi
push 1
lea eax, [esp + ebx + 0x210]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + ebx + 0x218]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + ebx + 0x210], eax
lea eax, [esp + ebx + 0x184]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + ebx + 0x18c]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
mov dword [esp + ebx + 0x17c], eax
add ebx, 4
cmp ebx, 0x8c
jl 0x4190f0
mov ebx, 0xa
lea esp, [esp]
push edi
push 1
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.0042a98e
mov eax, dword [esp + 0x24]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
sub ebx, 1
jne 0x419170
push edi
push 1
lea edx, [esp + 0x60]
push 4
push edx
call fcn.0042a98e
mov ecx, dword [esp + 0x68]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + 0x60], eax
lea eax, [esp + 0x50]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x58]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
mov dword [esp + 0x48], eax
mov ebx, 0xa
nop
push edi
push 1
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.0042a98e
mov eax, dword [esp + 0x24]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
sub ebx, 1
jne 0x419200
push edi
push 1
lea edx, [esp + 0x44]
push 4
push edx
call fcn.0042a98e
mov ecx, dword [esp + 0x4c]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x64]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
push edi
push 1
lea ecx, [esp + 0x58]
push 4
push ecx
mov dword [esp + 0x64], eax
call fcn.0042a98e
mov eax, dword [esp + 0x60]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
mov dword [esp + 0x50], eax
mov ebx, 0xa
lea ecx, [ecx]
push edi
push 1
lea edx, [esp + 0x1c]
push 4
push edx
call fcn.0042a98e
mov ecx, dword [esp + 0x24]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
sub ebx, 1
jne 0x4192c0
push edi
push 1
lea eax, [esp + 0x40]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x48]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
push edi
push 1
lea ecx, [esp + 0x30]
push 4
push ecx
mov dword [esp + 0x48], eax
call fcn.0042a98e
mov eax, dword [esp + 0x38]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
push edi
push 1
lea edx, [esp + 0x28]
push 4
push edx
mov dword [esp + 0x38], eax
call fcn.0042a98e
mov ecx, dword [esp + 0x30]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
mov dword [esp + 0x20], eax
mov ebx, 0xa
lea ecx, [ecx]
push edi
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x24]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
sub ebx, 1
jne 0x419380
push edi
push 1
lea ecx, [esp + 0x3c]
push 4
push ecx
call fcn.0042a98e
mov eax, dword [esp + 0x44]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
push edi
push 1
lea edx, [esp + 0x38]
push 4
push edx
mov dword [esp + 0x44], eax
call fcn.0042a98e
mov ecx, dword [esp + 0x40]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + 0x38], eax
lea eax, [esp + 0x48]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x50]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
mov dword [esp + 0x40], eax
mov ebx, 7
lea esp, [esp]
push edi
push 1
lea ecx, [esp + 0x1c]
push 4
push ecx
call fcn.0042a98e
mov eax, dword [esp + 0x24]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
sub ebx, 1
jne 0x419440
push edi
push 1
lea edx, [esp + 0x54]
push 4
push edx
call fcn.0042a98e
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x451ef4]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429400
push edi
push 1
mov dword [esp + 0x54], eax
lea eax, [esp + 0x2c]
push 4
push eax
call fcn.0042a98e
mov edx, dword [esp + 0x34]
mov eax, dword [0x451ef4]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00429400
push edi
push 1
lea ecx, [esp + 0x34]
push 4
push ecx
mov dword [esp + 0x34], eax
call fcn.0042a98e
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x451ef4]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00429400
push edi
mov dword [esp + 0x30], eax
call fcn.0042a672
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
add esp, 4
push edx
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [esp + 0xac]
push eax
push ecx
push edx
push 1
mov ecx, esi
call fcn.00427fb0
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x100]
push edx
mov edx, dword [esp + 0x100]
push eax
mov eax, dword [esp + 0x100]
push ecx
push edx
push eax
push 2
mov ecx, esi
call fcn.00427fb0
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push ecx
mov ecx, dword [esp + 0xe4]
push edx
mov edx, dword [esp + 0xe4]
push eax
mov eax, dword [esp + 0xe4]
push ecx
mov ecx, dword [esp + 0xe4]
push edx
push eax
push ecx
push 3
mov ecx, esi
call fcn.00427fb0
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
push edx
mov edx, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x11c]
push edx
mov edx, dword [esp + 0x11c]
push eax
push ecx
push edx
push 4
mov ecx, esi
call fcn.00427fb0
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xc8]
push ecx
push edx
push eax
push 5
mov ecx, esi
call fcn.00427fb0
mov ecx, dword [esp + 0x178]
mov edx, dword [esp + 0x174]
mov eax, dword [esp + 0x170]
push ecx
mov ecx, dword [esp + 0x170]
push edx
mov edx, dword [esp + 0x170]
push eax
mov eax, dword [esp + 0x170]
push ecx
mov ecx, dword [esp + 0x170]
push edx
push eax
push ecx
push 6
mov ecx, esi
call fcn.00427fb0
mov edx, dword [esp + 0x140]
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
push edx
mov edx, dword [esp + 0x138]
push eax
mov eax, dword [esp + 0x138]
push ecx
push edx
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x138]
push eax
push ecx
push edx
push 7
mov ecx, esi
call fcn.00427fb0
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x154]
push eax
mov eax, dword [esp + 0x154]
push ecx
mov ecx, dword [esp + 0x154]
push edx
mov edx, dword [esp + 0x154]
push eax
mov eax, dword [esp + 0x154]
push ecx
push edx
push eax
push 8
mov ecx, esi
call fcn.00427fb0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00428020
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00428060
mov ecx, esi
call fcn.00428130
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x16c4], edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x16c8], eax
mov eax, dword [esp + 0x40]
push ebx
mov dword [ebp + 0x16cc], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x16d0], edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 0x16d4], eax
mov eax, dword [esp + 0x38]
push ebx
mov dword [ebp + 0x16d8], ecx
mov dword [ebp + 0x16dc], edx
push eax
mov ecx, esi
call fcn.00428190
xor edi, edi
lea esp, [esp]
mov ecx, dword [esp + edi + 0x17c]
mov edx, dword [esp + edi + 0x208]
push ecx
push edx
mov ecx, esi
call fcn.00428160
mov eax, dword [esp + edi + 0x17c]
imul eax, dword [esp + edi + 0x208]
add edi, 4
add ebx, eax
cmp edi, 0x8c
jl 0x4197e0
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xac]
mov dword [ebp + 0x16a0], ecx
mov ecx, dword [esp + 0xb4]
mov dword [ebp + 0x16a4], edx
mov edx, dword [esp + 0xa0]
mov dword [ebp + 0x169c], eax
mov eax, dword [esp + 0xa8]
mov dword [ebp + 0x16b4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [ebp + 0x16a8], edx
mov edx, dword [ebp + 0x158c]
push edx
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x16ac], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x16b0], ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00429a50
mov eax, dword [ebp + 0x1598]
mov ecx, dword [ebp + 0x1594]
push eax
push ecx
push 0
mov ecx, esi
call fcn.004293e0
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x98]
mov dword [ebp + 0x15dc], edx
imul edi, esi
mov edx, dword [esp + 0x68]
mov dword [ebp + 0x15e0], edx
mov edx, dword [esp + 0x6c]
mov dword [ebp + 0x15e4], edx
mov edx, dword [esp + 0x70]
mov dword [ebp + 0x15e8], edx
mov edx, dword [esp + 0x74]
mov dword [ebp + 0x15ec], edx
mov dword [ebp + 0x15f0], esi
mov esi, dword [esp + 0x94]
imul esi, edx
mov edx, dword [esp + 0x90]
imul edx, dword [esp + 0x70]
add edi, esi
add edi, edx
mov edx, dword [esp + 0x8c]
imul edx, dword [esp + 0x6c]
add edi, edx
mov edx, dword [esp + 0x88]
imul edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
add edi, edx
mov edx, dword [esp + 0x84]
imul edx, dword [esp + 0x64]
add edi, edx
mov edx, dword [esp + 0x80]
imul edx, ecx
mov dword [ebp + 0x15d8], ecx
mov ecx, dword [esp + 0x7c]
imul ecx, eax
add edx, ebx
add edx, edi
add ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x15d4], eax
lea eax, [edx*4]
cmp ecx, eax
jb 0x419978
mov edx, dword [0x44ed48]
mov ecx, 1
mov word [edx + 0x32e], cx
mov ecx, ebp
call fcn.00417570
mov ecx, dword [esp + 0x314]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00429e93
add esp, 0x308
ret 4