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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x2d1c
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x6c8
call fcn.006fbed6
add esp, 4
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x10
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x519ef1
mov eax, 0x15
push eax
push 0x80000004
push 0
push 0x2d27
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x519f11
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x519f37
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x519f47
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x519f5a
mov eax, 0x15
push eax
push 1
mov ebx, 0x164
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x519f83
push ebx
call fcn.006fbeb8
add esp, 4
fld qword [ebp - 0x1c]
call fcn.004f7beb
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x519ffc
push 0
mov ebx, 0x6c8
call fcn.006fbed6
add esp, 4
mov dword [ebp - 0xc], eax
push 0x2d32
push dword [ebp - 0xc]
push 0x2d38
mov ecx, 3
call fcn.004f7266
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x519fda
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x124]
test ebx, ebx
je 0x519ff1
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov dword [0x124], eax
jmp 0x51a01b
mov eax, 0x2d1c
push eax
mov ebx, dword [0x124]
test ebx, ebx
je 0x51a015
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov dword [0x124], eax
push 0x80000004
push 0
mov eax, dword [0x124]
test eax, eax
jne 0x51a030
mov eax, 0x15
push eax
push 1
mov ebx, 0x24c
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x51a0fe
mov eax, 0x2d40
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004fc63a
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x51a074
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, 0x10e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004fc63a
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51a098
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x51a0ab
mov eax, 0x15
push eax
push 0x80000301
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a0cb
mov eax, 0x15
push eax
push 3
mov ebx, 0x300
call fcn.006fbed6
add esp, 0x28
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a0ee
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x51a0fe
push ebx
call fcn.006fbeb8
add esp, 4
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov ebx, 0xbc
mov eax, 9
call fcn.006fbedc
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a14d
mov eax, 0x15
push eax
push 0x80000004
push 0
push 0x2d51
push 0x80000004
push 0
push 0x2d54
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x51a179
mov eax, 0x15
push eax
push 4
mov ebx, 0x8cc
call fcn.006fbed6
add esp, 0x34
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x51a19c
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a1ac
push ebx
call fcn.006fbeb8
add esp, 4
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x6c8
call fcn.006fbed6
add esp, 4
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a1f0
mov eax, 0x15
push eax
push 0x80000004
push 0
push 0x1c7c
push 0x80000004
push 0
push 0x2d54
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x51a21c
mov eax, 0x15
push eax
push 4
mov ebx, 0x8cc
call fcn.006fbed6
add esp, 0x34
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x51a23f
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a24f
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [8]
add ebx, 0x78
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x10
push 0x80000004
push 0
push 0x763
push 0x80000004
push 0
push 0x98f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a2ae
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a2d4
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51a2e7
mov eax, 0x15
push eax
push 1
mov ebx, 0x9dc
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51a30d
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x7c]
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x10
push 0x80000004
push 0
push 0x2d59
push 0x80000004
push 0
push 0x2d60
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a374
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a39a
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51a3ad
mov eax, 0x15
push eax
push 1
mov ebx, 0x9dc
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51a3d3
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x7c]
add ebx, 4
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x10
push 0x80000004
push 0
push 0x2d64
push 0x80000004
push 0
push 0x2d60
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a43d
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a463
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51a476
mov eax, 0x15
push eax
push 1
mov ebx, 0x9dc
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51a49c
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx]
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2d6c
push 0x80000004
push 0
push 0x2d8a
push 0x80000004
push 0
push 0x2d8f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a502
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a528
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51a53e
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2cc4
push 0x80000004
push 0
push 0x2d96
push 0x80000004
push 0
push 0x2d8f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a5a5
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a5cb
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51a5e1
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2d99
push 0x80000004
push 0
push 0x2d9e
push 0x80000004
push 0
push 0x2d8f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a648
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a66e
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51a684
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2da7
push 0x80000004
push 0
push 0x2dac
push 0x80000004
push 0
push 0x2d8f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a6eb
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a711
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51a727
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2db1
push 0x80000004
push 0
push 0x2db7
push 0x80000004
push 0
push 0x2d8f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a78e
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a7b4
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51a7ca
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, 0x2dbc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00500916
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x51a82b
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51a83b
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x51a84e
mov eax, 0x15
push eax
push 0x80000004
push 0
push 0x2dc9
push 0x80000004
push 0
push 0x2d8f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51a87a
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51a8a0
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x51a8b0
push ebx
call fcn.006fbeb8
add esp, 4
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0050dd9d
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x51a8d9
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x51a8e9
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51a8ff
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
push eax
push 0x1c
call fcn.006fbebe
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x51a94d
push eax
mov ebx, eax
call fcn.004f71fb
inc eax
push eax
call fcn.006fbebe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x51a96c
push eax
mov ebx, eax
call fcn.004f71fb
inc eax
push eax
call fcn.006fbebe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x51a98b
push eax
mov ebx, eax
call fcn.004f71fb
inc eax
push eax
call fcn.006fbebe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x51a9aa
push eax
mov ebx, eax
call fcn.004f71fb
inc eax
push eax
call fcn.006fbebe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x51a9c9
push eax
mov ebx, eax
call fcn.004f71fb
inc eax
push eax
call fcn.006fbebe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x51a9e8
push eax
mov ebx, eax
call fcn.004f71fb
inc eax
push eax
call fcn.006fbebe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x51aa07
push eax
mov ebx, eax
call fcn.004f71fb
inc eax
push eax
call fcn.006fbebe
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aa22
push ebx
call fcn.006fbeb8
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aa36
push ebx
call fcn.006fbeb8
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aa4a
push ebx
call fcn.006fbeb8
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aa5e
push ebx
call fcn.006fbeb8
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aa72
push ebx
call fcn.006fbeb8
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aa86
push ebx
call fcn.006fbeb8
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aa9a
push ebx
call fcn.006fbeb8
add esp, 4
pop ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
mov eax, 0x2d54
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aad0
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov eax, 0x2dd2
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aafd
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x51ab32
mov eax, 0x15
push eax
push 2
mov ebx, 0x134
call fcn.006fbed6
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0x2dde
push dword [ebp - 0x10]
call fcn.004f72ca
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51ab76
push ebx
call fcn.006fbeb8
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x51ac01
mov ebx, dword [8]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x18], ebx
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x51abaf
mov eax, 0x15
push eax
push 2
mov ebx, 0x134
call fcn.006fbed6
add esp, 0x1c
mov dword [ebp - 0x1c], eax
push 0x2de3
push dword [ebp - 0x1c]
call fcn.004f72ca
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x51abf3
push ebx
call fcn.006fbeb8
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x51ac01
xor eax, eax
jmp 0x51ac06
mov eax, 1
test eax, eax
je 0x51ac28
mov ebx, dword [8]
add ebx, 0x2c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
jmp 0x51ac3d
mov ebx, dword [8]
add ebx, 0x2c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0
mov ebx, dword [8]
mov ebx, dword [ebx + 0x3c]
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x2de8
push 0x80000004
push 0
push 0x2df3
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51ac96
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51acbc
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51acd2
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x3c]
add ebx, 4
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x2df8
push 0x80000004
push 0
push 0x2df3
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51ad34
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51ad5a
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51ad70
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x3c]
add ebx, 8
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x2e01
push 0x80000004
push 0
push 0x2df3
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51add2
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51adf8
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51ae0e
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x3c]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x2e08
push 0x80000004
push 0
push 0x2df3
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51ae70
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51ae96
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51aeac
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x3c]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x2e13
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51af0b
mov eax, 0x15
push eax
push 0x80000004
push 0
push 0x2e1a
push 0x80000004
push 0
push 0x2df3
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51af37
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51af5d
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51af6d
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51af83
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2e24
push 0x80000004
push 0
push 0x2e2a
push 0x80000004
push 0
push 0x2e2a
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51afe8
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b00e
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51b024
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x1c]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [8]
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x2e2f
push dword [0x4c]
mov ecx, 3
call fcn.004f7266
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51b078
mov eax, 0x15
push eax
push 1
mov ebx, 0x268
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51b09e
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51b0b4
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
push 0x2e36
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0xc], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x51b0e8
mov eax, 0x15
push eax
push 1
mov ebx, 0x268
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x51b10e
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b121
mov eax, 0x18
push eax
push 1
mov ebx, 0x168
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b147
push ebx
call fcn.006fbeb8
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.0051f7f3
mov ebx, eax
test ebx, ebx
je 0x51b15f
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51b16f
push ebx
call fcn.006fbeb8
add esp, 4
mov ebx, dword [8]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x2e49
push 0x80000004
push 0
push 0x98f
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b1c8
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b1ee
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51b201
mov eax, 0x15
push eax
push 1
mov ebx, 0x164
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51b22a
push ebx
call fcn.006fbeb8
add esp, 4
fld qword [ebp - 0x1c]
call fcn.004f7beb
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x24]
add ebx, 4
mov dword [ebp - 0xc], ebx
push 0x2e4d
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b274
mov eax, 0x15
push eax
push 1
mov ebx, 0x268
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b29a
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51b2ad
mov eax, 0x18
push eax
push 1
mov ebx, 0x168
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51b2d3
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51b2e9
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
add ebx, 0x28
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x2e59
push 0x80000004
push 0
push 0x2e5e
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b348
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b36e
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51b384
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
add ebx, 0x28
mov dword [ebp - 0xc], ebx
mov ebx, dword [8]
add ebx, 0x28
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x10]
call fcn.00520986
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51b3c3
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
xor ecx, ecx
lea eax, [ebp - 8]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 3
jg 0x51b4c2
mov ebx, dword [0x128]
call fcn.004f71db
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x51b3fe
push 4
call fcn.006fbec4
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x51b411
push 1
call fcn.006fbec4
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x2e64
push dword [0x4c]
mov ecx, 3
call fcn.004f7266
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b466
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51b479
mov eax, 0x15
push eax
push 1
mov ebx, 0x268
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51b49f
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51b4b5
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
pop ebx
pop ecx
jmp 0x51b3d0
add esp, 8
mov ebx, dword [8]
mov ebx, dword [ebx + 0x34]
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x10
push 0x80000004
push 0
push 0x2e6e
push 0x80000004
push 0
push 0x2e75
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b524
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b54a
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51b55d
mov eax, 0x15
push eax
push 1
mov ebx, 0x164
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51b586
push ebx
call fcn.006fbeb8
add esp, 4
fld qword [ebp - 0x1c]
call fcn.004f7beb
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x34]
add ebx, 4
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2e7a
push 0x80000004
push 0
push 0x2e7c
push 0x80000004
push 0
push 0x2e75
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b5f5
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b61b
push ebx
call fcn.006fbeb8
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x51b62e
mov eax, 0x15
push eax
push 1
mov ebx, 0x164
call fcn.006fbed6
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x51b657
push ebx
call fcn.006fbeb8
add esp, 4
fld qword [ebp - 0x1c]
fmul qword [0x2e86]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.004f7beb
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x34]
add ebx, 8
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x2e8e
push 0x80000004
push 0
push 0x2e93
push 0x80000004
push 0
push 0x2e75
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b6d2
mov eax, 0x15
push eax
push 4
mov ebx, 0x8c8
call fcn.006fbed6
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x51b6f8
push ebx
call fcn.006fbeb8
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x51b70e
push ebx
call fcn.006fbeb8
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [8]
mov ebx, dword [ebx + 0x48]
mov dword [ebp - 0xc], ebx
push dword [0x124]
push dword [0x4c]
mov ecx, 2
call fcn.004f7266
add esp, 8
mov dword [ebp - 0x10], eax
push 0x80000004
push 0
push 0x3ca
push 0x80000004
push 0
push 0x2e97
push 0x80000004
push 0
push 0x2ea6
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x51b773