Function at 0x10187ae0
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 0x10187b1b
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 0x10187b1b
mov dword [ebp - 0x28], 1
jmp 0x10187b22
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 0x10187b5d
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 0x10187b5d
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 0x10187b68
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 0x10187bc8
mov dword [ebp - 0x40], 1
jmp 0x10187bcf
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 0x10187d22
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x10187d22
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 0x10187c8a
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x10187c6a
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 0x10187c36
xor edx, edx
jne 0x10187bfc
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 0x10187d1a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10187cfa
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 0x10187cc6
xor ecx, ecx
jne 0x10187c92
cmp dword [ebp + 0xc], 4
jne 0x10187d31
mov dword [ebp - 0x38], 1
jmp 0x10187d38
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 0x10187dc5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10187da5
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 0x10187d71
xor ecx, ecx
jne 0x10187d22
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 0x10187e27
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x40000
jne 0x10187e0d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0x30
jb 0x10187e0d
mov dword [ebp - 0x48], 0
jmp 0x10187e14
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10188730
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0
jne 0x10187e52
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x10188163
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 0x10188163
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 0x10188163
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 0x10187f13
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10187ef3
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 0x10187ebf
xor ecx, ecx
jne 0x10187e85
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x10187fc5
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 0x10187fbd
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x10187f9d
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 0x10187f69
xor edx, edx
jne 0x10187f28
mov dword [ebp - 8], 2
jmp 0x10187fe9
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 0x10188096
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 0x10188089
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10188069
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 0x10188035
xor ecx, ecx
jne 0x10187ff3
jmp 0x10187fce
mov dword [ebp - 8], 0
jmp 0x101880a8
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 0x10188161
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 0x10188154
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10188134
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 0x10188100
xor ecx, ecx
jne 0x101880b7
jmp 0x1018809f
jmp 0x10188192
cmp dword [ebp - 0x34], 0
jne 0x10188192
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.10188730
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x1018854c
cmp dword [ebp + 0xc], 4
jne 0x1018832b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x1018824a
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 0x10188242
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10188222
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 0x101881ee
xor ecx, ecx
jne 0x101881b3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x1000
je 0x10188326
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0
jmp 0x10188276
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jae 0x10188326
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 0x10188310
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x101882f0
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 0x101882bc
xor edx, edx
jne 0x10188280
mov eax, dword [ebp - 0x20]
shl eax, 8
mov dword [ebp - 0x20], eax
jmp 0x1018826d
jmp 0x1018854c
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 0x101883c6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x101883a6
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 0x10188372
xor ecx, ecx
jne 0x10188332
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x1018847e
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 0x10188476
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x10188456
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 0x10188422
xor edx, edx
jne 0x101883db
mov dword [ebp - 0x14], 2
jmp 0x1018849c
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 0x1018854c
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 0x1018853f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1018851f
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 0x101884eb
xor ecx, ecx
jne 0x101884a6
jmp 0x10188487
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.10074ba0
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.10074ba0
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 0x10188717
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1018865e
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 0x10188659
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x1018871d
jmp 0x10188717
mov edx, dword [ebp + 8]
add edx, 0x39272
cmp dword [ebp - 0x24], edx
jne 0x10188702
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 0x1018868e
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x4c], ecx
jmp 0x101886a2
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.10070c70
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 0x10188700
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 0x10188717
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