Function at 0x10187a10
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 0x10187a4b
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 0x10187a4b
mov dword [ebp - 0x28], 1
jmp 0x10187a52
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 0x10187a8d
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 0x10187a8d
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 0x10187a98
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 0x10187af8
mov dword [ebp - 0x40], 1
jmp 0x10187aff
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 0x10187c52
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x64], 0
jne 0x10187c52
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 0x10187bba
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x10187b9a
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 0x10187b66
xor edx, edx
jne 0x10187b2c
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 0x10187c4a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10187c2a
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 0x10187bf6
xor ecx, ecx
jne 0x10187bc2
cmp dword [ebp + 0xc], 4
jne 0x10187c61
mov dword [ebp - 0x38], 1
jmp 0x10187c68
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 0x10187cf5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10187cd5
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 0x10187ca1
xor ecx, ecx
jne 0x10187c52
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 0x10187d57
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x40000
jne 0x10187d3d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0x30
jb 0x10187d3d
mov dword [ebp - 0x48], 0
jmp 0x10187d44
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10188660
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0
jne 0x10187d82
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x10188093
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 0x10188093
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 0x10188093
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 0x10187e43
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10187e23
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 0x10187def
xor ecx, ecx
jne 0x10187db5
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x10187ef5
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 0x10187eed
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x10187ecd
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 0x10187e99
xor edx, edx
jne 0x10187e58
mov dword [ebp - 8], 2
jmp 0x10187f19
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 0x10187fc6
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 0x10187fb9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10187f99
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 0x10187f65
xor ecx, ecx
jne 0x10187f23
jmp 0x10187efe
mov dword [ebp - 8], 0
jmp 0x10187fd8
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 0x10188091
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 0x10188084
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10188064
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 0x10188030
xor ecx, ecx
jne 0x10187fe7
jmp 0x10187fcf
jmp 0x101880c2
cmp dword [ebp - 0x34], 0
jne 0x101880c2
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.10188660
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x1018847c
cmp dword [ebp + 0xc], 4
jne 0x1018825b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x1018817a
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 0x10188172
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x10188152
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 0x1018811e
xor ecx, ecx
jne 0x101880e3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0x1000
je 0x10188256
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0
jmp 0x101881a6
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jae 0x10188256
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 0x10188240
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x10188220
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 0x101881ec
xor edx, edx
jne 0x101881b0
mov eax, dword [ebp - 0x20]
shl eax, 8
mov dword [ebp - 0x20], eax
jmp 0x1018819d
jmp 0x1018847c
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 0x101882f6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x101882d6
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 0x101882a2
xor ecx, ecx
jne 0x10188262
mov edx, dword [ebp + 8]
cmp dword [edx + 0x44], 0
je 0x101883ae
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 0x101883a6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x30]
cmp eax, dword [edx + 0x34]
jae 0x10188386
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 0x10188352
xor edx, edx
jne 0x1018830b
mov dword [ebp - 0x14], 2
jmp 0x101883cc
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 0x1018847c
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 0x1018846f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x34]
jae 0x1018844f
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 0x1018841b
xor ecx, ecx
jne 0x101883d6
jmp 0x101883b7
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 0x10188647
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1018858e
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 0x10188589
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6c], 0xffffffff
or eax, 0xffffffff
jmp 0x1018864d
jmp 0x10188647
mov edx, dword [ebp + 8]
add edx, 0x39272
cmp dword [ebp - 0x24], edx
jne 0x10188632
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 0x101885be
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x4c], ecx
jmp 0x101885d2
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 0x10188630
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 0x10188647
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