Function at 0x617e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x9ac
push ebx
push esi
mov esi, dword [ebp + 0x7c]
mov ecx, dword [esi + 0x80]
lea eax, [esi + 0xc]
mov ebx, eax
mov dword [ebp + 0x24], eax
mov eax, dword [esi]
lea edx, [esi + 0x284]
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x54], eax
mov eax, dword [0x6bf1f4]
mov edx, dword [eax + 0xb0]
push edi
mov edi, dword [edx + 0x34]
lea edx, [esi + 0x2b8]
mov dword [ebp + 0x44], edx
mov edx, dword [str.Indexed]
mov dword [ebp - 0x84], edx
mov edx, dword [0x6788c0]
mov dword [ebp - 0x80], edx
mov dx, word [0x6788b8]
mov word [ebp - 4], dx
mov dl, byte [0x6788ba]
mov byte [ebp - 2], dl
mov edx, dword [esi + 0x84]
test edx, edx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x68], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0x3f800000
je 0x6192fb
test ecx, ecx
je 0x6192fb
test byte [eax + 0xd8], 1
jne 0x6192fb
push esi
call fcn.0064db20
mov al, byte [ebx + 0x1c]
add esp, 4
test al, al
je 0x617f2b
mov dword [ebp + 0x50], 1
jmp 0x617f37
push edi
call fcn.0064d3e0
add esp, 4
mov dword [ebp + 0x50], eax
mov eax, dword [0x6bf1f4]
mov ecx, dword [eax + 0xd4]
cmp dword [ecx + 0x1c], 5
jne 0x617f65
cmp dword [edi + 0x14], 0xfffffffc
je 0x617f65
mov eax, dword [eax + 0xd4]
mov edx, dword [eax]
push eax
call dword [edx + 0xc0]
add esp, 4
mov dword [ebp + 0x28], eax
jmp 0x617f6c
mov dword [ebp + 0x28], 0
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
mov edx, dword [esi + 0x280]
push eax
push ecx
push edx
call fcn.0064d1c0
mov eax, dword [ebp + 0x28]
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x617fb5
push eax
call fcn.0064d340
add esp, 4
cmp eax, edi
mov dword [esi + 0x314], eax
jne 0x617fbb
mov ecx, dword [esi + 0x280]
push ecx
call fcn.0064d060
add esp, 4
call fcn.004856f0
jmp 0x617fbb
mov dword [esi + 0x314], edi
mov edx, dword [ebp + 0x50]
push edx
call fcn.005f3cd0
add esp, 4
cmp eax, edi
mov dword [esi + 0x204], eax
jne 0x617ff1
mov eax, dword [esi + 0x280]
push eax
call fcn.0064d060
mov ecx, dword [esi + 0x314]
push ecx
call fcn.005c52c0
add esp, 8
call fcn.004856f0
mov eax, dword [esi + 0x280]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x30]
push esi
mov dword [ebp + 0x64], edx
mov dword [ebp - 0x54], eax
call fcn.0064ce80
mov ecx, dword [0x6bf1f4]
mov edx, dword [ecx + 0xc0]
add edx, 4
mov dword [ebx + 0x2c], edx
lea eax, [esi + 0x5c]
mov dword [ebx + 0x28], eax
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x68]
mov dword [esi + 0x32c], eax
mov ecx, dword [0x6bf1f4]
mov eax, dword [ecx + 0xbc]
add esp, 4
cmp eax, edi
je 0x618062
test byte [eax], 1
jne 0x61804e
push eax
call fcn.004fa5d0
add esp, 4
mov edx, dword [0x6bf1f4]
mov eax, dword [edx + 0xbc]
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x24], ecx
jmp 0x618065
mov dword [ebx + 0x24], edi
push esi
call fcn.0064f5a0
lea edx, [ebx + 0x44]
mov dword [ebx + 0x3c], edi
mov eax, dword [ebx]
push edx
push eax
call fcn.0064d7d0
mov eax, dword [0x6bec50]
add esp, 0xc
inc eax
mov dword [0x6bec50], eax
jne 0x618096
mov eax, 1
mov dword [0x6bec50], eax
jmp 0x61809b
mov eax, dword [0x6bec50]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x280]
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x60], ecx
mov edx, dword [eax + 0x28]
mov dword [esi + 0x64], edx
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0xa0]
cmp eax, 0xfffffffd
mov dword [esi + 0x1f4], edi
je 0x6180d7
cmp eax, 0xfffffffc
je 0x6180d7
cmp eax, edi
jg 0x6180d7
xor eax, eax
jmp 0x6180dc
mov eax, 1
mov edx, dword [esi + 0x8c]
mov ecx, dword [ebp - 0x54]
and eax, 1
shl eax, 8
and edx, 0xfffff6ff
or eax, edx
mov dword [esi + 0x8c], eax
mov eax, dword [ebp + 0x50]
cmp eax, edi
mov dword [esi + 0x94], ecx
mov dword [esi + 0x208], edi
jle 0x618117
mov edi, dword [ebp + 0x64]
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
xor edi, edi
cmp dword [ebp + 0x28], edi
mov dword [ebp - 0x58], edi
je 0x61812b
mov eax, dword [esi + 0x314]
mov dword [esi + 0x1e8], eax
mov eax, dword [esi + 0x274]
cmp eax, edi
je 0x6181a2
mov ecx, dword [esi + 0x78]
mov dword [eax + 0x78], ecx
mov eax, dword [esi + 0x274]
mov edx, dword [eax + 0x280]
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x274]
and dword [eax + 0x8c], 0xfffffffe
mov edx, dword [esi + 0x274]
lea eax, [ebp - 0x58]
mov dword [edx + 0x5c], eax
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x280]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x64], edx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x1f4], edi
mov eax, dword [esi + 0x274]
and dword [eax + 0x8c], 0xfffffeff
mov ecx, dword [esi + 0x274]
mov dword [ecx + 0x208], edi
jmp 0x6181ab
mov dword [esi + 0x20c], edi
mov dword [ebx + 0x40], edi
mov edx, dword [esi + 0x278]
mov ecx, dword [ebp + 0x68]
mov dword [ebx + 0x48], edx
mov eax, dword [esi + 0x27c]
mov dword [ebx + 0x4c], eax
mov eax, 1
cmp ecx, eax
jg 0x6181cb
sub eax, ecx
mov ecx, dword [esi + 0x274]
cmp ecx, edi
mov word [esi + 0x88], ax
je 0x6181e3
mov word [ecx + 0x88], ax
push esi
call fcn.0064d4c0
mov eax, dword [esi + 0x274]
add esp, 4
cmp eax, edi
je 0x618208
cmp dword [eax + 0x268], 3
jne 0x618208
push eax
call fcn.0064d4c0
add esp, 4
mov ecx, dword [0x6bf1f4]
mov edx, dword [ecx + 0xd4]
mov eax, dword [edx]
cmp dword [eax + 0x28], edi
je 0x618335
mov edx, dword [ecx + 0xec]
mov dword [ebp + 0x5c], edx
mov eax, dword [ecx + 0xd4]
mov edx, dword [eax]
cmp dword [edx + 0xc4], edi
je 0x618267
mov al, byte [esi + 0x28]
test al, al
jne 0x618267
mov eax, dword [esi + 0x34]
cmp dword [eax + 0x14], edi
je 0x618267
mov edx, dword [ecx + 0xb0]
mov eax, dword [edx + 0x34]
mov dl, byte [eax + 4]
test dl, dl
jne 0x61825e
mov dl, byte [eax + 5]
test dl, dl
je 0x618267
mov dword [ebp + 0x60], 1
jmp 0x61826a
mov dword [ebp + 0x60], edi
mov eax, dword [ecx + 0xb4]
cmp eax, edi
jne 0x618278
xor edi, edi
jmp 0x61827a
mov edi, dword [eax]
push edi
call fcn.005ee1a0
add esp, 4
test eax, eax
je 0x61829c
mov eax, dword [0x6bf1f4]
mov ecx, dword [eax + 0xb4]
push ecx
push edi
call fcn.004f1a40
add esp, 8
mov edx, dword [ebp + 0x1c]
push edx
call fcn.0064d450
mov ecx, dword [ebp + 0x44]
push ecx
mov dword [ecx + 0x48], eax
mov eax, dword [0x6bf1f4]
mov eax, dword [eax + 0xd4]
mov edx, dword [eax]
lea ecx, [ebp + 0x5c]
push ecx
push edi
push ebx
push eax
call dword [edx + 0x28]
mov eax, dword [esi + 0x274]
add esp, 0x18
test eax, eax
je 0x618324
mov edx, dword [0x6bf1f4]
mov ecx, dword [edx + 0xd4]
mov edx, dword [ecx]
lea ebx, [eax + 0x2b8]
push ebx
lea ebx, [ebp + 0x5c]
push ebx
push edi
add eax, 0xc
push eax
push ecx
call dword [edx + 0x28]
mov edx, dword [esi + 0x274]
mov ax, word [edx + 0x88]
mov cx, word [esi + 0x88]
add esp, 0x14
cmp cx, ax
jle 0x618313
movsx eax, cx
jmp 0x618316
movsx eax, ax
mov word [esi + 0x88], ax
mov word [edx + 0x88], ax
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x618335
mov ecx, esi
call fcn.00617b50
mov edi, dword [ebp + 0x44]
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x938]
push edx
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x10]
push eax
push edi
push esi
lea ecx, [ebp - 0x290]
lea ebx, [ebp - 0xec]
lea edx, [ebp - 0x270]
call fcn.00617c20
push esi
mov dword [ebp - 0x1c], eax
call fcn.0064d550
mov eax, dword [edi]
xor ecx, ecx
add esp, 0x24
cmp eax, 1
sete cl
xor edx, edx
cmp eax, 2
sete dl
test ecx, ecx
mov dword [ebp - 8], ecx
mov eax, edx
mov edx, dword [esi + 0x1f4]
mov dword [ebp - 0x3c], edx
jne 0x6183b3
test eax, eax
jne 0x6183b3
mov eax, dword [esi + 0x8c]
and eax, 0xffffefff
jmp 0x6183ca
movsx eax, word [edi + 0x3c]
cmp eax, dword [ebp + 0x54]
jle 0x6183bf
mov dword [esi + 4], eax
mov eax, dword [esi + 0x8c]
or eax, 0x1000
push esi
mov dword [esi + 0x8c], eax
call fcn.0064e270
mov eax, dword [esi + 0x334]
add esp, 4
test eax, eax
jne 0x6183ee
mov eax, dword [esi + 0x2d0]
test ah, 2
je 0x6183f5
mov dword [edi + 0x44], 0
movsx eax, word [esi + 0x88]
imul eax, dword [esi + 0x210]
mov dword [esi + 0x298], eax
mov eax, dword [esi + 0x274]
test eax, eax
je 0x618427
movsx ecx, word [eax + 0x88]
imul ecx, dword [eax + 0x210]
mov dword [eax + 0x298], ecx
mov eax, dword [esi + 0x32c]
cmp eax, 0x2000
jle 0x618439
mov eax, 0x2000
push esi
mov dword [esi + 0x32c], eax
call fcn.0064f790
mov eax, dword [ebp + 0x6c]
mov esi, dword [ebp + 0x24]
xor ebx, ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ecx, 0x14
lea edi, [ebp - 0x304]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x20]
mov ecx, 0x70
lea edi, [ebp - 0x610]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + 0x274]
add esp, 4
cmp eax, ebx
je 0x6184b5
mov eax, dword [ebp + 0x6c]
mov edx, dword [eax + 0x40]
mov dword [edx + 0xc], ebx
mov eax, dword [eax + 0x40]
mov dword [eax + 0x10], ebx
mov eax, dword [ecx + 0x274]
lea esi, [eax + 0xc]
mov ecx, 0x14
lea edi, [ebp - 0x354]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x5c]
mov ecx, 0x70
lea edi, [ebp - 0x7d0]
rep movsd dword es:[edi], dword [esi]
cmp dword [0x6bf288], ebx
je 0x61851c
push 0x18
lea ecx, [ebp + 0x2c]
push ebx
push ecx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x10], ebx
call fcn.0047e890
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + 0x334]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ecx + 0x274]
and eax, 1
shl eax, 2
and edx, 0xfffffff9
or eax, edx
or eax, 1
add esp, 0xc
cmp ecx, ebx
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
je 0x61851c
or eax, 8
mov dword [ebp + 0x2c], eax
lea eax, [ebp - 0x74]
push ecx
mov esi, eax
mov dword [ebp + 0x40], eax
call fcn.00617be0
add esp, 4
cmp dword [ebp + 0x68], ebx
jle 0x61920d
call fcn.00441210
mov ecx, dword [eax]
lea edx, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x34], eax
mov dword [eax], edx
lea eax, [ebp - 0x1e4]
push 0
push eax
call sub.MSVCR71.dll__setjmp3
add esp, 8
test eax, eax
jne 0x61914e
mov esi, dword [ebp + 0x7c]
mov ecx, dword [esi + 0x32c]
mov edx, dword [ebp - 0x20]
push ecx
push 1
push edx
push esi
call fcn.0064c990
add esp, 0x10
test eax, eax
mov dword [esi + 0x80], eax
je 0x61913b
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x288]
xor edx, edx
cmp eax, edx
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x20], edx
je 0x6185a4
and eax, 0xffffffef
jmp 0x6185a7
or eax, 0x10
mov ecx, dword [ebp + 0x6c]
mov dword [esi + 0x8c], eax
mov word [ecx + 8], dx
mov eax, dword [esi + 0x274]
cmp eax, edx
je 0x6185ea
mov edi, dword [eax + 0x80]
mov dword [ebp - 0x50], edi
cmp dword [eax + 0x288], edx
mov edi, dword [eax + 0x8c]
je 0x6185da
and edi, 0xffffffef
jmp 0x6185dd
or edi, 0x10
mov dword [eax + 0x8c], edi
mov eax, dword [ecx + 0x40]
mov word [eax + 8], dx
cmp dword [0x6bf288], edx
je 0x618645
mov eax, dword [esi + 0x80]
movsx ecx, word [esi + 0x88]
mov ebx, dword [ebp + 0x58]
mov edi, eax
sub edi, ecx
mov ecx, dword [esi + 0x350]
mov dword [ebp + 0x38], eax
mov eax, dword [esi + 0x274]
add ebx, edi
cmp eax, edx
mov dword [ebp + 0x30], ecx
mov ecx, dword [esi + 0x354]
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x34], ecx
je 0x618645
mov edx, dword [eax + 0x350]
mov dword [ebp - 0x70], edx
mov ecx, dword [eax + 0x354]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 0x80]
mov dword [ebp - 0x68], edx
push esi
call fcn.0064dd90
add esp, 4
test eax, eax
je 0x6190c0
jmp 0x618660
mov eax, dword [esi + 0x8c]
mov ebx, dword [ebp + 0x6c]
mov word [ebx + 4], 0
mov ecx, dword [esi + 0x7c]
imul ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x94]
shr eax, 2
and eax, 0xf
mov dword [ebp - 0x40], eax
mov dword [edx], ecx
mov edx, dword [ebp + 0x54]
mov eax, 1
cmp edx, eax
jle 0x6186b0
jmp 0x6186a0
mov ecx, dword [esi + 0x94]
mov edi, dword [ecx]
mov dword [ecx + eax*4], edi
inc eax
cmp eax, edx
jl 0x6186a0
mov ax, word [esi + 0x84]
mov word [ebx + 6], ax
mov cx, word [esi + 0x80]
mov word [ebx + 0xa], cx
mov eax, dword [esi + 0x274]
test eax, eax
je 0x61878d
mov edx, dword [eax + 0x8c]
mov eax, dword [ebx + 0x40]
mov word [eax + 4], 0
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x80]
imul ecx, dword [eax + 0x7c]
shr edx, 2
and edx, 0xf
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x94]
mov dword [edx], ecx
mov eax, dword [esi + 0x274]
mov dx, word [eax + 0x80]
mov ecx, dword [ebx + 0x40]
mov word [ecx + 0xa], dx
mov eax, dword [esi + 0x274]
mov ecx, dword [ebx + 0x40]
mov dx, word [eax + 0x84]
mov word [ecx + 6], dx
mov eax, dword [esi + 0x274]
cmp dword [eax + 0x2b8], 1
jne 0x61878d
mov ecx, dword [ebx + 0x40]
movsx edi, word [ecx + 6]
lea edx, [eax + 0x2c4]
push edx
call dword [eax + 0x2bc]
mov eax, dword [ebx + 0x40]
movsx eax, word [eax + 6]
cdq
idiv edi
mov ecx, dword [esi + 0x274]
mov dl, byte [ecx + 0x8c]
add esp, 4
test dl, 8
lea eax, [eax + eax*2]
jne 0x618777
mov ecx, dword [ebx + 0x40]
add word [ecx + 4], ax
mov edx, dword [esi + 0x274]
test byte [edx + 0x8c], 4
jne 0x61878d
mov ecx, dword [ebx + 0x40]
sub word [ecx + 6], ax
mov edi, dword [0x6bf288]
test edi, edi
je 0x618849
mov edx, dword [esi + 0x8c]
shr edx, 2
test dl, 8
je 0x6187b5
test dl, 2
je 0x6187b5
mov eax, 1
jmp 0x6187b7
xor eax, eax
mov ecx, dword [ebp + 0x2c]
xor eax, ecx
and eax, 1
xor ecx, eax
test dl, 4
je 0x6187d2
test dl, 1
je 0x6187d2
mov eax, 1
jmp 0x6187d4
xor eax, eax
add eax, eax
xor eax, ecx
and eax, 2
xor ecx, eax
mov dword [ebp + 0x2c], ecx
mov ecx, dword [esi + 0x84]
mov dword [ebp + 0x3c], ecx
mov ecx, dword [esi + 0x274]
test ecx, ecx
je 0x618849
mov eax, dword [ecx + 0x8c]
shr eax, 2
test al, 8
je 0x61880b
test al, 2
je 0x61880b
mov eax, 1
jmp 0x61880d
xor eax, eax
mov edx, dword [ebp - 0x74]
xor eax, edx
and eax, 1
xor edx, eax
mov dword [ebp - 0x74], edx
mov eax, dword [ecx + 0x8c]
shr eax, 2
test al, 4
je 0x618832
test al, 1
je 0x618832
mov eax, 1
jmp 0x618834
xor eax, eax
add eax, eax
xor eax, edx
and eax, 2
xor edx, eax
mov dword [ebp - 0x74], edx
mov ecx, dword [ecx + 0x84]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x618b31
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [ebp + 0x4c], eax
mov eax, dword [esi + 0x2fc]
test eax, eax
mov dword [ebp - 0xc], edx
je 0x618898
cmp dword [esi + 0x2b8], 1
jne 0x618898
mov eax, dword [esi + 0x8c]
shr eax, 2
test al, 2
je 0x618898
test al, 4
jne 0x618898
push 1
push esi
call fcn.0064c1e0
mov edi, dword [0x6bf288]
add esp, 8
test edi, edi
je 0x6188cb
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x6188cb
movsx edx, word [esi + 0x88]
lea ecx, [esi + 0x21c]
push ecx
add edx, dword [ebp + 0x58]
mov ecx, dword [esi + 0x26c]
push edx
mov edx, dword [ebp + 0x68]
push ecx
push edx
lea ecx, [ebp + 0x2c]
push ecx
push ebx
push edi
call eax
add esp, 0x1c
mov edi, dword [ebp + 0x44]
mov edx, dword [ebp - 0x3c]
lea eax, [edi + 0xc]
push eax
mov dword [esi + 0x1f4], edx
call dword [edi + 4]
mov eax, dword [edi + 0x18]
add esp, 4
test ah, 1
je 0x61890b
movsx ecx, word [esi + 0x88]
mov dword [ebp + 0x64], ecx
fild dword [ebp + 0x64]
fstp dword [ebp + 0x64]
fld dword [ebp + 0x64]
fmul dword [edi + 0x20]
call fcn.00667ad0
mov word [esi + 0x88], ax
mov eax, dword [ebx]
lea edx, [esi + 0x234]
push edx
push eax
call fcn.00510640
mov ecx, dword [0x6bf288]
add esp, 8
test ecx, ecx
je 0x618bae
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x618bae
mov edx, dword [ebx + 0x28]
mov edi, dword [ebp - 0xc]
cmp edi, dword [edx + 0x28]
jne 0x61894d
mov edi, dword [ebp + 0x4c]
cmp edi, dword [edx + 0x24]
je 0x618afe
mov eax, dword [ebx + 0x28]
fild dword [eax + 0x28]
lea ecx, [esi + 0x21c]
mov edx, dword [ecx]
fstp qword [ebp]
fild dword [ebp - 0xc]
fstp qword [ebp + 0x14]
fld qword [ebp]
fdiv qword [ebp + 0x14]
fstp qword [ebp]
fild dword [eax + 0x24]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x9c], edx
mov edx, dword [ecx + 8]
fstp qword [ebp + 0x14]
mov dword [ebp - 0x98], eax
fild dword [ebp + 0x4c]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x94], edx
mov edx, dword [ecx + 0x10]
fstp qword [ebp + 0x5c]
mov dword [ebp - 0x90], eax
fld qword [ebp + 0x14]
mov eax, dword [ecx + 0x14]
fdiv qword [ebp + 0x5c]
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp + 0x38]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x44], ecx
movsx ecx, word [eax + 0x2c]
xor eax, eax
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
push edx
lea eax, [ebp - 0xb4]
mov dword [ebp + 0x70], ecx
push eax
mov ecx, edx
push ecx
fstp qword [ebp + 0x14]
fld qword [ebp]
fstp dword [ebp - 0xb4]
fld qword [ebp + 0x14]
fstp dword [ebp - 0xa8]
call fcn.00510430
fild dword [ebp + 0x30]
mov edx, dword [ebx + 0x28]
mov eax, dword [edx + 0x24]
mov dword [ebp + 0x38], eax
mov ecx, dword [ebx + 0x28]
fstp qword [ebp + 0x5c]
fld qword [ebp + 0x5c]
mov edx, dword [ecx + 0x28]
fmul qword [ebp]
add esp, 0xc
mov dword [ebp + 0x3c], edx
call fcn.00667ad0
fild dword [ebp + 0x34]
mov dword [ebp + 0x30], eax
fstp qword [ebp + 0x5c]
fld qword [ebp + 0x5c]
fmul qword [ebp + 0x14]
call fcn.00667ad0
mov dword [ebp + 0x34], eax
mov edi, dword [ebx + 0x28]
movsx eax, word [edi + 0x2c]
mov dword [ebp + 0x64], eax
fild dword [ebp + 0x64]
fstp qword [ebp + 0x5c]
fld qword [ebp + 0x5c]
fmul qword [ebp + 0x14]
call fcn.00667ad0
mov word [edi + 0x2c], ax
mov ecx, dword [ebx + 0x28]
test byte [ecx + 0x30], 8
je 0x618a85
mov eax, ecx
movsx edx, word [eax + 0x2c]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp + 0x10]
sub eax, edx
add ecx, eax
mov dword [ebp + 0x10], ecx
mov eax, dword [0x6bf288]
test eax, eax
je 0x618ae2
mov edi, dword [eax + 0x50]
test edi, edi
je 0x618ae2
mov ecx, dword [ebp - 8]
fild dword [esi + 0x26c]
mov eax, dword [ebx + 0x28]
push ecx
movsx ecx, word [eax + 0x2c]
fstp qword [ebp + 0x5c]
fld qword [ebp + 0x5c]
lea edx, [ebp - 0x9c]
fmul qword [ebp]
push edx
add ecx, dword [ebp + 0x10]
push ecx
call fcn.00667ad0
push eax
fild dword [ebp + 0x68]
fstp qword [ebp]
fld qword [ebp]
fmul qword [ebp + 0x14]
call fcn.00667ad0
push eax
mov eax, dword [0x6bf288]
lea edx, [ebp + 0x2c]
push edx
push ebx
push eax
call edi
add esp, 0x20
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov dword [ebp + 0x34], ecx
mov cx, word [ebp + 0x70]
mov dword [ebp + 0x38], edx
mov eax, dword [ebx + 0x28]
mov word [eax + 0x2c], cx
jmp 0x618bae
test eax, eax
je 0x618bae
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 0x58]
push edx
lea edx, [esi + 0x21c]
push edx
movsx edx, word [esi + 0x88]
add edx, edi
push edx
mov edx, dword [esi + 0x26c]
push edx
mov edx, dword [ebp + 0x68]
push edx
lea edx, [ebp + 0x2c]
push edx
push ebx
push ecx
jmp 0x618ba9
mov ecx, dword [0x6bf288]
test ecx, ecx
mov edi, dword [ebp + 0x68]
je 0x618bae
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x618b76
movsx edx, word [esi + 0x88]
lea ecx, [esi + 0x21c]
push ecx
add edx, dword [ebp + 0x58]
mov ecx, dword [esi + 0x26c]
push edx
push ecx
mov ecx, dword [0x6bf288]
push edi
lea edx, [ebp + 0x2c]
push edx
push ebx
push ecx
call eax
mov ecx, dword [0x6bf288]
add esp, 0x1c
test ecx, ecx
je 0x618bae
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x618bae
movsx ecx, word [esi + 0x88]
push 0
lea edx, [esi + 0x21c]
push edx
add ecx, dword [ebp + 0x58]
mov edx, dword [esi + 0x26c]
push ecx
push edx
mov edx, dword [0x6bf288]
push edi
lea ecx, [ebp + 0x2c]
push ecx
push ebx
push edx
call eax
add esp, 0x20
call fcn.00441210
mov ecx, dword [eax]
lea edx, [ebp - 0x244]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x38], eax
mov dword [eax], edx
lea eax, [ebp - 0x234]
push 0
push eax
call sub.MSVCR71.dll__setjmp3
add esp, 8
test eax, eax
jne 0x618eef
mov eax, dword [ebp - 0x14]
test eax, eax
mov ebx, dword [ebp + 0x7c]
jne 0x618c01
mov esi, ebx
call fcn.00617aa0
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 0x6c]
fild dword [eax + 0xc]
movsx edx, word [eax + 4]
movsx ecx, word [eax + 6]
fstp dword [ebp + 8]
fild dword [eax + 0x10]
sub ecx, edx
movsx edx, word [eax + 8]
fstp dword [ebp + 0xc]
mov dword [ebp + 0x70], ecx
movsx ecx, word [eax + 0xa]
fild dword [ebp + 0x70]
sub ecx, edx
fstp dword [ebp - 0x18]
mov dword [ebp + 0x70], ecx
mov cx, word [ebx + 0x88]
cmp cx, 1
fild dword [ebp + 0x70]
fstp dword [ebp + 0x48]
jle 0x618c9b
mov eax, dword [ebx + 0x8c]
shr eax, 2
test al, 4
jne 0x618c6c
movsx edx, cx
dec edx
mov dword [ebp + 0x70], edx
fild dword [ebp + 0x70]
fstp dword [ebp + 0x70]
fld dword [ebp + 0x70]
fmul dword [0x66d5e0]
fsubr dword [ebp + 0x48]
fstp dword [ebp + 0x48]
test al, 8
jne 0x618c9b
movsx eax, cx
dec eax
mov dword [ebp + 0x70], eax
fild dword [ebp + 0x70]
fstp dword [ebp + 0x70]
fld dword [ebp + 0x70]
fmul dword [0x66d5e0]
fstp dword [ebp + 0x4c]
fld dword [ebp + 0x48]
fsub dword [ebp + 0x4c]
fstp dword [ebp + 0x48]
fld dword [ebp + 0x4c]
fadd dword [ebp + 0xc]
fstp dword [ebp + 0xc]
mov edi, dword [ebp + 0x48]
xor eax, eax
lea edx, [ebp - 0x30]
push edx
push eax
mov dword [ebp - 0xd8], eax
mov word [ebp - 0xc8], ax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x450]
mov dword [ebp - 0xc4], ecx
lea eax, [ebp - 0x254]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x2b4]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0xe4]
push edx
mov edx, dword [ebp + 8]
lea esi, [ebx + 0x234]
push esi
push edi
push eax
push ecx
push edx
mov dword [ebp - 0xe4], 1
mov word [ebp - 0xc6], 7
call fcn.004d3090
mov eax, dword [ebp - 0x30]
add esp, 0x28
test eax, eax
je 0x618d46
cmp word [ebp - 0xc8], 0
jle 0x618ee2
mov ecx, dword [ebp + 0x6c]
lea eax, [ebp - 0xe4]
push eax
push ecx
call fcn.005c75f0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x244]
add esp, 8
mov dword [eax], ecx
jmp 0x618f23
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ecx
call fcn.005bfe00
mov dword [ebp + 0x20], eax
call fcn.00441210
mov edx, dword [eax]
mov dword [ebp - 0x154], edx
xor ebx, ebx
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x154]
push ebx
mov dword [ebp - 0x150], ebx
push edx
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
call sub.MSVCR71.dll__setjmp3
add esp, 0x1c
test eax, eax
jne 0x618dc2
lea eax, [ebp - 0x5c]
push eax
call fcn.0064f710
mov esi, dword [ebp + 0x20]
push 1
push ebx
push 1
push 1
push ebx
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push esi
call fcn.0053b8a0
mov edx, dword [ebp - 0x2c]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0x154]
add esp, 0x24
mov dword [edx], eax
jmp 0x618e08
mov esi, dword [ebp + 0x20]
push esi
call fcn.00539720
mov edi, dword [ebp + 0x7c]
mov ecx, dword [edi + 0x280]
push ecx
call fcn.0064d060
mov edx, dword [edi + 0x314]
push edx
call fcn.005c52c0
mov eax, dword [edi + 0x204]
push eax
call fcn.005f3bc0
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x148]
push ecx
push edx
call fcn.0047e830
add esp, 0x18
push esi
call fcn.00539720
call fcn.00441210
mov ecx, dword [eax]
lea edx, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x48], eax
mov dword [eax], edx
lea eax, [ebp - 0x194]
push ebx
push eax
call sub.MSVCR71.dll__setjmp3
mov edi, dword [ebp + 0x24]
add esp, 0xc
test eax, eax
jne 0x618e8d
cmp edi, ebx
mov esi, edi
mov dword [0x6be2c8], 1
mov dword [0x6be2cc], ebx
je 0x618e7a
lea esp, [esp]
cmp word [esi + 0x1c], bx
jle 0x618e73
mov ecx, dword [ebp + 0x6c]
push esi
push ecx
call fcn.005c75f0
add esp, 8
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x618e60
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x1a4]
mov dword [0x6be2c8], ebx
mov dword [edx], eax
jmp 0x618ed6
push edi
mov dword [0x6be2c8], ebx
call fcn.00553620
mov esi, dword [ebp + 0x7c]
mov ecx, dword [esi + 0x280]
push ecx
call fcn.0064d060
mov edx, dword [esi + 0x314]
push edx
call fcn.005c52c0
mov eax, dword [esi + 0x204]
push eax
call fcn.005f3bc0
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x198]
push ecx
push edx
call fcn.0047e830
add esp, 0x18
push edi
call fcn.00553620
mov ebx, dword [ebp + 0x7c]
add esp, 4
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x244]
mov dword [eax], ecx
jmp 0x618f23
mov ecx, dword [0x6bf288]
test ecx, ecx
je 0x618f0a
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x618f0a
mov edx, dword [ebp + 0x6c]
push edx
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x238]
push eax
push ecx
call fcn.0047e830
mov ebx, dword [ebp + 0x7c]
add esp, 8
mov ecx, dword [0x6bf288]
test ecx, ecx
je 0x618f3e
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x618f3e
mov edx, dword [ebp + 0x6c]
push edx
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x24]
lea edi, [ebx + 0xc]
mov ecx, 0x14
lea esi, [ebp - 0x304]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebx + 0x5c]
mov ecx, 0x70
lea esi, [ebp - 0x610]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x40]
mov dword [ebx + 0x80], eax
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x8c]
xor eax, ecx
and eax, 0x3c
mov esi, ecx
mov ecx, dword [ebx + 4]
xor esi, eax
xor eax, eax
test ecx, ecx
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x34], edx
jle 0x618fd1
mov ecx, dword [ebx + 0x280]
mov esi, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x14]
mov esi, dword [esi + eax*4]
mov dword [ecx + eax*4], esi
mov ecx, dword [ebx + 0x280]
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx + eax*4]
mov esi, dword [edx]
mov dword [esi + eax*4], ecx
mov ecx, dword [ebx + 0x280]
mov esi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x1c]
mov esi, dword [esi + eax*4]
mov dword [ecx + eax*4], esi
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
jl 0x618f94
mov eax, dword [ebx + 0x274]
test eax, eax
je 0x619087
lea edi, [eax + 0xc]
mov eax, dword [ebp - 0x50]
mov ecx, 0x14
lea esi, [ebp - 0x354]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x274]
add edi, 0x5c
mov ecx, 0x70
lea esi, [ebp - 0x7d0]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x274]
mov ecx, dword [ebp - 0x28]
mov dword [edx + 0x80], eax
mov eax, dword [ebx + 0x274]
mov edi, dword [eax + 0x8c]
lea edx, [ecx*4]
xor edx, edi
and edx, 0x3c
mov ecx, edi
xor ecx, edx
mov dword [eax + 0x8c], ecx
mov eax, dword [ebx + 0x274]
lea ecx, [eax + 0x5c]
mov dword [eax + 0x34], ecx
mov edx, dword [ebx + 0x274]
mov eax, dword [edx + 0x280]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x14]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebx + 0x274]
mov ecx, dword [eax + 0x280]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
mov eax, dword [eax + 0x5c]
mov dword [eax], ecx
mov edx, dword [ebx + 0x274]
mov eax, dword [edx + 0x280]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x1c]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [0x6bf288]
test eax, eax
je 0x6190ac
mov eax, dword [ebx + 0x274]
test eax, eax
mov ecx, dword [ebx + 0x350]
mov dword [ebp + 0x30], ecx
je 0x6190ac
mov edx, dword [eax + 0x350]
mov dword [ebp - 0x70], edx
push ebx
call fcn.0064dd90
mov esi, dword [ebp + 0x7c]
add esp, 4
test eax, eax
jne 0x618660
mov eax, dword [esi + 0x35c]
mov edi, dword [esi + 0x8c]
mov dword [esi + 0x354], eax
mov eax, dword [esi + 0x274]
mov ecx, 0xffffffdf
and edi, ecx
test eax, eax
mov dword [esi + 0x8c], edi
je 0x619101
mov edx, dword [eax + 0x35c]
mov dword [eax + 0x354], edx
mov eax, dword [esi + 0x274]
and dword [eax + 0x8c], ecx
mov eax, dword [0x6bf3ec]
test eax, eax
je 0x61910c
call eax
mov eax, dword [esi + 0x8c]
test al, 0x10
jne 0x61913b
test ah, 8
jne 0x619126
push 0
push esi
call fcn.0064c1e0
add esp, 8
mov eax, dword [esi + 0x274]
test eax, eax
je 0x61913b
push 0
push eax
call fcn.0064c1e0
add esp, 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1f4]
mov ebx, dword [ebp + 0x1c]
mov dword [eax], ecx
jmp 0x6191ef
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x619164
mov edx, dword [0x6bf1f4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xb0], eax
mov esi, dword [ebp + 0x7c]
mov eax, dword [esi + 0x324]
test eax, eax
je 0x619181
mov ecx, dword [esi + 0x330]
push ecx
push eax
call fcn.005f3f80
add esp, 8
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x6191b2
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x6191b2
cmp dword [ebx], 0
jne 0x6191b2
mov eax, dword [ebp + 0x54]
test eax, eax
jle 0x6191b2
mov edi, eax
lea edx, [ebp - 0xfc]
push edx
call fcn.004b0e40
add esp, 4
dec edi
jne 0x6191a0
mov eax, dword [esi + 0x280]
push eax
call fcn.0064d060
mov ecx, dword [esi + 0x314]
push ecx
call fcn.005c52c0
mov edx, dword [esi + 0x204]
push edx
call fcn.005f3bc0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1e8]
push eax
push ecx
call fcn.0047e830
mov esi, dword [ebp + 0x7c]
add esp, 0x14
mov eax, dword [ebx + 4]
test eax, eax
je 0x619210
mov eax, dword [esi + 0x80]
test eax, eax
je 0x619210
mov eax, dword [ebp + 0x68]
test eax, eax
jg 0x618525
jmp 0x619210
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + 0x324]
test eax, eax
je 0x61922d
mov edx, dword [ecx + 0x330]
push edx
push eax
call fcn.005f3f80
add esp, 8
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x619262
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x619262
cmp dword [ebx], 0
jne 0x619262
mov esi, dword [ebp + 0x54]
test esi, esi
jle 0x619262
jmp 0x619250
lea eax, [ebp - 0xf4]
push eax
call fcn.004b0e40
add esp, 4
dec esi
jne 0x619250
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ecx + 0x274]
test eax, eax
je 0x6192a5
cmp dword [eax + 0x268], 3
jne 0x6192a5
mov ecx, dword [eax + 0x294]
test ecx, ecx
jne 0x6192a5
mov ecx, dword [eax + 0x290]
test ecx, ecx
je 0x6192a5
mov ecx, dword [eax + 0x284]
test ecx, ecx
jne 0x6192a5
lea edx, [ebp - 0x104]
push edx
call fcn.004b0e40
add esp, 4
mov ecx, dword [ebp + 0x44]
mov eax, dword [ecx + 8]
test eax, eax
je 0x6192b8
add ecx, 0xc
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax + 0x280]
push ecx
call fcn.0064d060
mov esi, dword [ebp + 0x7c]
mov edx, dword [esi + 0x314]
push edx
call fcn.005c52c0
mov eax, dword [esi + 0x204]
push eax
call fcn.005f3bc0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x6192fb
mov ecx, dword [0x6bf1f4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xb0], edx
pop edi
pop esi
pop ebx
add ebp, 0x74
mov esp, ebp
pop ebp
ret