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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
and ecx, 0x80000
je 0x1016e37b
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
sub ecx, dword [eax + 0x40]
mov edx, dword [ebp + 8]
cmp ecx, dword [edx + 0x24]
ja 0x1016e37b
mov dword [ebp - 0x28], 1
jmp 0x1016e382
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x1016e3bd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
sub edx, dword [ecx + 0x8c]
cmp edx, 0x14ccc
jb 0x1016e3bd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x8c]
mov dword [ebp - 0x30], ecx
jmp 0x1016e3c8
mov eax, dword [ebp + 8]
add eax, 0x39272
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 0x14cbc
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
movzx edx, byte [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
sar edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
mov byte [eax], dl
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x38], 8
jne 0x1016e428
mov dword [ebp - 0x40], 1
jmp 0x1016e42f
mov dword [ebp - 0x40], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x1000
je 0x1016e582
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x1016e582
mov dword [ebp - 0x98], 0x78
mov dword [ebp - 0x58], 8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x98]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x1016e4ea
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016e4ca
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x1016e496
xor edx, edx
jne 0x1016e45c
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x60], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016e57a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016e55a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016e526
xor ecx, ecx
jne 0x1016e4f2
cmp dword [ebp + 0xc], 4
jne 0x1016e591
mov dword [ebp - 0x38], 1
jmp 0x1016e598
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x68], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x88]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016e625
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016e605
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016e5d1
xor ecx, ecx
jne 0x1016e582
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x2c], 0
jne 0x1016e687
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x40000
jne 0x1016e66d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0x30
jb 0x1016e66d
mov dword [ebp - 0x48], 0
jmp 0x1016e674
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1016ef90
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0
jne 0x1016e6b2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x1016e9c3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
sub eax, dword [ebp - 0x18]
add eax, 1
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x3c]
jb 0x1016e9c3
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
sub ecx, dword [eax + 0x40]
mov edx, dword [ebp + 8]
cmp ecx, dword [edx + 0x24]
ja 0x1016e9c3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x48], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x44], edx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x70], 2
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x70]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016e773
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016e753
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016e71f
xor ecx, ecx
jne 0x1016e6e5
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x1016e825
mov dword [ebp - 0x90], 0
mov eax, dword [ebp + 8]
mov ecx, 8
sub ecx, dword [eax + 0x44]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x90]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x1016e81d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016e7fd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x1016e7c9
xor edx, edx
jne 0x1016e788
mov dword [ebp - 8], 2
jmp 0x1016e849
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
xor edx, 0xffff
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], edx
cmp dword [ebp - 8], 0
je 0x1016e8f6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
and edx, 0xffff
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x80], 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016e8e9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016e8c9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016e895
xor ecx, ecx
jne 0x1016e853
jmp 0x1016e82e
mov dword [ebp - 8], 0
jmp 0x1016e908
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x3c]
jae 0x1016e9c1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
add eax, dword [ebp - 8]
and eax, 0x7fff
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax + 0x90]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x5c], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x54]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016e9b4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016e994
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016e960
xor ecx, ecx
jne 0x1016e917
jmp 0x1016e8ff
jmp 0x1016e9f2
cmp dword [ebp - 0x34], 0
jne 0x1016e9f2
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x44], ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.1016ef90
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x1016edac
cmp dword [ebp + 0xc], 4
jne 0x1016eb8b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x1016eaaa
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 8]
mov edx, 8
sub edx, dword [ecx + 0x44]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016eaa2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016ea82
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016ea4e
xor ecx, ecx
jne 0x1016ea13
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x1000
je 0x1016eb86
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0
jmp 0x1016ead6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jae 0x1016eb86
mov ecx, dword [ebp - 0x20]
shr ecx, 0x18
and ecx, 0xff
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], 8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x74]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x1016eb70
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016eb50
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x1016eb1c
xor edx, edx
jne 0x1016eae0
mov eax, dword [ebp - 0x20]
shl eax, 8
mov dword [ebp - 0x20], eax
jmp 0x1016eacd
jmp 0x1016edac
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x8c], 3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0x8c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016ec26
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016ec06
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016ebd2
xor ecx, ecx
jne 0x1016eb92
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x1016ecde
mov dword [ebp - 0x94], 0
mov eax, dword [ebp + 8]
mov ecx, 8
sub ecx, dword [eax + 0x44]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x94]
mov ecx, dword [edx + 0x44]
shl eax, cl
mov ecx, dword [ebp + 8]
or eax, dword [ecx + 0x48]
mov edx, dword [ebp + 8]
mov dword [edx + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x9c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 8
jb 0x1016ecd6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016ecb6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x48]
mov byte [edx], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
shr eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
sub eax, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
jmp 0x1016ec82
xor edx, edx
jne 0x1016ec3b
mov dword [ebp - 0x14], 2
jmp 0x1016ecfc
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, 0xffff
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x14], 0
je 0x1016edac
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xac], 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x44]
shl edx, cl
mov eax, dword [ebp + 8]
or edx, dword [eax + 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, dword [ebp - 0xac]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 8
jb 0x1016ed9f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016ed7f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x48]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x48]
shr edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
sub edx, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], edx
jmp 0x1016ed4b
xor ecx, ecx
jne 0x1016ed06
jmp 0x1016ece7
push 0x240
push 0
mov edx, 0x240
imul edx, edx, 0
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x8192]
mov edx, 2
imul edx, edx, 0
add ecx, edx
push ecx
call fcn.1006c220
add esp, 0xc
push 0x40
push 0
mov eax, 0x240
shl eax, 0
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x8192]
mov eax, 2
imul eax, eax, 0
add edx, eax
push edx
call fcn.1006c220
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x9273
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp + 8]
add eax, 0x9272
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x3c]
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
je 0x1016ef77
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1016eebe
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x84]
sub ecx, dword [eax + 0x70]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x39272
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
call eax
add esp, 0xc
test eax, eax
jne 0x1016eeb9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x1016ef7d
jmp 0x1016ef77
mov edx, dword [ebp + 8]
add edx, 0x39272
cmp dword [ebp - 0x24], edx
jne 0x1016ef62
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
sub eax, dword [edx + 0x8c]
cmp dword [ebp - 4], eax
jae 0x1016eeee
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x4c], ecx
jmp 0x1016ef02
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
sub edx, dword [ecx + 0x8c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x39272
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x8c]
push ecx
call fcn.100682f0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8c]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
je 0x1016ef60
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x5c], ecx
jmp 0x1016ef77
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
mov esp, ebp
pop ebp
ret