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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, ecx
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, dword [eax]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x110], ecx
jne 0x10080a94
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], ecx
jne 0x10080a94
cmp byte [ebx + 0x2b], 1
je 0x10080a94
cmp dword [ebp + 0xc], 0xb
jne 0x100806fd
cmp word [ebx + 0x20], cx
jl 0x100806f6
movzx ecx, byte [ebx + 0x2a]
mov dword [ebp + 0xc], ecx
cmp ecx, 0xb
jne 0x100806fd
mov dword [ebp + 0xc], 2
mov esi, dword [eax + 0x20]
cmp dword [esi], 1
jne 0x10080a94
cmp dword [esi + 0x1c], 0
jne 0x10080a94
cmp dword [eax + 0x24], 0
jne 0x10080a94
cmp dword [eax + 0x30], 0
jne 0x10080a94
cmp dword [eax + 0x28], 0
jne 0x10080a94
cmp dword [eax + 0x3c], 0
jne 0x10080a94
cmp dword [eax + 0x34], 0
jne 0x10080a94
test byte [eax + 4], 1
jne 0x10080a94
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jne 0x10080a94
mov eax, dword [eax + 8]
cmp byte [eax], 0xb4
jne 0x10080a94
mov edx, dword [esi + 8]
test edx, edx
je 0x1008078f
mov edi, dword [edi + 0x10]
xor ecx, ecx
cmp dword [edi + 0xc], edx
lea eax, [edi + 0xc]
je 0x10080788
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x10080780
add ecx, ecx
mov eax, dword [edi + ecx*8]
jmp 0x10080792
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x20]
xor edx, edx
push eax
push dword [esi + 0x10]
call fcn.10068d20
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x10080a94
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 0x14]
jne 0x100807c6
mov eax, dword [edi + 0x3c]
cmp eax, dword [ebx + 0x3c]
je 0x10080a94
mov esi, dword [edi + 0x1c]
mov ecx, esi
mov edx, dword [ebx + 0x1c]
mov eax, edx
shr ecx, 7
shr eax, 7
not ecx
not eax
xor ecx, eax
test cl, 1
jne 0x10080a94
cmp byte [edi + 0x2b], 0
jne 0x10080a94
movzx ecx, word [ebx + 0x22]
cmp cx, word [edi + 0x22]
jne 0x10080a94
mov ax, word [ebx + 0x20]
cmp ax, word [edi + 0x20]
jne 0x10080a94
test edx, 0x10000
je 0x1008081f
test esi, 0x10000
je 0x10080a94
xor eax, eax
mov dword [esp + 0x34], 0
cmp ax, cx
jge 0x10080a4d
xor ecx, ecx
mov dword [esp + 0x3c], ecx
jmp 0x10080844
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 4]
mov edi, dword [edi + 4]
add esi, ecx
add edi, ecx
mov cx, word [esi + 0xe]
mov ax, word [edi + 0xe]
and cx, 0x60
and ax, 0x60
cmp cx, ax
jne 0x10080a94
test cx, cx
je 0x100808df
movzx eax, word [esi + 0xc]
test ax, ax
jne 0x10080879
xor ecx, ecx
jmp 0x10080899
cmp byte [ebx + 0x2b], 0
je 0x10080883
xor ecx, ecx
jmp 0x10080899
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x10080899
cmp dword [ecx], eax
jge 0x10080892
xor ecx, ecx
jmp 0x10080899
lea eax, [eax + eax*4]
mov ecx, dword [ecx + eax*4 - 0xc]
movzx eax, word [edi + 0xc]
test ax, ax
jne 0x100808a6
xor edx, edx
jmp 0x100808ca
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x2b], 0
je 0x100808b4
xor edx, edx
jmp 0x100808ca
mov edx, dword [edx + 0x34]
test edx, edx
je 0x100808ca
cmp dword [edx], eax
jge 0x100808c3
xor edx, edx
jmp 0x100808ca
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 - 0xc]
push 0xffffffffffffffff
push ecx
xor ecx, ecx
call fcn.1005fa20
add esp, 8
test eax, eax
jne 0x10080a94
mov al, byte [esi + 8]
cmp al, byte [edi + 8]
jne 0x10080a94
movzx ecx, word [edi + 0xe]
test ecx, 0x200
jne 0x100808fb
xor ecx, ecx
jmp 0x10080919
mov eax, dword [edi]
cmp byte [eax], 0
je 0x10080908
inc eax
cmp byte [eax], 0
jne 0x10080902
test cl, 4
je 0x10080916
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x10080910
lea ecx, [eax + 1]
movzx ebx, word [esi + 0xe]
test ebx, 0x200
jne 0x10080929
xor eax, eax
jmp 0x10080947
mov eax, dword [esi]
cmp byte [eax], 0
je 0x10080936
inc eax
cmp byte [eax], 0
jne 0x10080930
test bl, 4
je 0x10080946
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x10080940
inc eax
push ecx
push eax
call fcn.10020cc0
add esp, 8
test eax, eax
jne 0x10080a94
test byte [esi + 4], 0xf
je 0x10080969
test byte [edi + 4], 0xf
je 0x10080a94
test bl, 0x60
jne 0x10080a29
cmp dword [esp + 0x34], 0
jle 0x10080a29
movzx eax, word [esi + 0xc]
test ax, ax
jne 0x1008098a
xor edx, edx
jmp 0x100809ae
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x2b], 0
je 0x10080998
xor edx, edx
jmp 0x100809ae
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x100809ae
cmp dword [edx], eax
jge 0x100809a7
xor edx, edx
jmp 0x100809ae
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 - 0xc]
movzx eax, word [edi + 0xc]
test ax, ax
jne 0x100809bb
xor esi, esi
jmp 0x100809df
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x2b], 0
je 0x100809c9
xor esi, esi
jmp 0x100809df
mov esi, dword [ecx + 0x34]
test esi, esi
je 0x100809df
cmp dword [esi], eax
jge 0x100809d8
xor esi, esi
jmp 0x100809df
lea eax, [eax + eax*4]
mov esi, dword [esi + eax*4 - 0xc]
xor ecx, ecx
test esi, esi
sete cl
xor eax, eax
test edx, edx
sete al
cmp eax, ecx
jne 0x10080a94
test edx, edx
je 0x10080a29
mov ecx, dword [esi + 8]
mov eax, dword [edx + 8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10080a20
test dl, dl
je 0x10080a1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10080a20
add eax, 2
add ecx, 2
test dl, dl
jne 0x10080a00
xor eax, eax
jmp 0x10080a25
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10080a94
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
inc esi
add ecx, 0x10
mov dword [esp + 0x34], esi
movsx eax, word [ebx + 0x22]
mov dword [esp + 0x3c], ecx
cmp esi, eax
jl 0x10080840
mov edi, dword [ebx + 8]
mov ecx, 1
test edi, edi
je 0x10080ad4
nop dword [eax]
cmp byte [edi + 0x36], 0
mov eax, dword [esp + 0x38]
cmovne eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
test esi, esi
je 0x10080a94
nop word [eax + eax]
mov edx, esi
mov ecx, edi
call fcn.100805c0
test eax, eax
jne 0x10080a9d
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x10080a80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2c]
cmp eax, dword [edi + 0x2c]
jne 0x10080ac8
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ebx + 0x3c]
jne 0x10080ac8
mov eax, dword [0x10140bf8]
test eax, eax
je 0x10080a94
push 0x19b
call eax
add esp, 4
test eax, eax
je 0x10080a94
mov edi, dword [edi + 0x14]
mov ecx, 1
test edi, edi
jne 0x10080a60
mov edx, dword [ebx + 0x10]
mov esi, dword [esp + 0x18]
test edx, edx
je 0x10080af0
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
call fcn.1005fdb0
add esp, 4
test eax, eax
jne 0x10080a94
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
and eax, 0x4000
or eax, 0
je 0x10080b0a
cmp dword [ebx + 0x30], 0
jne 0x10080a94
and ecx, 1
xor eax, eax
or eax, ecx
jne 0x10080a94
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x2c], 0xffff8000
test ecx, ecx
je 0x10080b3e
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x2c], edx
cmp dword [eax], ecx
je 0x10080b3e
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10080b32
mov dword [esp + 0x2c], edx
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 8]
mov dword [esp + 0x48], esi
test esi, esi
jne 0x10080b6b
cmp dword [edi + 0x78], esi
jne 0x10080b5e
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x10080b5e
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.1003f600
mov esi, eax
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x78]
mov edx, edi
mov ecx, dword [esp + 0x2c]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov edi, dword [edx + 0x58]
test edi, eax
jne 0x10080b99
bts edi, ecx
mov dword [edx + 0x58], edi
cmp ecx, 1
jne 0x10080b99
mov ecx, edx
call fcn.10070df0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
push ebx
mov edi, dword [ecx + 0x28]
mov dword [esp + 0x18], edi
lea eax, [edi + 1]
mov dword [esp + 0x14], eax
inc eax
mov dword [ecx + 0x28], eax
call fcn.1007bd80
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x50], eax
mov al, byte [ecx + 0x13]
test al, al
jne 0x10080bd2
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x10080be1
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0xa0]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x28], edx
cmp dword [esi + 0x70], ecx
jg 0x10080c03
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x10080c32
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x13]
test al, al
jne 0x10080c45
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x10080c54
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0xa0]
push 0x71
push ebx
push dword [ebp + 0x10]
lea edx, [edi + 1]
mov dword [esp + 0x28], eax
call fcn.1007b650
mov eax, dword [esp + 0x3c]
add esp, 0xc
test byte [eax + 0x18], 4
jne 0x10080d72
cmp word [ebx + 0x20], 0
jge 0x10080c84
cmp dword [ebx + 8], 0
jne 0x10080ca0
cmp dword [esp + 0x38], 0
jne 0x10080ca0
mov eax, dword [ebp + 0xc]
cmp eax, 2
je 0x10080d72
cmp eax, 1
je 0x10080d72
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x10080cc3
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x24
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
mov edi, eax
jmp 0x10080cf6
mov edx, dword [esp + 0x10]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x44], ecx
cmp dword [esi + 0x70], ecx
jg 0x10080d1d
push 0
push 0
push 0
mov edx, 9
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x10080d50
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x10080d62
mov eax, 0x10143a20
jmp 0x10080d6b
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x14]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x10081291
mov ecx, dword [esp + 0x20]
mov edx, edi
push 0x70
push eax
push dword [esp + 0x34]
call fcn.1007b650
mov edx, dword [esi + 0x6c]
add esp, 0xc
mov dword [esp + 0x40], edx
cmp dword [esi + 0x70], edx
jg 0x10080dbb
push 0
push 0
push edi
mov edx, 0x24
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x10080dea
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp word [ebx + 0x20], 0
jl 0x10080efb
mov edi, dword [esi + 0x6c]
mov edx, dword [esp + 0x1c]
cmp dword [esi + 0x70], edi
jg 0x10080e1f
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x87
mov ecx, esi
call fcn.1003f7e0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov edi, eax
jmp 0x10080e4e
mov ebx, dword [esp + 0x14]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 4
jne 0x10080ee2
mov ebx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ebx
jg 0x10080e7e
push edx
push 0
push dword [esp + 0x18]
mov edx, 0x1f
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
mov ebx, eax
jmp 0x10080eb1
mov edx, dword [esp + 0x10]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
call fcn.10071210
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x10080ed6
mov eax, 0x10143a20
jmp 0x10080edf
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
push dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
call fcn.1007bea0
add esp, 4
jmp 0x10080fa5
cmp dword [ebx + 8], 0
jne 0x10080f4d
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 8
jne 0x10080f4d
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x10080f30
push 0
push dword [esp + 0x20]
mov edx, 0x7f
mov ecx, esi
push dword [esp + 0x18]
call fcn.1003f7e0
add esp, 0xc
mov edi, eax
jmp 0x10080fa5
mov edx, dword [esp + 0x10]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], edx
jmp 0x10080f8d
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x10080f72
push 0
push dword [esp + 0x20]
mov edx, 0x87
mov ecx, esi
push dword [esp + 0x1c]
call fcn.1003f7e0
add esp, 0xc
mov edi, eax
jmp 0x10080fa5
mov ebx, dword [esp + 0x14]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 4
je 0x1008100f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10080fd5
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
mov ebx, 0x98
jmp 0x10081014
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov ebx, 0x98
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10081014
mov ebx, 0xa9
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008103d
push dword [esp + 0x1c]
mov edx, 0x81
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.1003f7e0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x10081070
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10081092
push edx
push dword [esp + 0x2c]
mov edx, 0x80
mov ecx, esi
push dword [esp + 0x18]
call fcn.1003f7e0
add esp, 0xc
jmp 0x100810c5
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 4
jne 0x1008111a
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100810ea
push dword [esp + 0x24]
mov edx, 0xfffffffb
call fcn.100401d0
add esp, 4
jmp 0x1008111a
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x24]
je 0x10081113
push 0xfffffffffffffffb
push ecx
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.10040360
add esp, 8
jmp 0x1008111a
mov dword [eax - 4], ecx
mov byte [eax - 0x13], 0xfb
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jle 0x1008112f
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov word [eax + ecx*4 - 0x12], bx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008114d
push 0
push edi
mov edi, dword [esp + 0x1c]
mov edx, 0x27
push edi
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x1008117e
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, edx
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008119c
push 0
push 0
push edi
mov edx, 0x7a
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x100811cb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10081259
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100817c7
mov edi, dword [edi + 8]
mov byte [esp + 0x3c], 0
test edi, edi
je 0x1008122d
mov esi, dword [esp + 0x24]
mov edx, edi
mov ecx, esi
call fcn.100805c0
test eax, eax
jne 0x10081229
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x10081215
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x10081301
push dword [esp + 0x2c]
mov ecx, esi
push edx
push dword [esp + 0x1c]
mov edx, 0x70
call fcn.1003f7e0
add esp, 0xc
jmp 0x10081330
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100811ee
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x20]
cmp edx, 1
je 0x100812c1
mov eax, dword [edi]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x100812c1
push dword [ebx]
mov ecx, edi
push 1
push dword [ebx + 0x14]
call fcn.10067f90
add esp, 0xc
mov edx, dword [esp + 0x2c]
cmp edx, 1
je 0x100811f2
mov eax, dword [edi]
mov ecx, edx
mov edi, dword [esp + 0x18]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x100811f6
push dword [edi]
mov ecx, dword [esp + 0x24]
push 0
push dword [edi + 0x14]
call fcn.10067f90
add esp, 0xc
jmp 0x100811f6
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov edx, edi
mov ecx, eax
mov ebx, dword [eax + 8]
call fcn.10071680
mov edx, eax
test edx, edx
je 0x10081370
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x1008135e
push edx
mov edx, 0xfffffff8
call fcn.100401d0
add esp, 4
jmp 0x10081370
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x10081398
push dword [ebp + 0x10]
mov ecx, esi
push edx
push dword [esp + 0x18]
mov edx, 0x71
call fcn.1003f7e0
add esp, 0xc
jmp 0x100813c6
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x20]
mov ecx, eax
mov edx, dword [esp + 0x24]
mov ebx, dword [eax + 8]
call fcn.10071680
mov edx, eax
test edx, edx
je 0x10081408
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x100813f6
push edx
mov edx, 0xfffffff8
call fcn.100401d0
add esp, 4
jmp 0x10081408
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x34], edx
test edx, edx
jle 0x1008142a
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov edx, 1
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x34], edx
cmp dword [esi + 0x70], edx
jg 0x1008144c
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x24
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x1008147f
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
test byte [eax + 0x18], 4
je 0x100815b3
movzx edx, word [edi + 0x34]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], edx
test edx, edx
je 0x100814fd
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x4c], ecx
mov ebx, dword [ecx]
test ebx, ebx
je 0x100814fd
mov edi, 0x1012c31c
sub ebx, edi
movzx eax, byte [edi]
movzx edx, byte [edi + ebx]
cmp eax, edx
jne 0x100814e0
test eax, eax
jne 0x100814f2
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
inc eax
mov edx, dword [esp + 0x50]
add ecx, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
cmp eax, edx
jl 0x100814a6
jmp 0x100814fd
movzx ecx, byte [eax + 0x1012c958]
movzx eax, byte [edx + 0x1012c958]
sub ecx, eax
jne 0x100814f5
inc edi
jmp 0x100814b3
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
cmp eax, edx
jne 0x100815d9
mov ecx, dword [esi + 0x6c]
mov bl, 0x90
cmp dword [esi + 0x70], ecx
jg 0x1008152c
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
call fcn.1003f7e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1008155f
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x14]
cmp dword [esi + 0x70], ecx
jg 0x10081583
push 0
push edi
push edx
mov edx, 0x81
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x10081630
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10081633
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
test byte [eax + 0x1c], 0x80
je 0x100815dd
mov eax, dword [esp + 0x24]
movzx ebx, bl
mov al, byte [eax + 0x38]
and al, 3
cmp al, 2
mov eax, 1
cmove ebx, eax
jmp 0x100815dd
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x14]
cmp dword [esi + 0x70], ecx
jg 0x10081601
push 1
push dword [esp + 0x2c]
mov edx, 0x86
mov ecx, esi
push edi
call fcn.1003f7e0
add esp, 0xc
jmp 0x10081630
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
lea edx, [edi + 1]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10081653
push 0
push dword [esp + 0x2c]
mov ecx, esi
push edx
mov edx, 0x8a
call fcn.1003f7e0
add esp, 0xc
jmp 0x10081686
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jle 0x100816a1
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
or bl, 8
movzx edx, bl
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
cmp dword [esi + 0x70], ecx
jg 0x100816c2
push 0
push edx
push edi
mov edx, 0x27
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x100816f1
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x10081703
mov eax, 0x10143a20
jmp 0x1008170c
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008172d
push 0
push 0
push edi
mov edx, 0x7a
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x1008175c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008177d
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x100817b0
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10081205
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100817ed
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100817e1
mov eax, 0x10143a20
jmp 0x100817ea
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x1008180d
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x1008180d
movzx eax, al
mov dword [edx + eax*4 + 0xa0], ecx
inc byte [edx + 0x13]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10081829
mov al, byte [edx + 0x13]
cmp al, 8
jae 0x10081829
movzx eax, al
mov dword [edx + eax*4 + 0xa0], ecx
inc byte [edx + 0x13]
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x10081916
cmp dword [edx + 0x74], 0
je 0x10081842
mov ecx, edx
call fcn.1007bf10
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10081861
push 0
push 0
push 0
mov edx, 0x46
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
jmp 0x10081894
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100818a6
mov eax, 0x10143a20
jmp 0x100818af
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100818da
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, esi
call fcn.1003f7e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret