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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10188537
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xc
mov eax, 0x1af4
call fcn.100bd7c0
mov eax, dword [0x101ac080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18a8], ecx
xor eax, eax
mov byte [ebp - 0x18b6], al
xor ecx, ecx
mov byte [ebp - 0x18c9], cl
mov edx, dword [ebp - 0x18a8]
movzx eax, byte [edx + 0x78]
test eax, eax
jne 0x1016e615
jmp 0x1016f5e0
mov ecx, dword [ebp - 0x18a8]
mov byte [ecx + 0x78], 0
mov ecx, dword [ebp - 0x18a8]
call fcn.10004920
movzx edx, al
test edx, edx
je 0x1016e644
mov ecx, dword [ebp - 0x18a8]
add ecx, 0x14
call fcn.100b05f0
jmp 0x1016f5e0
mov ecx, dword [ebp - 0x18a8]
add ecx, 0x14
call fcn.1001a690
movzx eax, al
test eax, eax
je 0x1016e65e
jmp 0x1016f5e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18a8]
add ecx, 0x14
mov dword [ebp - 0x1a18], ecx
lea edx, [ebp - 0x18a4]
push edx
mov ecx, dword [ebp - 0x1a18]
call fcn.10009740
mov eax, dword [ebp - 0x18a8]
add eax, 0x14
mov dword [ebp - 0x1a1c], eax
lea ecx, [ebp - 0x1aa0]
push ecx
mov ecx, dword [ebp - 0x1a1c]
call fcn.10009700
push eax
lea ecx, [ebp - 0x18a4]
call fcn.100096a0
movzx edx, al
test edx, edx
je 0x1016f5b9
mov ecx, dword [ebp - 0x18a8]
call fcn.10004920
movzx eax, al
test eax, eax
jne 0x1016e6e5
mov ecx, dword [ebp - 0x18a8]
add ecx, 0x14
call fcn.1001a690
movzx ecx, al
test ecx, ecx
je 0x1016e6f8
mov ecx, dword [ebp - 0x18a8]
add ecx, 0x14
call fcn.100b05f0
jmp 0x1016f5b9
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
push eax
lea ecx, [ebp - 0x1ab0]
call fcn.10006da0
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
je 0x1016e73b
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07d0
test eax, eax
jne 0x1016e77c
mov edx, dword [ebp - 0x18a8]
add edx, 0x14
mov dword [ebp - 0x1a24], edx
mov eax, dword [ebp - 0x18a4]
mov dword [ebp - 0x1a20], eax
mov ecx, dword [ebp - 0x1a20]
push ecx
lea edx, [ebp - 0x1ab4]
push edx
mov ecx, dword [ebp - 0x1a24]
call fcn.100b0670
mov eax, dword [eax]
mov dword [ebp - 0x18a4], eax
jmp 0x1016e686
mov ecx, dword [ebp - 0x18a8]
mov dword [ebp - 0x1900], ecx
lea edx, [ebp - 0x1af0]
push edx
mov ecx, dword [ebp - 0x1900]
call fcn.1001bda0
push eax
lea ecx, [ebp - 0x1ab0]
call fcn.1001be20
movzx eax, al
test eax, eax
je 0x1016e7ee
mov ecx, dword [ebp - 0x18a8]
add ecx, 0x14
mov dword [ebp - 0x1908], ecx
mov edx, dword [ebp - 0x18a4]
mov dword [ebp - 0x1904], edx
mov eax, dword [ebp - 0x1904]
push eax
lea ecx, [ebp - 0x1ab8]
push ecx
mov ecx, dword [ebp - 0x1908]
call fcn.100b0670
mov edx, dword [eax]
mov dword [ebp - 0x18a4], edx
jmp 0x1016e686
lea ecx, [ebp - 0x1ab0]
call fcn.100b07b0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18b0], eax
cmp dword [ebp - 0x18b0], 0
jne 0x1016e88f
mov ecx, dword [ebp - 0x18a8]
mov dword [ebp - 0x190c], ecx
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x1abc], esp
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
push eax
mov ecx, esi
call fcn.10006dc0
lea edx, [ebp - 0x1afc]
push edx
mov ecx, dword [ebp - 0x190c]
call fcn.100b0810
mov eax, dword [ebp - 0x18a8]
add eax, 0x14
mov dword [ebp - 0x1914], eax
mov ecx, dword [ebp - 0x18a4]
mov dword [ebp - 0x1910], ecx
mov edx, dword [ebp - 0x1910]
push edx
lea eax, [ebp - 0x1a9c]
push eax
mov ecx, dword [ebp - 0x1914]
call fcn.100b0670
mov ecx, dword [eax]
mov dword [ebp - 0x18a4], ecx
jmp 0x1016e686
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
mov edx, dword [eax]
push edx
call fcn.10162ff0
add esp, 4
mov dword [ebp - 0x1918], eax
mov eax, dword [ebp - 0x18b0]
cmp eax, dword [ebp - 0x1918]
je 0x1016e947
mov ecx, dword [ebp - 0x18a8]
mov dword [ebp - 0x191c], ecx
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x1a8c], esp
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
push eax
mov ecx, esi
call fcn.10006dc0
lea edx, [ebp - 0x1b08]
push edx
mov ecx, dword [ebp - 0x191c]
call fcn.100b0810
mov eax, dword [ebp - 0x18a8]
add eax, 0x14
mov dword [ebp - 0x1924], eax
mov ecx, dword [ebp - 0x18a4]
mov dword [ebp - 0x1920], ecx
mov edx, dword [ebp - 0x1920]
push edx
lea eax, [ebp - 0x1aa4]
push eax
mov ecx, dword [ebp - 0x1924]
call fcn.100b0670
mov ecx, dword [eax]
mov dword [ebp - 0x18a4], ecx
jmp 0x1016e686
lea edx, [ebp - 0x1a4c]
push edx
call fcn.100e77c0
add esp, 4
mov dword [ebp - 0x1928], eax
mov ecx, dword [ebp - 0x1928]
call fcn.10003ac0
mov dword [ebp - 0x192c], eax
mov eax, dword [ebp - 0x192c]
mov dword [ebp - 0x18d0], eax
mov ecx, dword [ebp - 0x18d0]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
mov dword [ebp - 0x1934], eax
mov ecx, dword [ebp - 0x18b0]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0x1930], edx
mov eax, dword [ebp - 0x1930]
push eax
mov ecx, dword [ebp - 0x18d0]
call dword [ebp - 0x1934]
mov dword [ebp - 0x1938], eax
mov ecx, dword [ebp - 0x1938]
mov dword [ebp - 0x193c], ecx
cmp dword [ebp - 0x193c], 0
jne 0x1016ea4b
mov edx, dword [ebp - 0x18a8]
mov dword [ebp - 0x1940], edx
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x1a50], esp
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
push eax
mov ecx, esi
call fcn.10006dc0
lea eax, [ebp - 0x1b14]
push eax
mov ecx, dword [ebp - 0x1940]
call fcn.100b0810
mov ecx, dword [ebp - 0x18a8]
add ecx, 0x14
mov dword [ebp - 0x1948], ecx
mov edx, dword [ebp - 0x18a4]
mov dword [ebp - 0x1944], edx
mov eax, dword [ebp - 0x1944]
push eax
lea ecx, [ebp - 0x1a54]
push ecx
mov ecx, dword [ebp - 0x1948]
call fcn.100b0670
mov edx, dword [eax]
mov dword [ebp - 0x18a4], edx
jmp 0x1016e686
lea ecx, [ebp - 0x18a4]
call fcn.10004070
mov ecx, eax
call fcn.1001a690
movzx eax, al
test eax, eax
je 0x1016eae8
mov ecx, dword [ebp - 0x18a8]
mov dword [ebp - 0x194c], ecx
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x1a58], esp
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
push eax
mov ecx, esi
call fcn.10006dc0
lea edx, [ebp - 0x1acc]
push edx
mov ecx, dword [ebp - 0x194c]
call fcn.100b0810
mov eax, dword [ebp - 0x18a8]
add eax, 0x14
mov dword [ebp - 0x1954], eax
mov ecx, dword [ebp - 0x18a4]
mov dword [ebp - 0x1950], ecx
mov edx, dword [ebp - 0x1950]
push edx
lea eax, [ebp - 0x1a5c]
push eax
mov ecx, dword [ebp - 0x1954]
call fcn.100b0670
mov ecx, dword [eax]
mov dword [ebp - 0x18a4], ecx
jmp 0x1016e686
call fcn.10156d60
mov dword [ebp - 0x1958], eax
mov edx, dword [ebp - 0x1958]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1960], edx
mov eax, dword [ebp - 0x18b0]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x195c], ecx
mov edx, dword [ebp - 0x195c]
push edx
lea eax, [ebp - 0x1964]
push eax
mov ecx, dword [ebp - 0x18d4]
call dword [ebp - 0x1960]
lea ecx, [ebp - 0x1964]
mov dword [ebp - 0x18b4], ecx
mov ecx, dword [ebp - 0x18b0]
call fcn.101621c0
mov byte [ebp - 0x18b5], al
movzx edx, byte [ebp - 0x18b5]
test edx, edx
je 0x1016ebe5
mov eax, dword [ebp - 0x18a8]
mov dword [ebp - 0x1968], eax
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x1a60], esp
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
push eax
mov ecx, esi
call fcn.10006dc0
lea ecx, [ebp - 0x1ad8]
push ecx
mov ecx, dword [ebp - 0x1968]
call fcn.100b0810
mov edx, dword [ebp - 0x18a8]
add edx, 0x14
mov dword [ebp - 0x1970], edx
mov eax, dword [ebp - 0x18a4]
mov dword [ebp - 0x196c], eax
mov ecx, dword [ebp - 0x196c]
push ecx
lea edx, [ebp - 0x1a64]
push edx
mov ecx, dword [ebp - 0x1970]
call fcn.100b0670
mov eax, dword [eax]
mov dword [ebp - 0x18a4], eax
jmp 0x1016e686
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0xc
mov ecx, eax
call fcn.100427d0
test eax, eax
jbe 0x1016ec0a
mov dword [ebp - 0x18d8], 1
jmp 0x1016ec14
mov dword [ebp - 0x18d8], 0
mov cl, byte [ebp - 0x18d8]
mov byte [ebp - 0x18a9], cl
lea ecx, [ebp - 0x18a4]
call fcn.10004070
mov ecx, eax
call fcn.1000c7b0
push eax
lea ecx, [ebp - 0x1a30]
call fcn.1017c320
lea ecx, [ebp - 0x18a0]
call fcn.1000e780
mov edx, dword [ebp - 0x18b0]
push edx
lea ecx, [ebp - 0x18a0]
call fcn.10155b30
lea ecx, [ebp - 0x1a48]
call fcn.10003bf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
mov eax, dword [eax + 0x18c4]
mov dword [ebp - 0x1974], eax
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
add eax, 0x10
mov dword [ebp - 0x1978], eax
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
add eax, 0x18a0
mov dword [ebp - 0x197c], eax
mov ecx, dword [ebp - 0x1974]
push ecx
movzx edx, byte [ebp - 0x18a9]
push edx
push 0
lea eax, [ebp - 0x1a48]
push eax
mov ecx, dword [ebp - 0x18b0]
push ecx
mov edx, dword [ebp - 0x1978]
push edx
lea eax, [ebp - 0x1a30]
push eax
mov ecx, dword [ebp - 0x197c]
push ecx
call fcn.1016f600
add esp, 0x20
mov edx, dword [ebp - 0x18b0]
push edx
lea ecx, [ebp - 0x18a0]
call fcn.10155a00
mov eax, dword [0x10210bb0]
add eax, 1
mov dword [0x10210bb0], eax
movzx ecx, byte [ebp - 0x18a9]
test ecx, ecx
jne 0x1016f3f7
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
add eax, 0x18a0
mov dword [ebp - 0x1984], eax
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
add eax, 0x18b4
mov dword [ebp - 0x1980], eax
mov edx, dword [ebp - 0x1980]
push edx
mov ecx, dword [ebp - 0x1984]
call fcn.1017b840
fstp dword [ebp - 0x1988]
movss xmm0, dword [ebp - 0x1988]
subss xmm0, dword [0x1019e388]
movss dword [ebp - 0x19e4], xmm0
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
add eax, 0x18a0
mov dword [ebp - 0x198c], eax
lea eax, [ebp - 0x1a30]
push eax
mov ecx, dword [ebp - 0x198c]
call fcn.1017b840
fstp dword [ebp - 0x1990]
movss xmm0, dword [ebp - 0x1990]
movss dword [ebp - 0x19e8], xmm0
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
add eax, 0x18b4
mov ecx, eax
call fcn.1017c1c0
fstp dword [ebp - 0x1994]
movss xmm0, dword [ebp - 0x1994]
movss dword [ebp - 0x1a68], xmm0
lea ecx, [ebp - 0x1a30]
call fcn.1017c1c0
fstp dword [ebp - 0x1998]
movss xmm0, dword [ebp - 0x1998]
movss dword [ebp - 0x1a6c], xmm0
push 0
lea ecx, [ebp - 0x1a48]
call fcn.100b0550
mov dword [ebp - 0x199c], eax
mov ecx, dword [ebp - 0x18a8]
push ecx
lea edx, [ebp - 0x18b6]
push edx
lea eax, [ebp - 0x18a4]
push eax
lea ecx, [ebp - 0x1a3c]
call fcn.1016def0
mov ecx, dword [ebp - 0x199c]
movzx edx, byte [ecx]
test edx, edx
je 0x1016f289
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
cmp dword [eax + 0x18c8], 1
jne 0x1016eedd
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19a0], eax
mov eax, dword [ebp - 0x19a0]
add eax, 0x34
mov dword [ebp - 0x18dc], eax
mov ecx, dword [ebp - 0x18dc]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x18dc]
mov dword [eax], edx
jmp 0x1016f1a8
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
cmp dword [eax + 0x18c8], 2
jne 0x1016ef33
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19a4], eax
mov ecx, dword [ebp - 0x19a4]
add ecx, 0x3c
mov dword [ebp - 0x18e0], ecx
mov edx, dword [ebp - 0x18e0]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x18e0]
mov dword [ecx], eax
jmp 0x1016f1a8
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
cmp dword [eax + 0x18c8], 0
jne 0x1016ef89
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19a8], eax
mov edx, dword [ebp - 0x19a8]
add edx, 0x58
mov dword [ebp - 0x18e4], edx
mov eax, dword [ebp - 0x18e4]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x18e4]
mov dword [edx], ecx
jmp 0x1016f1a8
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
cmp dword [eax + 0x18c8], 3
jne 0x1016efdf
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19ac], eax
mov eax, dword [ebp - 0x19ac]
add eax, 0x50
mov dword [ebp - 0x18e8], eax
mov ecx, dword [ebp - 0x18e8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x18e8]
mov dword [eax], edx
jmp 0x1016f1a8
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
cmp dword [eax + 0x18c8], 5
jne 0x1016f035
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19b0], eax
mov ecx, dword [ebp - 0x19b0]
add ecx, 0x24
mov dword [ebp - 0x18ec], ecx
mov edx, dword [ebp - 0x18ec]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x18ec]
mov dword [ecx], eax
jmp 0x1016f1a8
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
cmp dword [eax + 0x18c8], 7
jne 0x1016f08b
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19b4], eax
mov edx, dword [ebp - 0x19b4]
add edx, 0x30
mov dword [ebp - 0x18f0], edx
mov eax, dword [ebp - 0x18f0]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x18f0]
mov dword [edx], ecx
jmp 0x1016f1a8
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
cmp dword [eax + 0x18c8], 4
jne 0x1016f0e1
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19b8], eax
mov eax, dword [ebp - 0x19b8]
add eax, 0x2c
mov dword [ebp - 0x18f4], eax
mov ecx, dword [ebp - 0x18f4]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x18f4]
mov dword [eax], edx
jmp 0x1016f1a8
mov ecx, dword [ebp - 0x18b0]
call fcn.101329d0
mov dword [ebp - 0x19c0], eax
call fcn.10163050
mov dword [ebp - 0x19bc], eax
mov ecx, dword [ebp - 0x19bc]
call fcn.101329d0
mov dword [ebp - 0x19c4], eax
mov ecx, dword [ebp - 0x19c0]
mov edx, dword [ebp - 0x19c4]
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x1016f1a8
mov ecx, dword [ebp - 0x18b0]
call fcn.10162600
mov dword [ebp - 0x19c8], eax
mov ecx, dword [ebp - 0x19c8]
call fcn.1017c180
fstp dword [ebp - 0x19cc]
movss xmm0, dword [ebp - 0x19cc]
comiss xmm0, dword [0x1019e180]
jbe 0x1016f1a8
mov ecx, dword [ebp - 0x18b0]
call fcn.101625c0
mov dword [ebp - 0x19d0], eax
mov ecx, dword [ebp - 0x19d0]
mov edx, dword [ecx]
and edx, 1
je 0x1016f1a8
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19d4], eax
mov eax, dword [ebp - 0x19d4]
add eax, 0x38
mov dword [ebp - 0x18f8], eax
mov ecx, dword [ebp - 0x18f8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x18f8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18b4]
call fcn.10003ac0
mov dword [ebp - 0x19d8], eax
mov ecx, dword [ebp - 0x19d8]
add ecx, 0x20
mov dword [ebp - 0x18fc], ecx
mov edx, dword [ebp - 0x18fc]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x18fc]
mov dword [ecx], eax
mov edx, dword [0x1020b414]
movzx eax, byte [edx]
test eax, eax
je 0x1016f284
push 0xff
push 0x66
push 0x8f
push 0xff
lea ecx, [ebp - 0x1a70]
call fcn.10036a70
mov dword [ebp - 0x19dc], eax
mov ecx, dword [ebp - 0x19dc]
mov edx, dword [ecx]
mov dword [ebp - 0x19e0], edx
xor eax, eax
mov byte [ebp - 0x18b7], al
xor ecx, ecx
mov byte [ebp - 0x18b8], cl
xor edx, edx
mov byte [ebp - 0x18b9], dl
mov eax, dword [ebp - 0x19e0]
push eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1a74], esp
movzx ecx, byte [ebp - 0x18b7]
push ecx
movzx edx, byte [ebp - 0x18b8]
push edx
movzx eax, byte [ebp - 0x18b9]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.100afbf0
add esp, 0x10
mov ecx, eax
call fcn.100aff60
push eax
mov ecx, esi
call fcn.10003ec0
lea ecx, [ebp - 0x1a3c]
call fcn.1016df20
jmp 0x1016f3f2
movss xmm0, dword [ebp - 0x19e4]
comiss xmm0, dword [ebp - 0x19e8]
jbe 0x1016f34c
mov edx, dword [0x1020b414]
movzx eax, byte [edx]
test eax, eax
je 0x1016f347
push 0xff
push 0xff
push 0xb8
push 0x66
lea ecx, [ebp - 0x1a78]
call fcn.10036a70
mov dword [ebp - 0x19ec], eax
mov ecx, dword [ebp - 0x19ec]
mov edx, dword [ecx]
mov dword [ebp - 0x19f0], edx
xor eax, eax
mov byte [ebp - 0x18ba], al
xor ecx, ecx
mov byte [ebp - 0x18bb], cl
xor edx, edx
mov byte [ebp - 0x18bc], dl
mov eax, dword [ebp - 0x19f0]
push eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1a7c], esp
movzx ecx, byte [ebp - 0x18ba]
push ecx
movzx edx, byte [ebp - 0x18bb]
push edx
movzx eax, byte [ebp - 0x18bc]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.100afc00
add esp, 0x10
mov ecx, eax
call fcn.100aff60
push eax
mov ecx, esi
call fcn.10003ec0
lea ecx, [ebp - 0x1a3c]
call fcn.1016df20
jmp 0x1016f3f2
mov edx, dword [0x1020b414]
movzx eax, byte [edx]
test eax, eax
je 0x1016f3f2
push 0xff
push 0
push 4
push 0xff
lea ecx, [ebp - 0x1a80]
call fcn.10036a70
mov dword [ebp - 0x19f4], eax
mov ecx, dword [ebp - 0x19f4]
mov edx, dword [ecx]
mov dword [ebp - 0x19f8], edx
xor eax, eax
mov byte [ebp - 0x18bd], al
xor ecx, ecx
mov byte [ebp - 0x18be], cl
xor edx, edx
mov byte [ebp - 0x18bf], dl
mov eax, dword [ebp - 0x19f8]
push eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1a84], esp
movzx ecx, byte [ebp - 0x18bd]
push ecx
movzx edx, byte [ebp - 0x18be]
push edx
movzx eax, byte [ebp - 0x18bf]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.100afc10
add esp, 0x10
mov ecx, eax
call fcn.100aff60
push eax
mov ecx, esi
call fcn.10003ec0
lea ecx, [ebp - 0x1a3c]
call fcn.1016df20
jmp 0x1016f52a
mov byte [ebp - 0x18c0], 0
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0xc
mov dword [ebp - 0x19fc], eax
lea edx, [ebp - 0x18c4]
push edx
mov ecx, dword [ebp - 0x19fc]
call fcn.10009700
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0xc
mov dword [ebp - 0x1a00], eax
lea eax, [ebp - 0x18c8]
push eax
mov ecx, dword [ebp - 0x1a00]
call fcn.10009740
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0xc
mov dword [ebp - 0x1a04], eax
lea ecx, [ebp - 0x1a88]
push ecx
mov ecx, dword [ebp - 0x1a04]
call fcn.10009700
push eax
lea ecx, [ebp - 0x18c8]
call fcn.100096a0
movzx edx, al
test edx, edx
je 0x1016f50a
mov byte [ebp - 0x18c0], 1
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0xc
mov dword [ebp - 0x1a08], eax
lea eax, [ebp - 0x1ac0]
push eax
mov ecx, dword [ebp - 0x1a08]
call fcn.10009700
push eax
lea ecx, [ebp - 0x18c4]
call fcn.100097d0
movzx ecx, al
test ecx, ecx
jne 0x1016f4e5
lea ecx, [ebp - 0x18c4]
call fcn.10004070
mov esi, eax
lea ecx, [ebp - 0x18c8]
call fcn.10004070
mov edx, dword [eax]
cmp edx, dword [esi]
jle 0x1016f4f1
mov eax, dword [ebp - 0x18c8]
mov dword [ebp - 0x18c4], eax
push 0
lea ecx, [ebp - 0x1a90]
push ecx
lea ecx, [ebp - 0x18c8]
call fcn.100b01b0
jmp 0x1016f44a
lea ecx, [ebp - 0x18c4]
call fcn.10004070
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
mov ecx, eax
call fcn.100b07b0
mov eax, dword [ebp - 0x18a8]
mov dword [ebp - 0x1a0c], eax
sub esp, 0xc
mov esi, esp
mov dword [ebp - 0x1a94], esp
lea ecx, [ebp - 0x18a4]
call fcn.10004070
add eax, 0x18
push eax
mov ecx, esi
call fcn.10006dc0
lea ecx, [ebp - 0x1ae4]
push ecx
mov ecx, dword [ebp - 0x1a0c]
call fcn.100b0810
mov edx, dword [ebp - 0x18a8]
add edx, 0x14
mov dword [ebp - 0x1a14], edx
mov eax, dword [ebp - 0x18a4]
mov dword [ebp - 0x1a10], eax
mov ecx, dword [ebp - 0x1a10]
push ecx
lea edx, [ebp - 0x1a98]
push edx
mov ecx, dword [ebp - 0x1a14]
call fcn.100b0670
mov eax, dword [eax]
mov dword [ebp - 0x18a4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a48]
call fcn.100b0570
jmp 0x1016e686
jmp 0x1016f5cd
mov dword [ebp - 4], 0xffffffff
jmp 0x1016f5e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.100bc578
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret