Function at 0x1016f810
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 0x1018857c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x39c
mov eax, dword [0x101ac080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0xe4]
call fcn.10004920
movzx eax, al
test eax, eax
je 0x1016f86d
jmp 0x101708bf
mov ecx, 0x10213bc0
call fcn.10003ac0
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x148]
mov eax, dword [edx + 0x138]
call eax
push eax
lea ecx, [ebp - 0x254]
call fcn.10006570
lea ecx, [ebp - 0x254]
call fcn.10006590
movzx ecx, al
test ecx, ecx
jne 0x1016f8c1
mov ecx, dword [ebp - 0xe4]
call fcn.100b07f0
jmp 0x101708bf
call fcn.10163050
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x1016f8e7
mov ecx, dword [ebp - 0xf0]
call fcn.101621c0
movzx edx, al
test edx, edx
je 0x1016f8f7
mov ecx, dword [ebp - 0xe4]
call fcn.100b07f0
jmp 0x101708bf
mov ecx, dword [ebp - 0xf0]
call fcn.10132de0
mov ecx, eax
call fcn.10006100
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jne 0x1016f928
mov ecx, dword [ebp - 0xe4]
call fcn.100b07f0
jmp 0x101708bf
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x14c]
call fcn.1017d400
lea ecx, [ebp - 0x164]
call fcn.10006590
movzx ecx, al
test ecx, ecx
jne 0x1016f95c
mov ecx, dword [ebp - 0xe4]
call fcn.100b07f0
jmp 0x101708bf
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x258], edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.10006d50
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x25c], ecx
lea edx, [ebp - 0x2ac]
push edx
mov ecx, dword [ebp - 0x25c]
call fcn.1001bda0
push eax
lea ecx, [ebp - 0x20c]
call fcn.1001b9a0
movzx eax, al
test eax, eax
je 0x1016fa53
lea ecx, [ebp - 0x20c]
call fcn.100b07b0
mov esi, eax
mov ecx, 0x10213b58
call fcn.10003ac0
movss xmm0, dword [esi + 0x18ac]
subss xmm0, dword [eax]
push ecx
movss dword [esp], xmm0
call fcn.10008d80
add esp, 4
fstp dword [ebp - 0x260]
movss xmm0, dword [ebp - 0x260]
comiss xmm0, dword [0x1019e2c8]
jb 0x1016fa3a
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x264], ecx
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x2a0], esp
lea edx, [ebp - 0x20c]
push edx
call fcn.10006dc0
lea eax, [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0x264]
call fcn.100b0810
push eax
lea ecx, [ebp - 0x20c]
call fcn.100afb30
jmp 0x1016fa4e
push 0
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x20c]
call fcn.100b0770
jmp 0x1016f97a
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x268], edx
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.1001bda0
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0x78a2d0fe
ja 0x1016faa7
cmp dword [ebp - 0x120], 0x78a2d0fe
je 0x1017005a
cmp dword [ebp - 0x120], 0x1b30ddf0
je 0x1016fadc
jmp 0x101708b5
cmp dword [ebp - 0x120], 0x8b8fcce8
je 0x1016fde4
cmp dword [ebp - 0x120], 0xa6abe875
je 0x101704fd
cmp dword [ebp - 0x120], 0xafcd8f60
je 0x1017071c
jmp 0x101708b5
mov ecx, dword [ebp - 0xe4]
add ecx, 0x14
call fcn.1001a690
movzx edx, al
test edx, edx
jne 0x1016fba9
mov ecx, 0x10213bc0
call fcn.10003ac0
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x278], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x270], edx
xor eax, eax
mov byte [ebp - 0x106], al
xor ecx, ecx
mov byte [ebp - 0x107], cl
xor edx, edx
mov byte [ebp - 0x108], dl
movzx eax, byte [ebp - 0x106]
push eax
movzx ecx, byte [ebp - 0x107]
push ecx
movzx edx, byte [ebp - 0x108]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.100afc20
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x26c], eax
push 0
mov ecx, dword [ebp - 0x26c]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov edx, dword [ebp - 0x274]
push edx
mov ecx, dword [ebp - 0x150]
call dword [ebp - 0x278]
mov esi, eax
mov ecx, dword [ebp - 0xf0]
call fcn.10132e00
cmp esi, eax
je 0x1016fbae
jmp 0x101708bf
mov ecx, 0x10213bc0
call fcn.10003ac0
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x170], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x280], edx
xor eax, eax
mov byte [ebp - 0x109], al
xor ecx, ecx
mov byte [ebp - 0x111], cl
xor edx, edx
mov byte [ebp - 0x112], dl
movzx eax, byte [ebp - 0x109]
push eax
movzx ecx, byte [ebp - 0x111]
push ecx
movzx edx, byte [ebp - 0x112]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.100afc30
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x27c], eax
push 0
mov ecx, dword [ebp - 0x27c]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x280]
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
push edx
mov ecx, dword [ebp - 0x154]
call dword [ebp - 0x170]
push eax
call fcn.10162ff0
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x1016fca2
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0xf0]
je 0x1016fca2
mov ecx, dword [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.10162fa0
movzx edx, al
test edx, edx
jne 0x1016fca2
mov ecx, dword [ebp - 0x110]
call fcn.10132e30
movzx eax, al
test eax, eax
je 0x1016fca7
jmp 0x101708bf
mov ecx, dword [ebp - 0xe4]
add ecx, 0x14
call fcn.100b0590
add eax, 0xc
mov ecx, eax
call fcn.100afc40
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x110]
mov eax, dword [edx + 0x64]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x110]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x178], edx
xor eax, eax
mov byte [ebp - 0x113], al
xor ecx, ecx
mov byte [ebp - 0x115], cl
xor edx, edx
mov byte [ebp - 0x116], dl
movzx eax, byte [ebp - 0x113]
push eax
movzx ecx, byte [ebp - 0x115]
push ecx
movzx edx, byte [ebp - 0x116]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.100afc60
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x174], eax
push 0
mov ecx, dword [ebp - 0x174]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x178]
mov edx, dword [ebp - 0x128]
mov dword [edx], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x180], edx
xor eax, eax
mov byte [ebp - 0x105], al
xor ecx, ecx
mov byte [ebp - 0x117], cl
xor edx, edx
mov byte [ebp - 0x118], dl
movzx eax, byte [ebp - 0x105]
push eax
movzx ecx, byte [ebp - 0x117]
push ecx
movzx edx, byte [ebp - 0x118]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.100afc70
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x17c], eax
push 0
mov ecx, dword [ebp - 0x17c]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x180]
mov edx, dword [ebp - 0x128]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x110]
call fcn.10132e00
mov ecx, dword [ebp - 0xe4]
mov byte [ecx + eax + 0x20], 0
jmp 0x101708b5
mov ecx, dword [ebp - 0xe4]
add ecx, 0x14
call fcn.1001a690
movzx edx, al
test edx, edx
jne 0x1016feb1
mov ecx, 0x10213bc0
call fcn.10003ac0
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x190], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x188], edx
xor eax, eax
mov byte [ebp - 0x119], al
xor ecx, ecx
mov byte [ebp - 0x11a], cl
xor edx, edx
mov byte [ebp - 0x11b], dl
movzx eax, byte [ebp - 0x119]
push eax
movzx ecx, byte [ebp - 0x11a]
push ecx
movzx edx, byte [ebp - 0x11b]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.100afc30
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x184], eax
push 0
mov ecx, dword [ebp - 0x184]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
push edx
mov ecx, dword [ebp - 0x158]
call dword [ebp - 0x190]
mov esi, eax
mov ecx, dword [ebp - 0xf0]
call fcn.10132e00
cmp esi, eax
je 0x1016feb6
jmp 0x101708bf
mov ecx, dword [ebp - 0xe4]
add ecx, 0x14
call fcn.100b0590
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x198], edx
xor eax, eax
mov byte [ebp - 0x11c], al
xor ecx, ecx
mov byte [ebp - 0xf1], cl
xor edx, edx
mov byte [ebp - 0xf2], dl
movzx eax, byte [ebp - 0x11c]
push eax
movzx ecx, byte [ebp - 0xf1]
push ecx
movzx edx, byte [ebp - 0xf2]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.100afca0
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x194], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x194]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x198]
fstp dword [ebp - 0x1ac]
mov edx, dword [ebx + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x1a0], ecx
xor edx, edx
mov byte [ebp - 0xf3], dl
xor eax, eax
mov byte [ebp - 0xf4], al
xor ecx, ecx
mov byte [ebp - 0xf5], cl
movzx edx, byte [ebp - 0xf3]
push edx
movzx eax, byte [ebp - 0xf4]
push eax
movzx ecx, byte [ebp - 0xf5]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.100afc90
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x19c], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebx + 8]
call dword [ebp - 0x1a0]
fstp dword [ebp - 0x1b0]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x1a8], eax
xor ecx, ecx
mov byte [ebp - 0xf6], cl
xor edx, edx
mov byte [ebp - 0xf7], dl
xor eax, eax
mov byte [ebp - 0xf8], al
movzx ecx, byte [ebp - 0xf6]
push ecx
movzx edx, byte [ebp - 0xf7]
push edx
movzx eax, byte [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.100afc80
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x1a4], eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov edx, dword [ebp - 0x1a4]
push edx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x1a8]
fstp dword [ebp - 0x1b4]
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
lea edx, [ebp - 0x1b4]
push edx
mov ecx, dword [ebp - 0x1b8]
call fcn.100afcb0
jmp 0x101708b5
mov ecx, 0x10213bc0
call fcn.10003ac0
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x1c0], edx
xor eax, eax
mov byte [ebp - 0xf9], al
xor ecx, ecx
mov byte [ebp - 0xfa], cl
xor edx, edx
mov byte [ebp - 0xfb], dl
movzx eax, byte [ebp - 0xf9]
push eax
movzx ecx, byte [ebp - 0xfa]
push ecx
movzx edx, byte [ebp - 0xfb]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.100afc30
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x1bc], eax
push 0
mov ecx, dword [ebp - 0x1bc]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
push edx
mov ecx, dword [ebp - 0x15c]
call dword [ebp - 0x1c8]
mov esi, eax
mov ecx, dword [ebp - 0xf0]
call fcn.10132e00
cmp esi, eax
je 0x10170116
jmp 0x101708bf
mov ecx, 0x10213bc0
call fcn.10003ac0
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x1d0], edx
xor eax, eax
mov byte [ebp - 0xfc], al
xor ecx, ecx
mov byte [ebp - 0xfd], cl
xor edx, edx
mov byte [ebp - 0xfe], dl
movzx eax, byte [ebp - 0xfc]
push eax
movzx ecx, byte [ebp - 0xfd]
push ecx
movzx edx, byte [ebp - 0xfe]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.100afc30
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x1cc], eax
push 0
mov ecx, dword [ebp - 0x1cc]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1d4]
push edx
mov ecx, dword [ebp - 0x160]
call dword [ebp - 0x1d8]
push eax
call fcn.10162ff0
add esp, 4
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x1017020d
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0xf0]
je 0x1017020d
mov ecx, dword [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.10162fa0
movzx edx, al
test edx, edx
jne 0x1017020d
mov ecx, dword [ebp - 0x12c]
call fcn.10132e30
movzx eax, al
test eax, eax
je 0x10170212
jmp 0x101708bf
mov ecx, dword [ebp - 0xe4]
add ecx, 0x14
call fcn.100b05c0
mov esi, eax
lea ecx, [ebp - 0x164]
call fcn.10003ac0
mov ecx, eax
mov eax, esi
xor edx, edx
div dword [ecx + 0xf4]
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0xe4]
call fcn.100069c0
cmp dword [ebp - 0x168], eax
je 0x101702c4
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x1dc], edx
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp - 0x1dc]
call fcn.10006d50
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x168]
push ecx
lea edx, [ebp - 0x2dc]
push edx
mov ecx, dword [ebp - 0x1e0]
call fcn.10006a00
push eax
lea ecx, [ebp - 0x28c]
call fcn.100afb30
mov ecx, dword [ebp - 0xe4]
add ecx, 0x14
call fcn.100afd10
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x1e4]
add ecx, 0x18
call fcn.100afb30
lea ecx, [ebp - 0x28c]
call fcn.100b07b0
mov ecx, dword [eax]
mov edx, dword [ebp - 0xe4]
movzx eax, byte [edx + ecx + 0x20]
test eax, eax
je 0x101704f8
push 1
lea ecx, [ebp - 0x3a0]
call fcn.1001fb00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x390]
push str.Missed_shot_due_to
push ecx
call fcn.10015280
add esp, 8
mov edx, dword [ebp - 0xe4]
add edx, 0x60
push edx
push eax
call fcn.10020740
add esp, 8
lea eax, [ebp - 0x290]
push eax
call fcn.10145060
add esp, 4
mov ecx, eax
call fcn.10003ac0
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1e8], eax
xor ecx, ecx
mov byte [ebp - 0xff], cl
xor edx, edx
mov byte [ebp - 0x100], dl
xor eax, eax
mov byte [ebp - 0x101], al
mov ecx, dword [0x1020b414]
mov dl, byte [ecx]
mov byte [ebp - 0x102], dl
push 0xff
push 0x80
push 0x80
push 0xff
lea ecx, [ebp - 0x2ec]
call fcn.1008c8b0
mov ecx, dword [eax]
mov dword [ebp - 0x220], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x21c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x218], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x244], edx
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x294], esp
movzx eax, byte [ebp - 0xff]
push eax
movzx ecx, byte [ebp - 0x100]
push ecx
movzx edx, byte [ebp - 0x101]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.100afd30
add esp, 0x10
mov ecx, eax
call fcn.100aff60
push eax
mov ecx, esi
call fcn.10003ec0
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 1
movzx ecx, byte [ebp - 0x102]
push ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x250]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x248]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x244]
mov dword [edx + 0xc], ecx
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x29c], esp
push edx
lea ecx, [ebp - 0x3a0]
call fcn.1001fa60
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x130]
call dword [ebp - 0x1e8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3a0]
call fcn.1001f160
jmp 0x101708b5
mov ecx, 0x10213bc0
call fcn.10003ac0
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x1f0], edx
xor eax, eax
mov byte [ebp - 0x103], al
xor ecx, ecx
mov byte [ebp - 0x104], cl
xor edx, edx
mov byte [ebp - 0x114], dl
movzx eax, byte [ebp - 0x103]
push eax
movzx ecx, byte [ebp - 0x104]
push ecx
movzx edx, byte [ebp - 0x114]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.100afc30
add esp, 0x10
mov ecx, eax
call fcn.100aff60
mov dword [ebp - 0x1ec], eax
push 0
mov ecx, dword [ebp - 0x1ec]
push ecx
mov ecx, dword [ebx + 8]
call dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
push edx
mov ecx, dword [ebp - 0x134]
call dword [ebp - 0x1f8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
push eax
call fcn.10162ff0
add esp, 4
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x101705d2
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [ebp - 0xf0]
jne 0x101705d7
jmp 0x101708bf
call fcn.10156d60
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x13c]
push edx
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x140]
call dword [ebp - 0x1fc]
lea ecx, [ebp - 0xec]
call fcn.10006590
movzx ecx, al
test ecx, ecx
je 0x10170717
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x20], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x38], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x34], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x3c], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x4c], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x58], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x44], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x54], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x2c], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x24], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x28], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x48], 0
lea ecx, [ebp - 0xec]
call fcn.10003ac0
mov dword [eax + 0x30], 0
mov dword [0x10210bb0], 0
jmp 0x101708b5
mov dword [ebp - 0x124], 1
jmp 0x10170737
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x124], edx
mov ecx, 0x10213b58
call fcn.10003ac0
mov ecx, dword [ebp - 0x124]
cmp ecx, dword [eax + 0x18]
jge 0x101708b5
call fcn.10156d60
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x124]
push edx
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x144]
call dword [ebp - 0x200]
imul ecx, dword [ebp - 0x124], 0x21c
mov byte [ecx + 0x101ffa10], 0
lea ecx, [ebp - 0xe8]
call fcn.10006590
movzx edx, al
test edx, edx
je 0x101708b0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x20], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x38], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x34], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x3c], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x4c], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x58], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x2c], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x24], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x44], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x28], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x54], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x30], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov dword [eax + 0x48], 0
lea ecx, [ebp - 0xe8]
call fcn.10003ac0
mov byte [eax + 0x60], 1
mov dword [0x10210bb0], 0
jmp 0x10170728
mov eax, dword [ebp - 0xe4]
mov byte [eax + 0x78], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bc578
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8