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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x174
mov eax, dword [0x17bd058]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x17bf614]
push ebx
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x14]
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x1000231a
add eax, 0x30
call eax
jmp 0x10002320
call dword [0x17b2144]
mov edi, dword [0x17bf618]
cmp dword [edi + 0x98], 1
mov esi, eax
jne 0x100023c3
mov eax, dword [edi + 0xe8c]
cmp eax, ebx
je 0x100023c3
push 4
add eax, 0x20020
push eax
call dword [0x17b2030]
mov edi, dword [0x17bf618]
test eax, eax
jne 0x100023c3
fld dword [edi + 0xe84]
mov eax, dword [edi + 0xe8c]
fsub qword [0x17bb350]
mov edx, esi
sub edx, dword [0x17bf694]
lea ecx, [eax + 0x20020]
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
test edx, edx
jge 0x1000238d
fadd qword [0x17bb2f8]
mov eax, dword [ecx]
fmulp st(1)
fild dword [ecx]
test eax, eax
jge 0x1000239d
fadd qword [0x17bb2f8]
fnstcw word [esp + 0x4c]
movzx eax, word [esp + 0x4c]
faddp st(1)
or eax, 0xc00
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
fistp qword [esp + 0x58]
mov edx, dword [esp + 0x58]
mov dword [ecx], edx
fldcw word [esp + 0x4c]
mov ecx, esi
sub ecx, dword [0x17bf690]
mov dword [0x17bf694], esi
cmp ecx, 0x3e8
jae 0x100023e4
inc dword [0x17bf68c]
jmp 0x100024bc
cmp ecx, ebx
jbe 0x10002419
mov eax, dword [0x17bf68c]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
test eax, eax
jge 0x10002409
fadd qword [0x17bb2f8]
fadd qword [0x17bb2f0]
call fcn.1000e5d0
mov dword [0x17bf630], eax
mov eax, dword [0x17bf638]
mov dword [0x17bf690], esi
mov dword [0x17bf68c], ebx
cmp eax, ebx
je 0x100024bc
mov ecx, dword [eax]
lea edx, [esp + 0x64]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x64]
mov dword [0x17be4d4], edx
mov dword [0x17be4d0], ecx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call fcn.10002060
add esp, 4
cmp dword [0x17bf628], ebx
je 0x100024b6
mov eax, 0x17bf300
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10002493
mov ecx, dword [0x17bf628]
sub eax, edx
mov edx, dword [ecx]
sar eax, 1
push eax
mov eax, dword [edx + 0x34]
push 0x17bf300
push ecx
call eax
mov edi, dword [0x17bf618]
mov eax, dword [esp + 0x60]
cmp dword [0x17bf638], eax
jne 0x10002fdb
cmp dword [0x17bf628], ebx
je 0x100024ef
mov ecx, dword [0x17bf63c]
cmp ecx, dword [edi + 0xb8]
jne 0x100024ef
cmp dword [0x17bf640], ebx
jne 0x10002509
cmp dword [edi + 0x20], ebx
je 0x10002509
call fcn.10001c30
mov edx, dword [0x17bf618]
mov eax, dword [edx + 0xb8]
mov dword [0x17bf63c], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
jge 0x1000252f
call fcn.10001c00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10005020
mov esp, ebp
pop ebp
ret
cmp dword [0x17bf628], ebx
je 0x1000301d
cmp dword [0x17be4d0], ebx
je 0x1000301d
mov eax, dword [0x17bf618]
cmp dword [eax + 0x18], ebx
je 0x1000301d
mov eax, dword [0x17bf624]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 0x10
push eax
mov byte [0x17bdf5c], bl
call edx
mov eax, dword [0x17bf624]
mov ecx, dword [eax]
lea edx, [esp + 0xf8]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
fldz
mov eax, dword [0x17bf618]
mov dword [esp + 0x74], ebx
cmp dword [eax + 0x20], ebx
je 0x10002bfd
cmp dword [0x17bf640], ebx
je 0x10002bfd
mov eax, dword [0x17bf624]
fst dword [esp + 0xc8]
fst dword [esp + 0xc4]
lea edx, [esp + 0x90]
fst dword [esp + 0xc0]
push edx
fst dword [esp + 0xc0]
push eax
fst dword [esp + 0xbc]
fst dword [esp + 0xb8]
fst dword [esp + 0xb4]
fst dword [esp + 0xb0]
fst dword [esp + 0xa8]
fst dword [esp + 0xa4]
fst dword [esp + 0xa0]
fstp dword [esp + 0x9c]
fld1
fst dword [esp + 0xd4]
fst dword [esp + 0xc0]
fst dword [esp + 0xac]
fstp dword [esp + 0x98]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [0x17bf618]
mov edi, dword [ecx + 0x620]
lea edx, [esp + 0xe0]
push edx
or edi, 0xffffff
call dword [0x17b2028]
movzx eax, word [esp + 0xea]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0xe8]
fild dword [esp + 0x40]
fld qword [0x17bb348]
cdq
fdiv st(1), st(0)
mov ecx, 0xc
idiv ecx
cmp word [esp + 0xee], 0x2d
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
movzx edx, word [esp + 0xec]
fld qword [0x17bb340]
mov dword [esp + 0x40], edx
fdiv st(1), st(0)
fdivr st(3)
faddp st(1)
fld qword [0x17bb338]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x74]
fild dword [esp + 0x40]
fdiv st(2)
fld st(0)
fdivrp st(3)
fxch st(2)
faddp st(3)
fmul st(2), st(0)
fxch st(2)
fstp dword [esp + 0x40]
fmulp st(1)
fstp dword [esp + 0x64]
jae 0x100026d1
fld dword [esp + 0x64]
fadd qword [0x17bb330]
fstp dword [esp + 0x64]
fild dword [0x17be4d0]
mov eax, dword [0x17bf618]
fld dword [0x17bf2e4]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fst dword [esp + 0x60]
cmp dword [eax + 0x1c], ebx
jne 0x100026fb
fstp dword [esp + 0x4c]
jmp 0x100026fd
fstp st(0)
fld dword [esp + 0x4c]
lea ecx, [esp + 0x78]
fstp dword [esp + 0x78]
push ecx
fld dword [esp + 0x64]
push ecx
fstp dword [esp + 0x84]
lea edx, [esp + 0x58]
fldz
lea eax, [esp + 0x4c]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fld1
fst dword [esp + 0x4c]
fstp dword [esp + 0x50]
fst dword [esp]
push edx
push eax
push ecx
fstp dword [esp]
push ebx
lea ecx, [esp + 0xa8]
push ecx
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x90]
push ecx
push eax
call edx
fld dword [0x17bf2e4]
mov eax, dword [0x17bf624]
fst dword [esp + 0x68]
push edi
fstp dword [esp + 0x70]
fldz
push ebx
lea edx, [esp + 0x70]
fstp dword [esp + 0x78]
mov ecx, dword [eax]
push edx
mov edx, dword [0x17bf640]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
fld dword [0x17bf2e0]
fmul qword [0x17bb328]
lea ecx, [esp + 0x44]
fld dword [esp + 0x4c]
push ecx
push ecx
fadd st(1)
lea edx, [esp + 0x58]
lea eax, [esp + 0x80]
fstp dword [esp + 0x4c]
fadd dword [esp + 0x68]
fstp dword [esp + 0x50]
fldz
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fld dword [0x17bb320]
fstp dword [esp + 0x80]
fld1
fstp dword [esp + 0x84]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fld dword [esp + 0x7c]
fstp dword [esp]
push edx
push eax
push ecx
fstp dword [esp]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xa8]
push edx
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
fld dword [0x17bf2dc]
mov eax, dword [0x17bf624]
fstp dword [esp + 0x68]
fld dword [0x17bf2e0]
push 0x7f303030
push ebx
fstp dword [esp + 0x74]
fldz
lea edx, [esp + 0x70]
push edx
fstp dword [esp + 0x7c]
mov edx, dword [0x17bf644]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
fld dword [esp + 0x4c]
fstp dword [esp + 0x58]
lea ecx, [esp + 0x58]
fld dword [esp + 0x60]
push ecx
fstp dword [esp + 0x60]
push ecx
fldz
lea edx, [esp + 0x4c]
fst dword [esp + 0x4c]
lea eax, [esp + 0x58]
fst dword [esp + 0x50]
fld1
fst dword [esp + 0x58]
fstp dword [esp + 0x5c]
fld dword [esp + 0x7c]
fstp dword [esp]
push edx
push eax
push ecx
fstp dword [esp]
push ebx
lea ecx, [esp + 0xa8]
push ecx
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x90]
push ecx
push eax
call edx
fldz
mov eax, dword [0x17bf624]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
push edi
fst dword [esp + 0x74]
lea edx, [esp + 0x6c]
fld dword [0x17bf2dc]
push edx
fstp dword [esp + 0x80]
lea edx, [esp + 0x80]
fld dword [0x17bf2e0]
push edx
mov edx, dword [0x17bf644]
fstp dword [esp + 0x88]
push ebx
push edx
fstp dword [esp + 0x94]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x24]
call eax
fld dword [0x17bf2e0]
fmul qword [0x17bb318]
fld dword [esp + 0x4c]
fadd st(1)
lea ecx, [esp + 0x58]
push ecx
push ecx
fstp dword [esp + 0x60]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x58]
fadd dword [esp + 0x68]
fstp dword [esp + 0x64]
fldz
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fld dword [0x17bb320]
fstp dword [esp + 0x58]
fld1
fstp dword [esp + 0x5c]
fld dword [esp + 0x48]
fstp dword [esp]
push edx
push eax
push ecx
fstp dword [esp]
push ebx
lea ecx, [esp + 0xa8]
push ecx
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x90]
push ecx
push eax
call edx
fld dword [0x17bf2dc]
mov eax, dword [0x17bf624]
fstp dword [esp + 0x68]
fld dword [0x17bf2e0]
push 0x7f404040
push ebx
fstp dword [esp + 0x74]
fldz
lea edx, [esp + 0x70]
push edx
fstp dword [esp + 0x7c]
mov edx, dword [0x17bf648]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
fld dword [esp + 0x4c]
fstp dword [esp + 0x58]
lea ecx, [esp + 0x58]
fld dword [esp + 0x60]
push ecx
fstp dword [esp + 0x60]
push ecx
fldz
lea edx, [esp + 0x4c]
fst dword [esp + 0x4c]
lea eax, [esp + 0x58]
fst dword [esp + 0x50]
fld1
fst dword [esp + 0x58]
fstp dword [esp + 0x5c]
fld dword [esp + 0x48]
fstp dword [esp]
push edx
push eax
push ecx
fstp dword [esp]
push ebx
lea ecx, [esp + 0xa8]
push ecx
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov edx, dword [eax]
lea ecx, [esp + 0x90]
push ecx
push eax
mov edx, dword [edx + 0x14]
call edx
fldz
mov eax, dword [0x17bf624]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
push edi
fst dword [esp + 0x74]
lea edx, [esp + 0x6c]
fld dword [0x17bf2dc]
push edx
fstp dword [esp + 0x8c]
lea edx, [esp + 0x8c]
fld dword [0x17bf2e0]
push edx
mov edx, dword [0x17bf648]
fstp dword [esp + 0x94]
push ebx
push edx
fstp dword [esp + 0xa0]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x24]
call eax
fld dword [0x17bf2e0]
fmul qword [0x17bb310]
lea ecx, [esp + 0x58]
fld dword [esp + 0x4c]
push ecx
push ecx
fadd st(1)
lea edx, [esp + 0x4c]
lea eax, [esp + 0x58]
fstp dword [esp + 0x60]
fadd dword [esp + 0x68]
fstp dword [esp + 0x64]
fldz
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fld dword [0x17bb308]
fstp dword [esp + 0x58]
fld1
fstp dword [esp + 0x5c]
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fld dword [esp + 0x6c]
fstp dword [esp]
push edx
push eax
push ecx
fstp dword [esp]
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xa8]
push edx
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
fld dword [0x17bf2dc]
mov eax, dword [0x17bf624]
fstp dword [esp + 0x84]
fld dword [0x17bf2e0]
push 0x7f505050
push ebx
fstp dword [esp + 0x90]
fldz
lea edx, [esp + 0x8c]
push edx
fstp dword [esp + 0x98]
mov edx, dword [0x17bf64c]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
fld dword [esp + 0x4c]
lea ecx, [esp + 0x58]
fstp dword [esp + 0x58]
push ecx
fld dword [esp + 0x64]
push ecx
fstp dword [esp + 0x64]
lea edx, [esp + 0x4c]
fldz
lea eax, [esp + 0x58]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fld1
fst dword [esp + 0x58]
fstp dword [esp + 0x5c]
fld dword [esp + 0x6c]
fstp dword [esp]
push edx
push eax
push ecx
fstp dword [esp]
push ebx
lea ecx, [esp + 0xa8]
push ecx
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x90]
push ecx
push eax
call edx
fld dword [0x17bf2dc]
mov eax, dword [0x17bf624]
fstp dword [esp + 0x84]
fld dword [0x17bf2e0]
push edi
push ebx
fstp dword [esp + 0x90]
fldz
lea edx, [esp + 0x8c]
push edx
fstp dword [esp + 0x98]
mov edx, dword [0x17bf64c]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
fld dword [0x17bf2e4]
call fcn.1000e5d0
mov dword [esp + 0x74], eax
mov eax, dword [0x17bf618]
jmp 0x10002bff
fstp st(0)
mov edi, dword [0x17bf624]
cmp dword [eax + 0xa0], ebx
je 0x10002c19
mov dword [eax + 0xa0], ebx
mov dword [0x17bf698], esi
sub esi, dword [0x17bf698]
mov ebx, dword [0x17b213c]
cmp esi, 0x7d0
jae 0x10002ede
fld dword [eax + 0xe88]
lea ecx, [eax + 0xe94]
push ecx
sub esp, 8
fstp qword [esp]
push 0x17b3c9c
lea edx, [esp + 0x148]
call fcn.10001c10
add esp, 0x10
cmp esi, 0x3e8
jae 0x10002c6a
mov dword [esp + 0x40], 0
jmp 0x10002c89
mov ecx, 0x3e8
sub ecx, esi
shl ecx, 5
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], eax
cmp esi, 0x3e8
jae 0x10002c9b
fld qword [0x17bb300]
fld st(0)
jmp 0x10002cca
lea ecx, [esi - 0x3e8]
shl ecx, 5
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [esp + 0x64], edx
fild dword [esp + 0x64]
test edx, edx
jge 0x10002cc0
fadd qword [0x17bb2f8]
fld qword [0x17bb300]
fadd st(1), st(0)
fxch st(1)
cmp esi, 0x3e8
jb 0x10002cf9
lea edx, [esi - 0x3e8]
shl edx, 5
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov dword [esp + 0x64], edx
fild dword [esp + 0x64]
test edx, edx
jge 0x10002cf7
fadd qword [0x17bb2f8]
faddp st(2)
mov eax, dword [0x17be4d0]
fldz
fst dword [esp + 0x58]
cdq
fild dword [esp + 0x40]
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [0x17be4d4]
fstp dword [esp + 0x5c]
cdq
fxch st(2)
sub eax, edx
fstp dword [esp + 0x44]
sar eax, 1
lea edx, [esp + 0x50]
fstp dword [esp + 0x48]
fild dword [esp + 0x40]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
push eax
fstp dword [esp + 0x54]
push ecx
fild dword [esp + 0x48]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x98]
fstp dword [esp + 0x5c]
fst dword [esp]
push 0
push ecx
push ecx
fstp dword [esp]
push edx
push eax
call dword [0x17bf678]
mov eax, dword [0x17bf624]
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp esi, 0x3e8
jae 0x10002e9d
push 0xffffffffffffffff
push 1
push 0x17be4c8
call ebx
mov eax, dword [0x17bf628]
mov ecx, dword [eax]
push 0xffc0c0c0
push 5
push 0x17be4c8
push 0xffffffffffffffff
lea edx, [esp + 0x148]
push edx
push edi
push eax
mov eax, dword [ecx + 0x3c]
call eax
push 2
push 0xfffffffffffffffe
push 0x17be4c8
call ebx
mov eax, dword [0x17bf628]
mov ecx, dword [eax]
push 0xffc0c0c0
push 5
push 0x17be4c8
push 0xffffffffffffffff
lea edx, [esp + 0x148]
push edx
push edi
push eax
mov eax, dword [ecx + 0x3c]
call eax
push 0xffffffffffffffff
push 1
push 0x17be4c8
call ebx
push 1
push 1
push 0x17be4c8
call ebx
mov eax, dword [0x17bf628]
mov ecx, dword [eax]
push 0xff7f7f7f
push 5
push 0x17be4c8
push 0xffffffffffffffff
lea edx, [esp + 0x148]
push edx
push edi
push eax
mov eax, dword [ecx + 0x3c]
call eax
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push 0x17be4c8
call ebx
mov eax, dword [0x17bf628]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 5
push 0x17be4c8
push 0xffffffffffffffff
lea edx, [esp + 0x148]
push edx
push edi
push eax
mov eax, dword [ecx + 0x3c]
call eax
push 1
push 1
push 0x17be4c8
call ebx
mov edx, dword [0x17bf618]
mov ecx, dword [edx + 0x9c]
mov eax, ecx
imul eax, eax, 0x1f0000
test ecx, ecx
jge 0x10002e77
mov edx, ecx
mov eax, ecx
shl eax, 5
sub eax, edx
neg eax
mov ecx, dword [0x17bf628]
mov edx, dword [ecx]
or eax, 0xff000000
push eax
push 5
push 0x17be4c8
push 0xffffffffffffffff
lea eax, [esp + 0x148]
push eax
push edi
push ecx
mov ecx, dword [edx + 0x3c]
jmp 0x10002edc
mov edx, 0x7d0
sub edx, esi
imul edx, edx, 0xff
mov ecx, dword [0x17bf628]
mov eax, 0x10624dd3
mul edx
shr edx, 6
shl edx, 0x18
or edx, 0xffffff
push edx
push 5
push 0x17be4c8
push 0xffffffffffffffff
lea eax, [esp + 0x148]
push eax
mov eax, dword [ecx]
push edi
push ecx
mov ecx, dword [eax + 0x3c]
call ecx
mov eax, dword [0x17bf624]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xf8]
push ecx
push eax
call edx
mov eax, dword [0x17bf618]
mov ecx, dword [0x17be4c8]
sub ecx, dword [eax + 0x624]
mov edx, dword [esp + 0x74]
mov dword [esp + 0xd0], ecx
lea ecx, [edx + edx]
sub ecx, dword [eax + 0x624]
mov edx, dword [0x17be4d4]
add ecx, dword [0x17be4cc]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xd4], ecx
mov ecx, dword [0x17be4d0]
mov dword [esp + 0xd8], ecx
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 0x628]
mov ecx, dword [0x17bf628]
mov edx, dword [ecx]
push eax
neg esi
sbb esi, esi
and esi, 2
push esi
lea eax, [esp + 0xd8]
push eax
push 0xffffffffffffffff
push 0x17bf300
push edi
push ecx
mov ecx, dword [edx + 0x3c]
call ecx
mov edx, dword [0x17bf618]
mov eax, dword [edx + 0x624]
push eax
push eax
lea eax, [esp + 0xd8]
push eax
call ebx
mov edx, dword [0x17bf618]
mov edx, dword [edx + 0x620]
mov eax, dword [0x17bf628]
mov ecx, dword [eax]
push edx
push esi
lea edx, [esp + 0xd8]
push edx
push 0xffffffffffffffff
push 0x17bf300
push edi
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov eax, dword [0x17bf624]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push eax
call edx
mov byte [0x17bdf5c], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.10005020
mov esp, ebp
pop ebp
ret
mov dword [0x17bf638], eax
cmp dword [0x17be4d0], ebx
jne 0x1000301d
mov ecx, dword [eax]
lea edx, [esp + 0xe0]
push edx
push eax
mov eax, dword [ecx + 0xc0]
call eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
push eax
mov dword [0x17be4d0], eax
mov dword [0x17be4d4], ecx
call fcn.10001c00
add esp, 4
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10005020
mov esp, ebp
pop ebp
ret