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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov eax, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
lea ecx, [esi + 0x50]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], ebx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 0x34]
imul ecx, eax, 0x48
mov eax, dword [esi + 4]
add eax, 8
add eax, ecx
lea ecx, [esi + 0x1e8]
mov dword [esp + 0x74], eax
mov eax, dword [eax + 0x2c]
mov edx, eax
mov dword [esp + 0x3c], eax
call fcn.1813a2f9
not eax
not edx
and eax, dword [ebp + 0x14]
and edx, dword [ebp + 0x18]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.18199e90
mov edx, dword [esp + 0x14]
xor ecx, ecx
inc ecx
and eax, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [esp + 0x7c], eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x34], bl
jbe 0x18136e41
mov ecx, dword [esp + 0x74]
test byte [ecx + 0x24], 8
je 0x18136e41
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x10]
inc eax
push ebx
push eax
push ebx
mov dword [edx + 0x2c], eax
push 0x45
pop edx
mov dword [edi], eax
call fcn.180ff616
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, esi
test esi, esi
jle 0x18136e60
imul eax, esi, 0x58
add eax, 0x2f0
add eax, edx
cmp dword [eax], ebx
jne 0x18136e60
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x18136e54
imul eax, ecx, 0x58
mov eax, dword [eax + edx + 0x2fc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
test byte [eax + 0x28], 0x10
je 0x18136eb2
push dword [eax + 0x18]
mov esi, dword [eax + 0x1c]
mov ecx, dword [esp + 0x14]
push ebx
push esi
push 0xd
pop edx
call fcn.180ff616
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x3c]
push esi
push 0xe
pop edx
call fcn.180ff616
add esp, 0xc
mov dword [edi + 0x3c], eax
push 0xb
pop eax
mov byte [edi + 0x35], al
jmp 0x1813825a
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x24]
bt edx, 0xa
jae 0x18137124
movzx eax, word [eax + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea edx, [eax + 2]
call fcn.1811484d
mov ecx, eax
mov eax, dword [edi + 0xc]
mov esi, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], eax
cmp dword [esp + 0x18], ebx
jbe 0x18136f44
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x18136f3d
lea eax, [ecx + 2]
xor ecx, ecx
inc ecx
add eax, esi
test byte [edx + 0xc], cl
je 0x18136f27
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x44]
push esi
push edi
call fcn.18136377
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [esp + 0x38], eax
jmp 0x18136f39
mov edx, dword [edx]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov edx, dword [edx + 0x10]
call fcn.18136a74
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, ebx
jl 0x18136ef0
xor ebx, ebx
mov eax, dword [esp + 0x30]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push dword [eax + 0x18]
push 0x45
pop edx
call fcn.180ff616
mov eax, dword [esp + 0x28]
add esp, 0xc
mov esi, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
push ebx
push eax
push esi
push 0x45
pop edx
call fcn.180ff616
mov ecx, dword [esp + 0x3c]
add esp, 0xc
xor eax, eax
cmp byte [ecx + 0x1c], al
sete al
dec eax
and eax, 0xfffffffa
dec eax
push eax
push dword [ecx + 0x20]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x24]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push 9
pop edx
call fcn.180ff738
mov edx, dword [esp + 0x44]
add esp, 0x14
mov eax, dword [esp + 0x34]
mov byte [edx + 0x1c], bl
cmp byte [eax + 0x51], 0
je 0x18136fbb
mov dword [edx + 0x20], ebx
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2e], 0
sete al
dec al
and al, 0x71
add al, 0x3d
sub esi, 1
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x40]
js 0x1813825a
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x14
add ecx, 2
add ecx, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x30]
mov edx, dword [eax + esi*4]
mov dword [esp + 0x24], edx
mov ax, word [edx + 0xc]
and ax, word [esp + 0x48]
mov word [esp + 0x70], ax
je 0x1813701e
sub dword [esp + 0x18], 0x14
cmp esi, 0x10
jae 0x1813704d
mov eax, dword [esp + 0x30]
mov cx, si
mov ax, word [eax + 0x1e]
shr ax, cl
xor ecx, ecx
inc ecx
test cl, al
je 0x18137044
mov ecx, edi
call fcn.181360f5
jmp 0x18137109
mov ax, word [esp + 0x70]
mov ecx, dword [esp + 0x28]
test ax, ax
je 0x1813710d
mov ecx, dword [edx]
mov ecx, dword [ecx + 0xc]
call fcn.1810f36f
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x18137109
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x51], 0
jne 0x1813709d
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x44]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + eax + 4]
call fcn.180ffe36
push dword [eax + 0xc]
movzx edx, byte [eax]
push dword [eax + 8]
push dword [eax + 4]
call fcn.180ff616
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push 0x35
pop edx
call fcn.1810f956
mov dword [esp + 0x40], eax
pop ecx
pop ecx
test eax, eax
je 0x18137109
mov ecx, dword [esp + 0x24]
mov edx, 0xad
push ebx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
call fcn.1810f8bd
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x181370fb
mov edx, dword [esp + 0x28]
push 0x10
mov dword [ecx + 0x1c], edx
push dword [edi + 0x18]
push eax
push dword [esp + 0x20]
call fcn.181138ef
mov eax, dword [esp + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.1810fc83
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
dec ecx
sub esi, 1
mov dword [esp + 0x28], ecx
jns 0x18136fff
jmp 0x1813825a
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x181371b1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
mov edx, esi
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
push eax
push dword [esp + 0x44]
mov dword [esp + 0x2c], eax
push ebx
push edi
call fcn.18136377
mov edx, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x18], eax
cmp eax, edx
je 0x18137176
mov ecx, dword [esp + 0x14]
call fcn.18114834
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push dword [edi + 0x10]
push dword [esp + 0x44]
push 0x1f
pop edx
call fcn.180ff616
mov byte [edi + 0x35], 0xae
add esp, 0xc
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x1813825a
push 4
pop ecx
or word [esi + 0xa], cx
jmp 0x1813825a
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
jne 0x181373dc
mov dword [esp + 0x44], 0xae
mov ecx, ebx
mov dword [esp + 0x4c], ebx
mov esi, ebx
mov dword [esp + 0x18], ebx
test dl, 0x20
je 0x181371ed
mov eax, dword [esp + 0x30]
push 4
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
pop eax
mov dword [esp + 0x48], eax
jmp 0x181371f1
mov dword [esp + 0x48], ebx
test dl, 0x10
je 0x18137208
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x18137216
mov dword [esp + 0x18], esi
mov esi, ecx
test esi, esi
je 0x181372c2
mov edx, dword [esi]
mov dword [esp + 0x1c], 0x18161719
mov dword [esp + 0x48], edx
mov ecx, dword [edx + 0x10]
call fcn.1810f36f
cmp eax, 1
jle 0x1813726d
mov ecx, dword [esp + 0x14]
call fcn.18114815
mov edx, dword [edx + 0x10]
mov esi, eax
xor eax, eax
mov dword [esp + 0x2c], esi
inc eax
push eax
push esi
call fcn.18136a74
mov edx, dword [esp + 0x50]
xor eax, eax
pop ecx
pop ecx
inc eax
movzx ecx, byte [edx]
inc ecx
and ecx, 2
or ecx, eax
mov al, byte [esp + ecx + 0x1c]
jmp 0x1813729a
lea eax, [esp + 0x24]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.18113269
pop ecx
mov edx, esi
mov dword [esp + 0x2c], eax
mov ecx, edi
call fcn.181360f5
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
movzx ecx, byte [edx]
mov al, byte [esp + ecx - 0x1a]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x3c]
movzx edx, al
push dword [esp + 0x44]
call fcn.180ff616
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, esi
call fcn.18114834
jmp 0x181372e9
mov ecx, dword [esp + 0x10]
mov edx, eax
xor eax, eax
inc eax
push ebx
push dword [esp + 0x28]
xor edx, eax
push dword [esp + 0x44]
lea edx, [edx*4 + 0x21]
call fcn.180ff616
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, dword [esp + 0x18]
test esi, esi
je 0x18137369
mov eax, dword [esi]
xor edx, edx
inc dword [ecx + 0x2c]
inc edx
mov ecx, dword [ecx + 0x2c]
push edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x50], ecx
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.18136a74
mov edx, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [edx + 0x10]
call fcn.1810f36f
cmp eax, 1
jg 0x18137345
mov al, byte [edx]
cmp al, 0x38
je 0x1813732f
cmp al, 0x36
jne 0x18137345
mov eax, dword [esp + 0x40]
xor edx, edx
inc edx
xor eax, edx
lea edx, [eax*2 + 0x37]
mov dword [esp + 0x44], edx
jmp 0x18137354
mov eax, dword [esp + 0x40]
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x44], eax
call fcn.1810f36f
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x18137369
mov edx, esi
mov ecx, edi
call fcn.181360f5
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x40], ebx
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x6c]
sete al
add al, 4
mov dword [edi + 0x38], edx
cmp dword [esp + 0x44], 0xae
mov byte [edi + 0x35], al
mov dword [edi + 0x3c], ecx
je 0x1813825a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edx
mov edx, 0x80
call fcn.180ff616
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0x10]
push esi
push dword [esp + 0x3c]
push dword [esp + 0x54]
call fcn.180ff616
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x53
pop edx
call fcn.180ffb71
jmp 0x1813825a
test edx, 0x200
je 0x18137c44
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x48], ebx
movzx eax, word [ecx + 0x18]
movzx esi, word [ecx + 0x1a]
mov dword [esp + 0x2c], eax
mov eax, esi
mov dword [esp + 0x4c], eax
movzx eax, word [ecx + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x58], eax
movzx eax, cx
mov dword [esp + 0x38], ebx
mov ecx, eax
mov byte [esp + 0x23], bl
mov byte [esp + 0x70], bl
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], eax
test dl, 0x20
je 0x1813745b
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x68], eax
jmp 0x1813745d
mov esi, ebx
test dl, 0x10
je 0x18137526
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x60], eax
movzx eax, word [ecx + 0x1c]
cmp esi, eax
ja 0x18137484
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x60]
mov eax, edx
mov edx, 0x100
mov dword [esp + 0x18], eax
test word [ecx + 0xa], dx
je 0x181374f1
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push ebx
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push eax
mov dword [edi + 0x2c], eax
xor eax, eax
inc eax
push eax
push 0x45
pop edx
call fcn.180ff616
mov eax, dword [esi + 0x6c]
xor edx, edx
shl dword [edi + 0x2c], 1
xor ecx, ecx
mov esi, dword [esp + 0x5c]
inc edx
mov dword [edi + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x1c]
cmp byte [esi + eax], dl
mov eax, dword [esp + 0x30]
sete cl
xor ecx, dword [esp + 0x40]
or dword [edi + 0x2c], ecx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x18], eax
jmp 0x181374f5
mov esi, dword [esp + 0x50]
mov edx, eax
cmp dword [esp + 0x68], ebx
jne 0x18137526
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 4]
movsx esi, word [eax + esi*2]
test esi, esi
js 0x1813751b
mov eax, dword [ecx + 0xc]
imul ecx, esi, 0x14
mov eax, dword [eax + 4]
cmp byte [eax + ecx + 0xc], bl
je 0x18137573
mov eax, dword [esp + 0x18]
mov edx, eax
cmp esi, 0xfffffffe
je 0x18137577
xor ecx, ecx
inc ecx
and edx, 0x80030
cmp edx, 0x80000
jne 0x18137582
mov eax, dword [esp + 0x14]
mov esi, ecx
mov byte [esp + 0x23], cl
inc dword [eax + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [edi + 0x24], ecx
cmp dword [edi], ebx
je 0x18137568
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push 0x45
pop edx
call fcn.180ff616
mov eax, dword [esp + 0x20]
add esp, 0xc
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [edi + 0x28], eax
jmp 0x18137586
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, eax
inc ecx
mov byte [esp + 0x23], cl
jmp 0x18137529
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
movzx edx, word [ecx + 0x32]
cmp ax, dx
jae 0x181375b3
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
mov edi, dword [esp + 0x50]
cmp byte [edi + eax], cl
mov edi, dword [ebp + 0x10]
sete cl
cmp dword [esp + 0x40], ecx
je 0x181375be
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], ebx
je 0x181375f0
cmp dx, ax
jne 0x181375f0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov al, byte [esp + 0x23]
mov byte [esp + 0x70], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], ecx
movzx ecx, dx
movzx eax, al
mov byte [esp + 0x23], bl
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
push esi
push dword [esp + 0x48]
mov edx, edi
call fcn.18136769
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
test eax, eax
je 0x18137635
cmp word [esp + 0x1c], bx
je 0x18137635
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
lea edx, [edx + eax]
call fcn.180e6bd2
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x5c], ebx
je 0x18137644
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x64], ecx
jmp 0x1813764b
mov eax, dword [edi + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1813765f
test byte [eax + 0xc], 0x28
jne 0x1813765f
mov dword [esp + 0x44], ebx
jmp 0x18137666
xor ecx, ecx
inc ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x1813767a
test byte [ecx + 0xc], 0x28
jne 0x1813767a
mov dword [esp + 0x18], ebx
jmp 0x18137681
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x181376ab
cmp word [esp + 0x2c], bx
jne 0x181376ab
mov ecx, dword [esp + 0x50]
mov esi, ecx
mov dword [esp + 0x2c], ebx
mov al, byte [esp + 0x23]
test al, al
je 0x1813776e
mov dword [esp + 0x44], ebx
jmp 0x18137774
mov ecx, dword [esp + 0x50]
mov esi, ecx
mov dword [esp + 0x2c], 1
test eax, eax
je 0x18137696
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax]
movzx edx, cx
mov ecx, dword [esp + 0x54]
add ecx, esi
mov eax, dword [eax + 0x10]
push edx
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x34], eax
call fcn.18136a74
push dword [esp + 0x70]
mov edi, dword [ebp + 0x10]
mov edx, edi
mov ecx, dword [esp + 0x1c]
call fcn.1813697c
mov ecx, dword [esp + 0x38]
add esp, 0xc
call fcn.18110b7f
test eax, eax
je 0x1813771d
mov ecx, dword [esp + 0x10]
mov eax, esi
add eax, dword [esp + 0x54]
push ebx
push dword [esp + 0x68]
push eax
push 0x32
pop edx
call fcn.180ff616
add esp, 0xc
mov eax, dword [esp + 0x48]
test eax, eax
je 0x18137739
mov ecx, dword [esp + 0x2c]
add eax, esi
push eax
mov eax, dword [esp + 0x50]
movzx edx, ax
call fcn.181361a1
pop ecx
mov ecx, dword [esp + 0x4c]
movzx eax, cx
mov ecx, dword [esp + 0x2c]
add esi, eax
call fcn.1810f36f
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x18137762
mov edx, dword [esp + 0x68]
mov ecx, edi
call fcn.181360f5
xor ecx, ecx
inc ecx
jmp 0x18137766
mov dword [esp + 0x44], ecx
mov al, bl
mov dword [esp + 0x2c], ecx
jmp 0x18137795
cmp dword [esp + 0x5c], ebx
je 0x18137795
push ebx
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push 0x48
pop edx
call fcn.180ff616
xor eax, eax
add esp, 0xc
inc eax
inc esi
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x23]
push dword [esp + 0x48]
mov edx, dword [esp + 0x58]
movzx ecx, al
mov eax, esi
sub eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.18136159
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
movzx eax, word [eax + 0x2a]
test ax, ax
je 0x181377c9
cmp esi, eax
je 0x181378b4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x181377e6
mov ecx, dword [esp + 0x10]
push ebx
push eax
xor eax, eax
inc eax
push eax
push 0x45
pop edx
call fcn.180ff616
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x40]
movzx eax, byte [ecx + eax*2 + 0x181e6558]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
test dword [ecx + 0x24], 0x100000
je 0x18137840
cmp eax, 0x18
jne 0x18137840
mov eax, dword [esp + 0x28]
push 0xa
pop ecx
push ebx
mov eax, dword [eax + 8]
push ebx
movsx eax, word [eax]
add eax, 9
cdq
idiv ecx
mov ecx, dword [esp + 0x18]
push eax
push 0x76
pop edx
call fcn.180ff616
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, eax
push esi
push dword [esp + 0x58]
push dword [esp + 0x6c]
push dword [esp + 0x64]
call fcn.180ff900
mov eax, dword [esp + 0x6c]
add esp, 0x10
test eax, eax
je 0x181378b8
mov ecx, dword [esp + 0x10]
push ebx
mov eax, dword [ecx + 0x6c]
add eax, 2
push eax
push ebx
push 0xb
pop eax
mov edx, eax
call fcn.180ff616
add esp, 0xc
mov eax, esi
sub eax, dword [esp + 0x44]
push eax
push dword [esp + 0x58]
xor eax, eax
push dword [esp + 0x6c]
inc eax
push dword [esp + 0x64]
cmp eax, esi
push 4
pop ecx
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x50]
movzx edx, byte [eax + ecx + 0x181e655a]
mov ecx, dword [esp + 0x20]
call fcn.180ff900
add esp, 0x10
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
mov esi, ecx
test edx, edx
je 0x18137991
mov eax, dword [edx]
mov edx, dword [esp + 0x54]
add edx, esi
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
movzx eax, ax
push eax
push edx
mov dword [esp + 0x4c], ecx
mov edx, ecx
mov ecx, dword [esp + 0x1c]
call fcn.18136a74
push dword [esp + 0x68]
mov edi, dword [ebp + 0x10]
mov edx, edi
mov ecx, dword [esp + 0x1c]
call fcn.1813697c
mov ecx, dword [esp + 0x50]
add esp, 0xc
call fcn.18110b7f
test eax, eax
je 0x1813792a
mov ecx, dword [esp + 0x10]
mov eax, esi
add eax, dword [esp + 0x54]
push ebx
push dword [esp + 0x68]
push eax
push 0x32
pop edx
call fcn.180ff616
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x18137965
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x20]
movzx edx, ax
call fcn.181361a1
mov eax, dword [esp + 0x3c]
mov edx, esi
pop ecx
mov ecx, dword [esp + 0x1c]
push eax
movzx eax, cx
mov ecx, dword [esp + 0x58]
push eax
lea edx, [edx + ecx]
mov ecx, dword [esp + 0x1c]
call fcn.18136159
pop ecx
pop ecx
mov ecx, dword [esp + 0x1c]
movzx eax, cx
mov ecx, dword [esp + 0x44]
add esi, eax
call fcn.1810f36f
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x1813798b
mov edx, dword [esp + 0x60]
mov ecx, edi
call fcn.181360f5
jmp 0x181379b8
mov dword [esp + 0x18], ecx
jmp 0x181379b8
cmp byte [esp + 0x70], bl
je 0x181379b8
test eax, eax
jne 0x181379b7
mov eax, dword [esp + 0x54]
push ebx
add eax, ecx
mov ecx, dword [esp + 0x14]
push eax
push ebx
push 0x48
pop edx
call fcn.180ff616
add esp, 0xc
mov dword [esp + 0x18], ebx
inc esi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x181379cb
mov ecx, dword [esp + 0x34]
mov edx, eax
call fcn.180e676a
mov eax, dword [esp + 0x38]
test eax, eax
je 0x181379de
mov ecx, dword [esp + 0x34]
mov edx, eax
call fcn.180e676a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x3c], eax
test esi, esi
je 0x18137a4e
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x18137a0c
mov eax, dword [ecx + 0x6c]
push ebx
add eax, 3
push eax
push edx
push 0x14
pop edx
call fcn.180ff616
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
push esi
push dword [esp + 0x58]
push dword [esp + 0x6c]
movzx edx, byte [eax + edx*2 + 0x181ea590]
push dword [esp + 0x64]
call fcn.180ff900
mov eax, dword [esp + 0x34]
add esp, 0x10
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x18137a4e
mov edx, eax
call fcn.180ffe36
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x18137a9a
mov eax, dword [ecx + 0x6c]
push ebx
add eax, 2
push eax
push edx
push 0x12
pop edx
call fcn.180ff616
mov ecx, dword [esp + 0x58]
add esp, 0xc
lea eax, [ecx + esi]
mov esi, dword [esp + 0x10]
push eax
push dword [esp + 0x58]
mov eax, dword [esp + 0x48]
push dword [esp + 0x6c]
push dword [esp + 0x64]
movzx edx, byte [ecx + eax*2 + 0x181ea590]
mov ecx, esi
call fcn.180ff900
add esp, 0x10
jmp 0x18137a9e
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x24]
test eax, 0x40000
je 0x18137aca
mov eax, dword [esp + 0x50]
mov ecx, esi
push eax
push eax
push dword [esp + 0x60]
push 0x77
pop edx
call fcn.180ff616
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x18137aef
mov ecx, dword [ebp + 8]
test byte [ecx + 0x28], 0x20
jne 0x18137aef
mov esi, dword [esp + 0x28]
xor eax, eax
mov edx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
jmp 0x18137bca
mov esi, dword [esp + 0x28]
mov dword [esp + 0x64], ebx
mov ecx, dword [esi + 0xc]
test byte [ecx + 0x24], 0x80
jne 0x18137b19
push dword [esp + 0x58]
mov ecx, dword [ebp + 8]
mov edx, esi
push dword [esp + 0x40]
call fcn.181369b0
pop ecx
pop ecx
jmp 0x18137bbf
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
cmp edx, eax
je 0x18137bc7
call fcn.1811903a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
movzx edx, word [eax + 0x32]
call fcn.1811484d
mov dword [esp + 0x18], eax
mov esi, ebx
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0x32]
xor eax, eax
mov edx, ecx
cmp ax, cx
jae 0x18137b99
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x28]
mov dx, word [eax + esi*2]
call fcn.18119052
movsx ecx, ax
lea eax, [esi + ebx]
push eax
push ecx
push dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
push 0x59
pop edx
call fcn.180ff616
movzx ecx, word [edi + 0x32]
add esp, 0xc
inc esi
cmp esi, ecx
jl 0x18137b5e
mov edi, dword [ebp + 0x10]
mov edx, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x10]
movzx eax, dx
push eax
push dword [esp + 0x1c]
push dword [esp + 0x84]
push dword [esp + 0x48]
push 0x1d
pop edx
call fcn.180ff900
mov esi, dword [esp + 0x38]
add esp, 0x10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
cmp dword [edi], ebx
jne 0x18137bf4
test byte [ecx + 0x28], 0x20
jne 0x18137bdf
push ecx
push eax
mov ecx, esi
call fcn.18136bf0
pop ecx
pop ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x18137bf4
push dword [esp + 0x6c]
mov edx, dword [esp + 0x40]
call fcn.18136d00
pop ecx
mov ecx, dword [esp + 0x30]
test dword [ecx + 0x24], 0x1000
je 0x18137c07
mov byte [edi + 0x35], 0xae
jmp 0x18137c14
cmp dword [esp + 0x40], 0
sete al
add al, 4
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [edi + 0x38], eax
inc edx
mov al, byte [ecx + 0x26]
and al, dl
mov byte [edi + 0x36], al
test byte [ecx + 0x24], 0xf
jne 0x18137c2f
mov byte [edi + 0x37], dl
mov eax, dword [esp + 0x64]
neg eax
sbb eax, eax
not eax
and eax, esi
mov dword [esp + 0x64], eax
jmp 0x1813825a
test edx, 0x2000
je 0x18138213
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [edx + 0x28]
mov dword [esp + 0x50], eax
inc eax
inc dword [edx + 0x2c]
dec dword [edx + 0x38]
mov dword [edx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [edi + 0x35], 0x41
mov al, byte [eax + 0x2c]
cmp al, 1
jbe 0x18137da4
mov ecx, dword [esp + 0x34]
movzx eax, al
sub eax, esi
dec eax
mov dword [esp + 0x38], eax
imul eax, eax, 0x48
push ebx
add eax, 0x50
push eax
test ecx, ecx
je 0x18137ce6
call fcn.180e69f7
mov esi, eax
mov dword [esp + 0x64], esi
jmp 0x18137cf1
call fcn.180e6603
mov esi, eax
mov dword [esp + 0x64], eax
pop ecx
pop ecx
test esi, esi
jne 0x18137d02
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jmp 0x1813851f
mov al, byte [esp + 0x38]
inc al
movzx eax, al
push 0x48
push dword [esp + 0x78]
mov dword [esi + 4], eax
mov dword [esi], eax
lea eax, [esi + 8]
push eax
call fcn.18175220
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
add esp, 0xc
mov ecx, dword [ecx + 4]
add ecx, 8
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x38], eax
jl 0x18137d6f
mov ebx, dword [esp + 0x38]
lea eax, [edi + 0x8c]
add esi, 0x50
mov edi, eax
movzx eax, byte [edi]
imul eax, eax, 0x48
push 0x48
add eax, ecx
push eax
push esi
call fcn.18175220
mov ecx, dword [esp + 0x58]
lea edi, [edi + 0x58]
add esp, 0xc
add esi, 0x48
sub ebx, 1
jne 0x18137d47
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
test byte [eax + 0x28], 0x10
jne 0x18137df3
test byte [ecx + 0x24], 0x80
jne 0x18137db0
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ebx
push 0x48
pop edx
mov dword [esp + 0x38], eax
call fcn.180ff616
add esp, 0xc
jmp 0x18137de5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
jmp 0x18137d77
call fcn.1811903a
mov esi, eax
mov eax, dword [edx + 0x28]
push ebx
mov dword [esp + 0x30], eax
lea ecx, [eax + 1]
mov dword [edx + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push 0x64
pop edx
call fcn.180ff616
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, esi
call fcn.180ffe1b
mov eax, dword [esp + 0x14]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
push ebx
push dword [esp + 0x4c]
push ebx
push 0x45
pop edx
call fcn.180ff616
mov dword [esp + 0x84], eax
xor ecx, ecx
mov eax, dword [esp + 0x78]
inc ecx
add esp, 0xc
cmp dword [eax + 0xc], ecx
jle 0x18137eb1
mov edx, dword [esp + 0x54]
mov ecx, ebx
mov dword [esp + 0x24], ecx
mov esi, ebx
jmp 0x18137e2f
mov eax, edi
mov eax, dword [eax + 0x14]
add eax, esi
cmp eax, edx
je 0x18137e7f
test byte [eax + 0xa], 6
jne 0x18137e7f
mov edi, 0x1fff
test word [eax + 0xc], di
mov edi, dword [esp + 0x14]
je 0x18137e7f
mov edx, dword [eax]
test edx, edx
je 0x18137e62
mov ecx, dword [esp + 0x34]
push ebx
push ebx
call fcn.1810fdce
pop ecx
pop ecx
jmp 0x18137e64
mov eax, ebx
mov edx, dword [esp + 0x28]
mov ecx, edi
push eax
call fcn.1810fa02
mov edx, dword [esp + 0x58]
pop ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jmp 0x18137e83
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x6c]
inc ecx
add esi, 0x30
mov dword [esp + 0x24], ecx
cmp ecx, dword [edi + 0xc]
jl 0x18137e2d
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x18137eb1
mov ecx, dword [esp + 0x14]
mov edx, 0x1002c
push eax
push ebx
call fcn.1810f956
pop ecx
pop ecx
mov dword [esp + 0x28], eax
xor eax, eax
push str.MULTI_INDEX_OR
inc eax
push eax
push dword [esp + 0x1c]
call fcn.180ff83c
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, ebx
mov dword [esp + 0x68], eax
cmp dword [ecx + 0xc], ebx
jle 0x18138178
mov edx, dword [esp + 0x3c]
imul eax, eax, 0x30
add eax, dword [ecx + 0x14]
cmp dword [eax + 0x14], edx
je 0x18137ef7
mov esi, 0x400
test word [eax + 0xc], si
je 0x18138163
mov esi, dword [eax]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
test eax, eax
je 0x18137f0a
mov dword [eax + 0xc], esi
mov esi, eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x14]
inc eax
push eax
xor eax, eax
push str.INDEX__d
inc eax
push eax
push edi
call fcn.180ff83c
push dword [esp + 0x60]
mov edx, dword [esp + 0x70]
mov ecx, edi
push 0x20
push ebx
push ebx
push esi
call fcn.1813e43f
mov esi, eax
add esp, 0x24
mov dword [esp + 0x58], esi
test esi, esi
je 0x1813815b
mov edx, dword [esp + 0x5c]
lea ecx, [esi + 0x2f0]
push ebx
push ecx
mov ecx, edi
call fcn.18135e62
mov eax, dword [ebp + 8]
pop ecx
pop ecx
test byte [eax + 0x28], 0x10
jne 0x181380b1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
jne 0x18137f83
or esi, 0xffffffff
mov dword [esp + 0x24], esi
jmp 0x18137f89
mov esi, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 0x80
jne 0x18137fd3
mov edi, dword [esp + 0x10]
mov edx, 0x80
push ebx
push dword [esp + 0x48]
mov ecx, edi
push dword [esp + 0x44]
call fcn.180ff616
add esp, 0xc
mov ecx, edi
push esi
push dword [esp + 0x48]
push ebx
push dword [esp + 0x38]
push 0x2d
pop edx
call fcn.180ff900
mov esi, dword [esp + 0x68]
add esp, 0x10
mov dword [esp + 0x38], eax
jmp 0x181380b5
mov ecx, eax
call fcn.1811903a
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
movzx edi, word [eax + 0x32]
mov edx, edi
call fcn.1811484d
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], ebx
test edi, edi
je 0x18138034
mov esi, eax
mov eax, dword [esp + 0x80]
lea ecx, [ebx + esi]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 4]
movsx eax, word [eax + ebx*2]
push eax
push dword [esp + 0x44]
call fcn.18111fca
add esp, 0xc
inc ebx
cmp ebx, edi
jl 0x18137ffe
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov eax, dword [esp + 0x4c]
test esi, esi
je 0x18138056
mov ecx, dword [esp + 0x10]
push edi
push eax
push ebx
push dword [esp + 0x38]
push 0x1e
pop edx
call fcn.180ff900
add esp, 0x10
mov dword [esp + 0x38], eax
test esi, esi
js 0x1813809c
push dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push edi
push dword [esp + 0x54]
push 0x5b
pop edx
call fcn.180ff616
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, 0x83
push edi
push dword [esp + 0x50]
push dword [esp + 0x4c]
push dword [esp + 0x38]
call fcn.180ff900
add esp, 0x10
test esi, esi
je 0x1813809c
mov ecx, dword [esp + 0x10]
push 0x10
pop edx
call fcn.180ffb71
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
push edi
call fcn.18114883
mov esi, dword [esp + 0x5c]
add esp, 4
mov edi, dword [esp + 0x10]
push ebx
push dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x50]
push 0xc
pop edx
call fcn.180ff616
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x181380e2
mov edx, eax
mov ecx, edi
call fcn.180ffe36
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x30]
mov eax, edx
test dl, 2
je 0x181380f5
xor eax, eax
inc eax
mov dword [esp + 0x70], eax
mov eax, edx
mov esi, dword [esi + 0x338]
mov ecx, eax
test dword [esi + 0x24], 0x200
je 0x18138138
cmp dword [esp + 0x68], 0
je 0x18138118
mov edi, dword [esp + 0x60]
cmp dword [esi + 0x20], edi
jne 0x18138138
jmp 0x1813811a
mov ecx, edx
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 0x80
je 0x18138205
mov edx, dword [esi + 0x20]
mov dword [esp + 0x60], edx
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
jne 0x1813813c
mov dword [esp + 0x60], ebx
xor edx, edx
inc edx
test dl, cl
je 0x18138149
mov eax, dword [ebp + 8]
or dword [eax + 0x30], edx
mov ecx, dword [esp + 0x58]
call fcn.1813ee22
mov ecx, dword [esp + 0x14]
call fcn.180ff88d
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
cmp eax, dword [ecx + 0xc]
jl 0x18137edd
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.180ff88d
mov eax, dword [esp + 0x60]
mov dword [edi + 0x40], eax
test eax, eax
je 0x18138193
mov eax, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x181381a9
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [eax + 0xc], ebx
call fcn.1810fc83
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x78]
call fcn.180ffe36
mov ecx, dword [esi + 0x6c]
mov dword [eax + 4], ecx
mov ecx, esi
mov edx, dword [edi + 0xc]
call fcn.180ff66f
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.180ff99a
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
cmp byte [eax + 0x2c], cl
jbe 0x181381f1
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x181381f1
mov ecx, dword [esp + 0x34]
mov edx, eax
call fcn.180e676a
cmp dword [esp + 0x70], 0
jne 0x1813825a
mov edx, dword [esp + 0x54]
mov ecx, edi
call fcn.181360f5
jmp 0x1813825a
mov eax, dword [esi + 0x20]
mov ecx, edx
mov dword [esp + 0x60], eax
jmp 0x1813813c
mov eax, dword [esp + 0x74]
test byte [eax + 0x28], 0x20
je 0x18138223
mov byte [edi + 0x35], 0xae
jmp 0x1813825a
mov ecx, dword [esp + 0x40]
push ebx
push dword [esp + 0x28]
mov al, byte [ecx + 0x181eada8]
movzx edx, byte [ecx + 0x181ea600]
mov ecx, dword [esp + 0x18]
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x44]
push eax
mov dword [edi + 0x38], eax
call fcn.180ff616
add esp, 0xc
inc eax
mov dword [edi + 0x3c], eax
xor eax, eax
inc eax
mov byte [edi + 0x37], al
xor eax, eax
cmp dword [esp + 0x64], eax
sete al
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov ecx, ebx
mov esi, dword [eax + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], edx
test edx, edx
jle 0x181383a9
movzx eax, word [esi + 0xa]
mov dword [esp + 0x24], ebx
test al, 6
jne 0x1813838b
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
je 0x181382b0
mov eax, dword [ebp + 8]
or dword [eax + 0x30], 2
jmp 0x18138387
mov eax, dword [esp + 0x74]
mov ecx, dword [esi]
mov dword [esp + 0x78], ecx
test byte [eax + 0x24], 8
je 0x181382cc
xor eax, eax
inc eax
test byte [ecx + 4], al
je 0x18138387
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x181382f6
push dword [esp + 0x64]
mov edx, dword [edi + 4]
call fcn.1811430c
mov edx, dword [esp + 0x38]
pop ecx
test eax, eax
jne 0x181382fb
push 2
pop ecx
mov dword [esp + 0x1c], ecx
jmp 0x1813838b
cmp eax, 3
jge 0x18138312
movzx eax, word [esi + 0xa]
test eax, 0x1000
je 0x18138316
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1813838b
push 3
jmp 0x181382ec
movzx eax, word [esi + 0xa]
test eax, 0x200
je 0x18138347
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x18138347
mov ecx, dword [esp + 0x10]
mov eax, edx
push ebx
shr eax, 1
push ebx
push eax
xor eax, eax
inc eax
and edx, eax
lea edx, [edx*2 + 0x12]
call fcn.180ff616
add esp, 0xc
mov dword [esp + 0x24], eax
push 0x10
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x20]
call fcn.181138ef
mov eax, dword [esp + 0x34]
add esp, 0x10
test eax, eax
je 0x1813837c
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.180ffe36
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x34]
push 4
pop eax
or word [esi + 0xa], ax
mov ecx, dword [esp + 0x1c]
dec edx
add esi, 0x30
mov dword [esp + 0x34], edx
test edx, edx
jg 0x18138284
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x1813826c
test edx, edx
jle 0x181384ab
add esi, 0xc
mov dword [esp + 0x24], esi
test byte [esi - 2], 6
jne 0x18138494
movzx eax, word [esi]
test al, 0x82
push 0xb
setne cl
pop edi
bt ax, di
setb al
test al, cl
je 0x18138494
mov ecx, dword [esp + 0x3c]
cmp dword [esi + 8], ecx
jne 0x18138494
mov eax, dword [esp + 0x74]
test byte [eax + 0x24], 8
jne 0x18138494
mov eax, dword [esi - 0xc]
mov edx, ecx
mov ecx, dword [esp + 0x6c]
push ebx
push 0x83
push dword [ebp + 0x18]
mov dword [esp + 0x84], eax
push dword [ebp + 0x14]
push dword [esi + 0xc]
call fcn.1813a5d8
mov edx, eax
add esp, 0x14
test edx, edx
je 0x18138490
test byte [edx + 0xa], 4
jne 0x18138490
xor ecx, ecx
inc ecx
test byte [edx + 0xc], cl
je 0x18138453
mov eax, dword [edx]
test dword [eax + 4], 0x800
je 0x18138453
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], ecx
jg 0x18138490
mov esi, dword [edx]
lea edi, [esp + 0x84]
mov eax, dword [esp + 0x78]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x80]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x20]
call fcn.181138ef
mov esi, dword [esp + 0x34]
add esp, 0x10
mov edx, dword [esp + 0x34]
dec edx
add esi, 0x30
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], esi
test edx, edx
jg 0x181383c4
mov edi, dword [ebp + 0x10]
cmp dword [edi], 0
je 0x18138519
mov ecx, dword [esp + 0x10]
push ebx
push dword [edi]
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x1c], eax
xor eax, eax
inc eax
push eax
push 0x45
pop edx
call fcn.180ff616
mov edx, dword [esp + 0x78]
add esp, 0xc
mov esi, dword [edx + 0x14]
cmp dword [edx + 0xc], ebx
jle 0x18138519
test byte [esi + 0xa], 6
jne 0x18138510
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x18138510
push 0x10
push dword [esp + 0x80]
push dword [esi]
push dword [esp + 0x20]
call fcn.181138ef
mov edx, dword [esp + 0x7c]
add esp, 0x10
push 4
pop eax
or word [esi + 0xa], ax
inc ebx
add esi, 0x30
cmp ebx, dword [edx + 0xc]
jl 0x181384d8
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret