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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x101ec05c]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x70], eax
lea eax, [eax + eax*8]
mov esi, ecx
mov ebx, dword [esi]
mov edx, dword [ebx]
lea eax, [esi + eax*8 + 0x2e0]
lea ecx, [esi + 0x148]
mov dword [esp + 0xc], eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x38]
movzx eax, byte [eax + 0x24]
mov dword [esp + 0x68], edx
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
add edx, edx
lea eax, [eax + edx*8 + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
mov edi, dword [ebx + 8]
mov dword [esp + 0x74], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], 0
test eax, eax
jle 0x1008ba22
lea ecx, [esi + 0x48]
mov edx, dword [esp + 0x30]
cmp dword [ecx], edx
je 0x1008bc30
inc dword [esp + 0x28]
add ecx, 4
cmp dword [esp + 0x28], eax
jl 0x1008ba09
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0xc]
not eax
and eax, dword [ebp + 0xc]
not edx
and edx, dword [ebp + 0x10]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x70]
call fcn.1017f5d0
and eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
test byte [eax + 0x24], 0x40
je 0x1008ba68
test byte [esi + 0x22], 0x20
mov dword [esp + 0x54], 1
je 0x1008ba70
mov dword [esp + 0x54], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0x6c]
lea edx, [ecx + 1]
mov dword [eax + 0x6c], edx
lea edx, [ecx - 1]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], ecx
test ecx, edx
jne 0x1008bab9
mov eax, ecx
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.10026230
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x54]
mov dword [edx + 0x70], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x70]
test eax, eax
je 0x1008bac7
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], eax
test eax, edx
jne 0x1008bb21
lea ecx, [eax*8 + 4]
push 0
push ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x70]
mov esi, dword [ecx]
call fcn.10026230
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x7c]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x54]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x1008bb2f
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x24], 0
mov dword [esp + 0x5c], ecx
mov dword [eax + 0x18], ecx
jbe 0x1008bba7
mov eax, dword [esp + 0x2c]
test byte [eax + 0x24], 8
je 0x1008bba7
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0xc]
inc ecx
mov dword [ebx + 0x48], ecx
mov dword [edx], ecx
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], eax
cmp dword [edx + 0x54], eax
jg 0x1008bb84
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1008bba7
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x19
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x7c], eax
test al, 4
je 0x1008bc7c
mov eax, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x40], eax
cmp dword [ecx + 0x54], esi
jg 0x1008bbdc
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1008bc03
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0x14
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1008bc45
push edi
call fcn.10044400
add esp, 4
test eax, eax
je 0x1008bc45
mov eax, dword [esp + 0xc]
mov esi, 1
mov dword [eax + 0x2c], esi
mov byte [eax + 0x25], 0x10
jmp 0x1008beb2
mov ecx, dword [esp + 0x28]
mov eax, 1
xor edx, edx
call fcn.101824a0
jmp 0x1008ba26
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x16
mov eax, dword [esp + 0xc]
mov dword [eax + 0x2c], esi
mov byte [eax + 0x25], 0x10
jmp 0x1008beb2
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x1008bef3
movzx edx, word [ecx + 0x28]
mov eax, dword [ebx + 0x38]
inc dword [ebx + 0x64]
mov esi, dword [ebx + 0x3c]
mov dword [esp + 0x24], edx
add edx, 2
mov dword [esp + 0x84], edx
mov dword [esp + 0x1c], esi
cmp edx, eax
jg 0x1008bcbd
add esi, edx
sub eax, edx
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0x38], eax
jmp 0x1008bccc
mov eax, dword [ebx + 0x48]
lea esi, [eax + 1]
add edx, eax
mov dword [esp + 0x1c], esi
mov dword [ebx + 0x48], edx
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
xor esi, esi
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x24], esi
jle 0x1008bd37
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x1008bd30
test byte [eax + 0x12], 1
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + esi + 2]
push edx
je 0x1008bd1d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push ecx
push esi
push eax
push edx
call fcn.1008ad30
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x4c], eax
jmp 0x1008bd2c
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
push ecx
push ebx
call fcn.1005abc0
add esp, 0xc
mov ecx, dword [esp + 0x38]
inc esi
cmp esi, dword [esp + 0x24]
jl 0x1008bcdf
mov esi, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov ebx, dword [ecx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x1008bd52
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1008bd79
mov ecx, dword [edi + 4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1008bd91
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1008bdbd
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov eax, dword [esp + 0x38]
movzx esi, byte [eax + 0x1c]
mov ebx, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov eax, dword [eax + 0x20]
neg esi
sbb esi, esi
and esi, 0xfffffff7
mov dword [esp + 0x40], eax
cmp dword [ecx + 0x54], ebx
jg 0x1008bdf2
push edi
call fcn.10044400
add esp, 4
test eax, eax
je 0x1008bdf2
mov ebx, 1
jmp 0x1008be23
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
mov ecx, dword [esp + 0x30]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0xe
push edi
mov edi, dword [esp + 0x44]
lea ecx, [esi - 2]
mov eax, ebx
call fcn.10044d20
mov ebx, dword [esp + 0x3c]
xor esi, esi
add esp, 4
mov byte [ebx + 0x1c], 0
cmp dword [esp + 0x24], esi
jle 0x1008be6f
cmp esi, 0x10
jge 0x1008be6f
mov dx, word [ebx + 0x1e]
mov cx, si
shr dx, cl
test dl, 1
je 0x1008be68
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + esi*4]
mov edi, dword [esp + 0xc]
call fcn.1008ac60
inc esi
cmp esi, dword [esp + 0x24]
jl 0x1008be45
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x1c]
mov dword [eax + 0x28], ecx
mov byte [eax + 0x25], 0x95
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x10]
mov ecx, esi
call fcn.10059510
cmp esi, dword [eax + 0x38]
jle 0x1008bea9
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], edi
call fcn.10059610
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
test ebx, ebx
jle 0x1008ce7e
test byte [esi + 0x14], 6
jne 0x1008ce6e
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x40]
and ecx, dword [edx + 0x44]
or eax, ecx
je 0x1008ce48
mov ecx, dword [esp + 0x74]
mov byte [ecx + 0x27], 1
jmp 0x1008ce6e
mov edx, eax
and edx, 0x100
je 0x1008bf99
test al, 5
je 0x1008bf99
mov edx, ecx
mov eax, dword [edx + 0x30]
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
mov eax, ebx
inc dword [eax + 0x48]
mov esi, dword [eax + 0x48]
mov ebx, dword [esp + 0xc]
push esi
push edx
push 0
push ecx
push eax
call fcn.1008ad30
mov ebx, eax
add esp, 0x14
cmp ebx, esi
je 0x1008bf3d
mov edx, dword [esp + 0x10]
call fcn.1005c000
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
push eax
push ebx
push 0x26
mov esi, edi
mov dword [esp + 0x38], eax
call fcn.100445a0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add esp, 0xc
push ebx
push ecx
push edx
push 0x46
call fcn.10044490
mov eax, dword [esp + 0x20]
mov ecx, 1
mov edi, ebx
call fcn.10059510
mov ecx, dword [esp + 0x40]
push ebx
push 0xffffffffffffffff
push ecx
mov edx, eax
call fcn.10059400
mov edx, dword [esp + 0x28]
add esp, 0x1c
mov byte [edx + 0x25], 0x9a
mov edi, esi
jmp 0x1008beb2
test edx, edx
je 0x1008c19a
test al, 2
je 0x1008c19a
xor edx, edx
xor esi, esi
mov dword [esp + 0x50], 0x9a
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], esi
test al, 0x20
je 0x1008bfd3
mov edx, dword [ecx + 0x30]
mov esi, dword [edx]
mov dword [esp + 0x2c], esi
mov edx, 1
test al, 0x10
je 0x1008bfe1
mov eax, dword [ecx + 0x30]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x3c], 0
je 0x1008bff6
mov eax, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], eax
test esi, esi
je 0x1008c07e
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
lea ecx, [esp + 0x84]
mov dword [esp + 0x40], eax
mov eax, dword [eax + 0x10]
push ecx
mov esi, ebx
mov dword [esp + 0x28], 0x403e3f41
call fcn.1005aa20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x30]
push ebx
push edx
movzx edx, byte [ecx]
push eax
movzx eax, byte [esp + edx - 0x20]
push eax
mov esi, edi
call fcn.10044490
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, 1
mov edi, ebx
call fcn.10059510
mov esi, dword [esp + 0x84]
mov edx, eax
call fcn.1005c000
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
call fcn.1008ac60
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
jmp 0x1008c0a1
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
neg eax
sbb eax, eax
push ecx
and eax, 0xfffffffd
push edx
add eax, 0x6c
push eax
mov esi, edi
call fcn.100445a0
add esp, 0xc
mov esi, dword [esp + 0x48]
test esi, esi
je 0x1008c108
mov edi, dword [esi]
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov ecx, dword [edi + 0x10]
push eax
push ecx
push ebx
mov dword [esp + 0x58], eax
call fcn.1005abc0
mov al, byte [edi]
add esp, 0xc
cmp al, 0x52
je 0x1008c0e0
cmp al, 0x50
je 0x1008c0e0
xor edx, edx
cmp dword [esp + 0x3c], edx
setne dl
lea edx, [edx + edx + 0x50]
mov dword [esp + 0x50], edx
jmp 0x1008c0f1
xor eax, eax
cmp dword [esp + 0x3c], eax
sete al
lea eax, [eax + eax + 0x51]
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0xc]
mov eax, esi
call fcn.1008ac60
mov ebx, dword [esp + 0x10]
mov eax, edi
mov edi, dword [esp + 0x20]
jmp 0x1008c10c
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x3c], 0
mov esi, dword [edi + 0x20]
mov edx, dword [esp + 0x30]
sete cl
add cl, 8
cmp dword [esp + 0x50], 0x9a
mov byte [eax + 0x25], cl
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], esi
je 0x1008beb2
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
mov dword [esp + 0x28], eax
mov eax, edx
push eax
push 0x67
mov esi, edi
call fcn.100445a0
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push esi
push 0xffffffffffffffff
push ecx
mov edx, ebx
call fcn.10059400
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add esp, 0xc
push esi
push edx
push eax
push ecx
mov esi, edi
call fcn.10044490
mov eax, dword [edi + 4]
add esp, 0x10
test eax, eax
je 0x1008beb2
mov ecx, dword [edi + 0x20]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x53
jmp 0x1008beb2
test eax, 0x200
je 0x1008c6b7
movzx eax, word [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 8]
mov dword [esp + 0x18], eax
xor eax, eax
test byte [esi + 0x22], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x37], al
mov byte [esp + 0x17], al
mov byte [esp + 0x63], al
mov dword [esp + 0x24], edx
je 0x1008c1f9
cmp byte [esi + 0x24], al
jle 0x1008c1f9
mov edx, dword [esp + 0x28]
mov dx, word [edx + 0x2e]
cmp dx, word [esp + 0x18]
jbe 0x1008c1f9
mov byte [esp + 0x17], 1
mov eax, 1
movzx esi, word [esp + 0x18]
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x44], esi
test dl, 0x20
je 0x1008c21a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x58], eax
inc esi
mov eax, 1
test dl, 0x10
je 0x1008c25c
cmp dword [esp + 0x58], 0
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + esi*4]
mov dword [esp + 0x1c], edx
mov eax, 1
jne 0x1008c25c
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 4]
mov esi, dword [esp + 0x44]
movsx ecx, word [ecx + esi*2]
test ecx, ecx
js 0x1008c25c
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*2]
cmp byte [edx + ecx*8 + 0x14], 0
jne 0x1008c25c
mov byte [esp + 0x17], al
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x48]
push ecx
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
push ebx
call fcn.1008af10
add esp, 0x14
cmp dword [esp + 0x48], 0
mov esi, eax
mov dword [esp + 0x50], esi
je 0x1008c291
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov al, byte [edx + ecx]
mov byte [esp + 0x37], al
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + 0x2e]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], eax
cmp word [esp + 0x18], ax
jae 0x1008c2c8
mov eax, dword [ecx + 0x1c]
mov edx, dword [esp + 0x44]
xor ecx, ecx
cmp byte [edx + eax], cl
sete cl
cmp dword [esp + 0x3c], ecx
je 0x1008c2d6
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x3c], 0
je 0x1008c2f3
cmp ax, word [esp + 0x18]
jne 0x1008c2f3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x17]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x17], 0
mov byte [esp + 0x63], al
mov eax, dword [esp + 0x58]
mov cl, 0x28
test eax, eax
je 0x1008c30a
mov dword [esp + 0x78], 0
test byte [eax + 0x12], cl
je 0x1008c312
mov dword [esp + 0x78], 1
cmp dword [esp + 0x1c], 0
je 0x1008c32a
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], 0
test byte [edx + 0x12], cl
je 0x1008c332
mov dword [esp + 0x70], 1
test eax, eax
jne 0x1008c341
mov dword [esp + 0x64], eax
cmp word [esp + 0x18], ax
jbe 0x1008c349
mov dword [esp + 0x64], 1
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1008c3e2
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
add esi, ecx
push esi
push eax
push ebx
mov dword [esp + 0x8c], eax
call fcn.1005abc0
mov eax, dword [esp + 0x8c]
add esp, 0xc
call fcn.10057e70
test eax, eax
je 0x1008c398
mov edx, dword [esp + 0x2c]
push edx
push esi
push 0x4c
mov esi, edi
call fcn.100445a0
add esp, 0xc
cmp dword [esp + 0x48], 0
je 0x1008c3d8
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov bl, byte [eax + esi]
mov eax, dword [esp + 0x80]
call fcn.10056270
mov ebx, dword [esp + 0x44]
cmp al, 0x41
jne 0x1008c3c1
mov byte [ebx + esi], al
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x80]
call fcn.10057f20
test eax, eax
je 0x1008c3d8
mov byte [ebx + esi], 0x41
inc dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
jmp 0x1008c411
cmp byte [esp + 0x17], 0
je 0x1008c415
add ecx, dword [esp + 0x50]
mov esi, edi
push ecx
push 0
push 0x1c
call fcn.100445a0
mov eax, 1
add esp, 0xc
add dword [esp + 0x18], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0x50]
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x48]
push esi
push ebx
call fcn.1008acb0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x84]
push esi
push edx
mov edx, dword [esp + 0x78]
push eax
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x54]
movzx edx, byte [ecx + eax*2 + 0x101d24fc]
push edx
mov eax, edi
call fcn.10044750
mov ebx, dword [esp + 0x60]
add esp, 0x1c
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
je 0x1008c505
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ebx, dword [ecx + 0x10]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add edi, esi
mov ecx, 1
mov dword [esp + 0x40], ebx
call fcn.10059510
push edi
push ebx
push eax
call fcn.1005abc0
add esp, 0xc
mov eax, ebx
call fcn.10057e70
test eax, eax
je 0x1008c4be
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
push eax
push edi
push 0x4c
call fcn.100445a0
add esp, 0xc
mov esi, dword [esp + 0x40]
mov bl, byte [esp + 0x37]
mov eax, esi
call fcn.10056270
cmp al, 0x41
je 0x1008c4f7
mov dl, byte [esp + 0x37]
mov ecx, esi
call fcn.10057f20
test eax, eax
jne 0x1008c4f7
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea eax, [esp + 0x3f]
mov ecx, 1
call fcn.1008acb0
add esp, 8
inc dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
jmp 0x1008c52a
cmp byte [esp + 0x63], 0
je 0x1008c52e
mov edx, ebx
add edx, dword [esp + 0x50]
mov esi, edi
push edx
push 0
push 0x1c
call fcn.100445a0
add esp, 0xc
mov dword [esp + 0x70], 0
inc ebx
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
call fcn.10025e40
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x2c], ecx
test ebx, ebx
je 0x1008c570
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x70]
push ebx
push esi
push eax
mov eax, dword [esp + 0x48]
push ecx
movzx ecx, byte [edx + eax*2 + 0x101d2504]
push ecx
mov eax, edi
call fcn.10044750
add esp, 0x14
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xc]
call fcn.1008ac60
mov eax, dword [esp + 0x1c]
call fcn.1008ac60
cmp dword [esp + 0x54], 0
jne 0x1008c66f
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
test byte [eax + 0x2c], 0x20
jne 0x1008c5e3
mov edi, dword [esp + 0x10]
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push ebx
push eax
push 0x70
call fcn.100445a0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ebx
push 0xffffffffffffffff
push ecx
mov edx, edi
call fcn.10059400
mov edx, dword [esp + 0x3c]
add esp, 0xc
push ebx
push edx
push 0x42
call fcn.100445a0
add esp, 0xc
jmp 0x1008c66b
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x30], ecx
je 0x1008c66f
call fcn.10061040
mov ecx, dword [esp + 0x10]
mov edi, eax
movzx esi, word [edi + 0x2e]
call fcn.1005c030
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x54], eax
cmp dx, word [edi + 0x2e]
jae 0x1008c649
mov eax, dword [esp + 0x54]
mov edx, dword [edi + 4]
mov si, word [edx + ebx*2]
mov edx, dword [esp + 0x28]
lea ecx, [ebx + eax]
push ecx
call fcn.10061060
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cwde
push eax
push ecx
push 0x2f
call fcn.10044490
movzx edx, word [edi + 0x2e]
inc ebx
add esp, 0x10
cmp ebx, edx
jl 0x1008c613
movzx eax, word [edi + 0x2e]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push 0x44
call fcn.10044750
add esp, 0x14
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
test dword [eax + 0x24], 0x1000
je 0x1008c682
mov byte [edi + 0x25], 0x9a
jmp 0x1008c690
cmp dword [esp + 0x3c], 0
sete cl
add cl, 8
mov byte [edi + 0x25], cl
mov edx, dword [esp + 0x24]
mov dword [edi + 0x28], edx
mov cl, byte [eax + 0x26]
and cl, 1
mov byte [edi + 0x26], cl
test byte [eax + 0x24], 0xf
jne 0x1008beae
mov edx, dword [esp + 0xc]
mov byte [edx + 0x27], 1
jmp 0x1008beae
test eax, 0x2000
je 0x1008cdf7
mov eax, dword [ebx + 0x44]
inc dword [ebx + 0x48]
mov dword [esp + 0x8c], eax
inc eax
xor ecx, ecx
mov dword [ebx + 0x44], eax
mov ebx, dword [ebx + 0x48]
mov eax, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], ecx
call fcn.10044800
mov edx, dword [esp + 0x38]
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov byte [eax + 0x25], 0x12
mov dword [eax + 0x28], ebx
mov al, byte [esi + 0x29]
mov dword [esp + 0x3c], ecx
cmp al, 1
jbe 0x1008c821
mov esi, dword [esp + 0x68]
movzx ebx, al
sub ebx, dword [esp + 0x70]
push 0
dec ebx
lea edx, [ebx + ebx*4]
shl edx, 4
add edx, 0x58
push edx
call fcn.100260c0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1008c778
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.1017eae7
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
lea eax, [ebx + 1]
movzx eax, al
mov dword [edx + 4], eax
mov dword [edx], eax
lea edi, [edx + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
add eax, 8
mov dword [esp + 0x64], eax
cmp ebx, 1
jl 0x1008c7e2
add edx, 0x58
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x4c]
add edx, 0x6c
mov edi, edi
movzx eax, byte [edx]
lea esi, [eax + eax*4]
shl esi, 4
add esi, dword [esp + 0x64]
mov edi, ebx
mov ecx, 0x14
add edx, 0x48
add ebx, 0x50
dec dword [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
jne 0x1008c7c0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x74]
test byte [eax + 0x22], 8
mov ebx, dword [esp + 0x6c]
jne 0x1008c871
mov eax, dword [esp + 0x48]
test byte [eax + 0x2c], 0x20
jne 0x1008c82a
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0x1c
mov esi, edi
mov dword [esp + 0x34], eax
call fcn.100445a0
add esp, 0xc
jmp 0x1008c863
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], edx
jmp 0x1008c7e6
call fcn.10061040
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
lea edx, [ecx + 1]
mov dword [eax + 0x44], edx
movzx eax, word [ebx + 0x2e]
push eax
push ecx
push 0x39
mov esi, edi
mov dword [esp + 0x34], ecx
call fcn.100445a0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebx
call fcn.10044e00
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x24]
push edx
push 0
push 0x19
mov esi, edi
call fcn.100445a0
mov dword [esp + 0x88], eax
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp eax, 1
jle 0x1008c9a0
xor esi, esi
mov dword [esp + 0x54], esi
cmp eax, esi
jle 0x1008c9a0
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + esi]
add eax, esi
cmp eax, dword [esp + 0x38]
je 0x1008c8f6
test byte [ecx + 4], 1
jne 0x1008c8f6
mov edx, dword [ebx + 0x14]
test byte [esi + edx + 0x14], 2
lea eax, [esi + edx]
jne 0x1008c8f6
mov edx, 0xfff
test word [eax + 0x12], dx
je 0x1008c8f6
mov eax, dword [esp + 0x68]
push 0
push 0
push ecx
push eax
call fcn.10056e40
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x7c]
push ecx
call fcn.10056960
add esp, 0x18
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
inc eax
add esi, 0x30
mov dword [esp + 0x54], eax
cmp eax, dword [ebx + 0xc]
jl 0x1008c8a5
cmp dword [esp + 0x18], 0
je 0x1008c9a0
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx]
push 0
push 0x30
call fcn.100260c0
mov esi, eax
add esp, 8
test esi, esi
je 0x1008c948
push 0x30
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x48
mov word [esi + 0x22], dx
mov dword [esi + 0x18], 1
mov ebx, dword [ebx]
test esi, esi
jne 0x1008c965
push esi
push ebx
call fcn.10056d00
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.10056d00
add esp, 0x10
jmp 0x1008c99c
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [eax + 4]
and ecx, 0x100
or dword [esi + 4], ecx
mov ebx, esi
call fcn.100565a0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov ecx, dword [edx + 0x64]
cmp dword [esi + 0x18], ecx
jle 0x1008c99c
push ecx
push str.Expression_tree_is_too_large__maximum_depth__d_
push eax
call fcn.100289d0
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x80], 0x70
mov dword [esp + 0x58], eax
cmp dword [ebx + 0xc], eax
jle 0x1008ccbb
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
cmp ecx, dword [esp + 0x30]
je 0x1008c9e1
mov edx, 0x200
test word [eax + 0x12], dx
je 0x1008cca4
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x78], 0
test ecx, ecx
je 0x1008c9fe
test byte [eax + 4], 1
jne 0x1008c9fe
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.1008fef0
add esp, 0x1c
mov dword [esp + 0x88], eax
test eax, eax
je 0x1008cca4
mov ecx, dword [esp + 0xc]
movzx edx, byte [ecx + 0x24]
mov ecx, dword [esp + 0x70]
push 0
push edx
push ecx
lea edx, [eax + 0x2e0]
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.1008b6c0
mov ecx, dword [esp + 0x84]
add esp, 0x10
test byte [ecx + 0x22], 8
jne 0x1008cbc7
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x58]
dec eax
cmp esi, eax
jne 0x1008ca7d
or esi, 0xffffffff
mov eax, dword [esp + 0x48]
test byte [eax + 0x2c], 0x20
mov dword [esp + 0x64], esi
jne 0x1008cac9
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
push 0
push ecx
push edx
push 0xffffffffffffffff
push eax
call fcn.100598a0
add esp, 0x14
push esi
push eax
mov eax, dword [esp + 0x30]
push 0
push eax
mov eax, dword [esp + 0x30]
push 0x82
call fcn.10044750
add esp, 0x14
mov dword [esp + 0x78], eax
jmp 0x1008cbc3
call fcn.10061040
movzx ebx, word [eax + 0x2e]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x2c], edx
cmp ebx, ecx
jg 0x1008caf4
add edx, ebx
sub ecx, ebx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], ecx
jmp 0x1008cb03
mov ecx, dword [eax + 0x48]
lea edx, [ecx + 1]
add ecx, ebx
mov dword [esp + 0x2c], edx
mov dword [eax + 0x48], ecx
xor esi, esi
test ebx, ebx
jle 0x1008cb3d
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
push 0
add edx, esi
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x50]
push eax
movsx eax, word [edx + esi*2]
push eax
push ecx
call fcn.100598a0
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x1008cb09
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
test esi, esi
je 0x1008cb64
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ebx
push edx
push 0
push eax
push 0x45
mov eax, edi
call fcn.10044750
add esp, 0x14
mov dword [esp + 0x78], eax
test esi, esi
js 0x1008cba9
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
push ecx
push ebx
push edx
push 0x31
mov esi, edi
call fcn.10044490
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x38]
push 0
push eax
push ecx
push 0x6e
call fcn.10044490
add esp, 0x20
cmp dword [esp + 0x64], 0
je 0x1008cba9
mov eax, dword [edi + 4]
test eax, eax
je 0x1008cba9
mov edi, dword [edi + 0x20]
lea edx, [edi + edi*4]
mov byte [eax + edx*4 - 0x11], 0x10
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, ebx
call fcn.10059510
cmp ebx, dword [eax + 0x38]
jle 0x1008cbc3
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], edi
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], esi
jg 0x1008cbdf
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1008cc0f
mov edx, dword [edi + 4]
inc dword [edi + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x84]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x11
jmp 0x1008cc11
xor esi, esi
mov eax, dword [esp + 0x78]
cmp eax, esi
je 0x1008cc34
mov ecx, dword [edi + 0x20]
cmp ecx, eax
jbe 0x1008cc2a
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
dec eax
mov dword [ecx + 0x58], eax
mov eax, dword [esp + 0x88]
cmp byte [eax + 0x27], 0
je 0x1008cc49
mov dword [esp + 0x40], 1
mov ecx, dword [eax + 0x318]
test dword [ecx + 0x24], 0x200
je 0x1008cc93
cmp dword [esp + 0x58], esi
je 0x1008cc67
mov edx, dword [esp + 0x44]
cmp dword [ecx + 0x1c], edx
jne 0x1008cc93
mov edx, dword [esp + 0x48]
test byte [edx + 0x2c], 0x20
je 0x1008cc7f
mov edx, dword [ecx + 0x1c]
mov edx, dword [edx + 0x34]
and dl, 3
cmp dl, 2
je 0x1008cc93
mov ecx, dword [ecx + 0x1c]
or dword [esp + 0x80], 0x1000
mov dword [esp + 0x44], ecx
jmp 0x1008cc97
mov dword [esp + 0x44], esi
push eax
call fcn.10090920
mov ebx, dword [esp + 0x40]
add esp, 4
mov eax, dword [esp + 0x58]
add dword [esp + 0x4c], 0x30
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [ebx + 0xc]
jl 0x1008c9c2
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x30], eax
test eax, eax
je 0x1008ccd4
mov edx, dword [esp + 0x8c]
mov dword [ecx + 8], edx
cmp dword [esp + 0x18], 0
je 0x1008ccf4
mov eax, dword [esp + 0x18]
push eax
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x6c]
push eax
call fcn.10056d00
add esp, 8
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jbe 0x1008cd09
mov edx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 4], eax
mov esi, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0xc]
cmp dword [ecx + 0x54], esi
jg 0x1008cd28
push edi
call fcn.10044400
add esp, 4
test eax, eax
jne 0x1008cd4d
mov eax, dword [edi + 4]
inc dword [edi + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x10
jmp 0x1008cd4f
xor esi, esi
mov ecx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x84]
js 0x1008cd6b
mov edx, dword [ecx + 0x70]
cmp edx, esi
je 0x1008cd6b
mov esi, dword [edi + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [edi + 0x20]
mov eax, dword [esp + 0x74]
dec edx
mov dword [ecx + 0x58], edx
cmp byte [eax + 0x29], 1
jbe 0x1008cdda
cmp dword [esp + 0x1c], 0
je 0x1008cdda
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1008cdcd
cmp dword [eax + 0x208], 0
je 0x1008cda3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
call fcn.10025e00
jmp 0x1008cdda
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x114]
jb 0x1008cdcd
cmp ecx, dword [eax + 0x118]
jae 0x1008cdcd
mov edx, dword [eax + 0x110]
mov dword [ecx], edx
dec dword [eax + 0xfc]
mov dword [eax + 0x110], ecx
jmp 0x1008cdda
mov eax, dword [esp + 0x1c]
push eax
call fcn.10025d60
add esp, 4
cmp dword [esp + 0x40], 0
jne 0x1008beb2
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
call fcn.1008ac60
jmp 0x1008beae
test byte [esp + 0x7c], 8
je 0x1008ce0b
mov ecx, dword [esp + 0xc]
mov byte [ecx + 0x25], 0x9a
jmp 0x1008beb2
mov eax, dword [esp + 0x3c]
mov dl, byte [eax + 0x101d2508]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov byte [ebx + 0x25], dl
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x28], ecx
movzx eax, byte [eax + 0x101d250c]
push edx
push ecx
push eax
mov esi, edi
call fcn.100445a0
add esp, 0xc
inc eax
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x27], 1
jmp 0x1008beb2
cmp dword [edx], 0
mov eax, dword [esi]
je 0x1008ce55
test byte [eax + 4], 1
je 0x1008ce6e
mov edx, dword [esp + 0x5c]
push 0x10
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.1005b440
add esp, 0x10
or byte [esi + 0x14], 4
dec ebx
add esi, 0x30
test ebx, ebx
jg 0x1008bec4
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x1008cff7
mov edx, dword [esp + 0x38]
test byte [edx + 0x14], 6
jne 0x1008cfe1
mov eax, 0x402
mov ecx, edx
cmp word [ecx + 0x12], ax
jne 0x1008cfe1
mov edx, dword [esp + 0x30]
mov eax, ecx
cmp dword [eax + 8], edx
jne 0x1008cfe1
mov ecx, dword [esp + 0xc]
cmp dword [ecx], 0
jne 0x1008cfe1
mov edx, dword [eax]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
push 3
mov dword [esp + 0x80], edx
push ecx
mov ecx, dword [esp + 0x74]
xor edx, edx
lea edi, [esp + 0x98]
xor ebx, ebx
call fcn.10088470
add esp, 8
test eax, eax
je 0x1008cf38
lea ecx, [ecx]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
mov ecx, esi
and ecx, dword [ebp + 0xc]
mov edx, edi
and edx, dword [ebp + 0x10]
or ecx, edx
jne 0x1008cf28
or esi, edi
jne 0x1008cf22
test byte [eax + 0x12], 2
jne 0x1008cfaa
test ebx, ebx
jne 0x1008cf28
mov ebx, eax
lea edi, [esp + 0x90]
call fcn.100881d0
test eax, eax
jne 0x1008cf00
mov edi, ebx
test edi, edi
je 0x1008cfdd
test byte [edi + 0x14], 4
jne 0x1008cfdd
mov esi, dword [esp + 0x68]
push 0
push 0x30
call fcn.100260c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1008cfdd
mov esi, dword [edi]
mov edx, dword [esp + 0x7c]
mov ecx, 0xc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
push 0x10
push ecx
push ebx
push edx
mov dword [ebx + 0xc], eax
call fcn.1005b440
mov ecx, dword [esp + 0x78]
add esp, 0x10
test ecx, ecx
je 0x1008cfd4
cmp dword [ecx + 0x208], 0
je 0x1008cfae
mov eax, ebx
call fcn.10025e00
jmp 0x1008cfdd
mov edi, eax
jmp 0x1008cf3a
cmp ebx, dword [ecx + 0x114]
jb 0x1008cfd4
cmp ebx, dword [ecx + 0x118]
jae 0x1008cfd4
mov eax, dword [ecx + 0x110]
mov dword [ebx], eax
dec dword [ecx + 0xfc]
mov dword [ecx + 0x110], ebx
jmp 0x1008cfdd
push ebx
call fcn.10025d60
add esp, 4
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add dword [esp + 0x38], 0x30
dec eax
mov dword [esp + 0x40], eax
test eax, eax
jg 0x1008ce94
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov dword [esp + 0x88], eax
test eax, eax
je 0x1008d11e
mov edx, dword [edi + 0x20]
mov eax, ecx
mov dword [eax + 0x1c], edx
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x18]
mov dword [esp + 0x7c], eax
cmp dword [esi + 0x54], eax
jg 0x1008d08f
mov eax, dword [esi + 0x54]
test eax, eax
je 0x1008d02e
add eax, eax
jmp 0x1008d033
mov eax, 0x33
mov ebx, dword [edi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
add ecx, ecx
add ecx, ecx
push 0
push ecx
call fcn.10026160
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1008d0be
mov eax, dword [esi]
test eax, eax
je 0x1008d06f
cmp ebx, dword [eax + 0x114]
jb 0x1008d06f
cmp ebx, dword [eax + 0x118]
jae 0x1008d06f
movzx ecx, word [eax + 0xf8]
jmp 0x1008d07b
push ebx
call dword [0x101f0e98]
mov ecx, eax
add esp, 4
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x7c]
shr edx, 4
mov dword [esi + 0x54], edx
mov dword [edi + 4], ebx
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov ecx, 1
add dword [edi + 0x20], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov eax, dword [esp + 0x10]
call fcn.10059940
mov eax, dword [esp + 0x6c]
mov edi, dword [eax + 0x14]
xor esi, esi
cmp dword [eax + 0xc], esi
jle 0x1008d11e
mov ebx, dword [esp + 0xc]
lea esp, [esp]
test byte [edi + 0x14], 6
jne 0x1008d111
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
and eax, dword [ebx + 0x40]
and ecx, dword [ebx + 0x44]
or eax, ecx
jne 0x1008d111
mov edx, dword [esp + 0x5c]
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
push 0x10
push edx
push eax
push ecx
call fcn.1005b440
add esp, 0x10
or byte [edi + 0x14], 4
mov edx, dword [esp + 0x6c]
inc esi
add edi, 0x30
cmp esi, dword [edx + 0xc]
jl 0x1008d0e0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1017eae7
mov esp, ebp
pop ebp
ret