Function at 0x1016ab30
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 0x1016ab6b
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 0x1016ab6b
mov dword [ebp - 0x28], 1
jmp 0x1016ab72
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 0x1016abad
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 0x1016abad
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 0x1016abb8
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 0x1016ac18
mov dword [ebp - 0x40], 1
jmp 0x1016ac1f
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 0x1016ad72
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x1016ad72
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 0x1016acda
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016acba
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 0x1016ac86
xor edx, edx
jne 0x1016ac4c
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 0x1016ad6a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016ad4a
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 0x1016ad16
xor ecx, ecx
jne 0x1016ace2
cmp dword [ebp + 0xc], 4
jne 0x1016ad81
mov dword [ebp - 0x38], 1
jmp 0x1016ad88
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 0x1016ae15
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016adf5
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 0x1016adc1
xor ecx, ecx
jne 0x1016ad72
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 0x1016ae77
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x40000
jne 0x1016ae5d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0x30
jb 0x1016ae5d
mov dword [ebp - 0x48], 0
jmp 0x1016ae64
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1016b780
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0
jne 0x1016aea2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x1016b1b3
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 0x1016b1b3
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 0x1016b1b3
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 0x1016af63
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016af43
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 0x1016af0f
xor ecx, ecx
jne 0x1016aed5
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x1016b015
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 0x1016b00d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016afed
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 0x1016afb9
xor edx, edx
jne 0x1016af78
mov dword [ebp - 8], 2
jmp 0x1016b039
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 0x1016b0e6
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 0x1016b0d9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016b0b9
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 0x1016b085
xor ecx, ecx
jne 0x1016b043
jmp 0x1016b01e
mov dword [ebp - 8], 0
jmp 0x1016b0f8
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 0x1016b1b1
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 0x1016b1a4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016b184
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 0x1016b150
xor ecx, ecx
jne 0x1016b107
jmp 0x1016b0ef
jmp 0x1016b1e2
cmp dword [ebp - 0x34], 0
jne 0x1016b1e2
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.1016b780
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x1016b59c
cmp dword [ebp + 0xc], 4
jne 0x1016b37b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x1016b29a
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 0x1016b292
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016b272
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 0x1016b23e
xor ecx, ecx
jne 0x1016b203
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x1000
je 0x1016b376
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0
jmp 0x1016b2c6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jae 0x1016b376
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 0x1016b360
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016b340
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 0x1016b30c
xor edx, edx
jne 0x1016b2d0
mov eax, dword [ebp - 0x20]
shl eax, 8
mov dword [ebp - 0x20], eax
jmp 0x1016b2bd
jmp 0x1016b59c
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 0x1016b416
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016b3f6
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 0x1016b3c2
xor ecx, ecx
jne 0x1016b382
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x1016b4ce
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 0x1016b4c6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x1016b4a6
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 0x1016b472
xor edx, edx
jne 0x1016b42b
mov dword [ebp - 0x14], 2
jmp 0x1016b4ec
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 0x1016b59c
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 0x1016b58f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1016b56f
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 0x1016b53b
xor ecx, ecx
jne 0x1016b4f6
jmp 0x1016b4d7
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.1006b210
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.1006b210
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 0x1016b767
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1016b6ae
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 0x1016b6a9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x1016b76d
jmp 0x1016b767
mov edx, dword [ebp + 8]
add edx, 0x39272
cmp dword [ebp - 0x24], edx
jne 0x1016b752
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 0x1016b6de
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x4c], ecx
jmp 0x1016b6f2
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.100672e0
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 0x1016b750
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 0x1016b767
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