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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edx
mov ecx, 0x10103106
mov dword [esp + 0x28], edi
call fcn.100d96c4
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x33], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], esi
test esi, esi
jne 0x1008d524
cmp dword [edi + 0x74], esi
jne 0x1008d517
test byte [eax + 0x4c], 8
jne 0x1008d517
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.1005e350
mov esi, eax
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
test byte [ecx + 0x24], 0x20
movsx eax, word [ecx + 0x2a]
mov dword [esp + 0x2c], eax
jne 0x1008d548
mov dword [esp + 0x34], 0
mov dword [esp + 0x4c], 1
jmp 0x1008d573
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
test edx, edx
je 0x1008d56b
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
je 0x1008d563
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x1008d553
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
movzx ecx, word [edx + 0x32]
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x78], 2
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x1008d772
mov edi, dword [esp + 8]
xor edx, edx
mov dword [esp + 0x10], edx
movsx eax, word [edi + 0x28]
cmp ecx, eax
je 0x1008d756
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x1008d5b0
cmp dword [eax + ecx*4], 0
jl 0x1008d756
mov eax, dword [edi + 4]
add edx, eax
mov al, byte [edx + 0xc]
movzx edi, al
mov dword [esp + 0x18], edi
test al, al
je 0x1008d752
mov ah, byte [ebp + 0x20]
cmp ah, 0xb
jne 0x1008d5da
cmp al, ah
jne 0x1008d5da
mov edi, 2
jmp 0x1008d5f6
cmp ah, 0xb
movzx edi, ah
cmove edi, dword [esp + 0x18]
cmp edi, 5
jne 0x1008d5f6
cmp dword [edx + 4], 0
mov eax, 2
cmove edi, eax
lea eax, [edi - 1]
mov dword [esp + 0x1c], 0
cmp eax, 4
ja case.0x1008d60a.4
jmp dword [eax*4 + 0x1008e804]
mov eax, dword [esp + 0x28]
mov edx, 0x33
mov edi, dword [ebp + 0x14]
push 0
inc edi
dec dword [eax + 0x38]
add edi, ecx
mov eax, dword [eax + 0x38]
mov ecx, esi
push eax
push edi
mov dword [esp + 0x28], eax
call fcn.1005e520
mov eax, dword [esp + 0x14]
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
push edi
mov edx, dword [eax + edx + 4]
call fcn.10078160
add esp, 4
mov edx, 0x33
mov ecx, esi
push 0
push dword [esp + 0x20]
push edi
call fcn.1005e520
add esp, 0xc
mov edi, 2
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push dword [ecx + eax]
push dword [edx]
push str._s._s
push dword [esp + 0x54]
call fcn.10041380
mov ecx, dword [ebp + 0x14]
mov edx, 0x44
mov dword [esp + 0x30], eax
inc ecx
mov eax, dword [esp + 0x34]
add eax, ecx
mov ecx, esi
push eax
push edi
push 0x513
call fcn.1005e520
mov ecx, dword [esi]
add esp, 0x1c
mov edx, dword [esp + 0x20]
cmp byte [ecx + 0x51], 0
je 0x1008d6dd
push edx
mov edx, 0xfffffff9
call fcn.1005eee0
add esp, 4
jmp 0x1008d6ef
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1008d706
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1008d74e
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008d728
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1008d74e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x1008d74e
mov eax, dword [ebp + 0x14]
mov edx, 0x32
push 0
push dword [ebp + 0x24]
inc eax
add eax, ecx
mov ecx, esi
push eax
call fcn.1005e520
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 8]
add dword [esp + 0x10], 0x10
inc ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x1008d593
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1008d934
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x1008d934
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov al, byte [ebp + 0x20]
cmp al, 0xb
je 0x1008d7b2
movzx eax, al
mov dword [esp + 0x1c], eax
jmp 0x1008d7ba
mov dword [esp + 0x1c], 2
xor edx, edx
mov dword [esp + 0x10], edx
cmp dword [ecx], edx
jle 0x1008d92d
lea eax, [ecx + 8]
mov dword [esp + 0x24], eax
nop
mov ecx, dword [eax - 4]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1008d840
mov dword [esp + 0x98], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x84], 0x1008d460
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x1008d829
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.1006fe90
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp byte [ebp + 0x1c], 0
mov al, byte [esp + 0x94]
jne 0x1008d838
and al, 0xfd
test al, al
je 0x1008d911
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
push 0x10
push eax
push ecx
push edi
mov dword [esp + 0x28], eax
call fcn.10078560
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp eax, 4
jne 0x1008d8b2
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008d87e
push 0
push dword [ebp + 0x24]
lea edx, [eax + 7]
mov ecx, esi
push 0
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008d8e6
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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
jmp 0x1008d8e6
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1008d8c2
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
push 3
cmp eax, 5
mov edx, 2
push 0
cmove eax, edx
mov edx, 0x113
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x2c], eax
call fcn.10084090
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008d904
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1008d90d
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc edx
mov eax, dword [esp + 0x24]
add eax, 0x18
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
cmp edx, dword [ecx]
jl 0x1008d7d0
mov dword [edi + 0x34], 0
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x1008d968
cmp dword [eax], 0
jne 0x1008d94d
mov byte [ebp + 0x20], 4
mov dword [ebp + 0x30], 0
jmp 0x1008d968
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
test eax, eax
je 0x1008d968
mov edx, 0xb
mov ecx, esi
call fcn.1005e5a0
mov dword [esp + 0x60], eax
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x68], 0x35
je 0x1008dc3d
cmp dword [esp + 0x34], 0
jne 0x1008dc3d
mov ecx, dword [esp + 8]
dec dword [edi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x10], edx
je 0x1008d9a3
movzx eax, byte [ebp + 0x20]
jmp 0x1008d9ae
cmp eax, 0xb
mov edi, 2
cmove eax, edi
cmp dword [ebp + 0x30], 0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
je 0x1008d9e1
mov esi, dword [ebp + 0x30]
cmp dword [esi + 0x10], 0
mov esi, dword [esp + 0x5c]
jne 0x1008d9e1
mov ecx, dword [ebp + 0x30]
xor eax, eax
cmp dword [ecx + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x1c], eax
jmp 0x1008da04
cmp eax, 5
jne 0x1008da04
cmp byte [ebp + 0x20], al
je 0x1008da04
cmp dword [ecx + 8], 0
je 0x1008da04
lea edx, [eax + 6]
mov ecx, esi
call fcn.1005e5a0
mov edx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1008da79
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008da2d
push eax
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.1005e4e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1008da5e
mov edi, dword [ebp + 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], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1008da79
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008da99
push dword [ebp + 0x14]
mov ecx, esi
push edx
push dword [ebp + 0xc]
mov edx, 0x1f
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008daca
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [ebp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
cmp eax, 5
ja case.default.0x1008dada
jmp dword [eax*4 + 0x1008e818]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, 0
je 0x1008db16
mov edx, dword [esp + 8]
mov ecx, edi
push 0
push 0
push 0x79
call fcn.1009e8d0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1008db5f
mov edx, dword [esp + 8]
mov ecx, edi
push 0
push 0
call fcn.1008b370
add esp, 8
test eax, eax
jne 0x1008db5f
mov eax, dword [esp + 8]
cmp dword [eax + 8], 0
je 0x1008db92
mov ecx, edi
call fcn.10084050
mov edx, dword [esp + 8]
mov ecx, edi
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10086000
add esp, 0x10
mov dword [esp + 0x58], 1
jmp 0x1008dbd1
mov eax, dword [edi + 0x74]
mov ecx, edi
mov edx, dword [esp + 8]
test eax, eax
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, edi
push dword [esp + 0x40]
call fcn.10085cd0
add esp, 0x24
mov dword [esp + 0x58], 1
jmp 0x1008dbd1
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov ecx, edi
push 0
push dword [esp + 0x10]
call fcn.100a12c0
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.1005e6b0
jmp 0x1008dbd1
mov edx, 2
push dword [esp + 8]
mov ecx, edi
call fcn.100842a0
add esp, 4
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008dbef
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1008dbf8
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x54], 0
je 0x1008dc3d
mov edx, 0xb
mov ecx, esi
call fcn.1005e5a0
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x6c]
dec ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1008dc26
mov eax, 0x1010177c
jmp 0x1008dc3b
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x14], 0
mov eax, dword [edx + 8]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008e6f1
xor ecx, ecx
nop word [eax + eax]
mov edi, dword [ebp + 8]
cmp dword [edi + ecx*4], 0
mov edi, dword [esp + 0x28]
je 0x1008e6dd
cmp dword [esp + 0x50], eax
jne 0x1008dd1e
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], ecx
cmp dword [esi + 0x70], ecx
jg 0x1008dcab
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
mov dword [esp + 0x64], eax
jmp 0x1008dcde
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 + 0x51], 0
je 0x1008dcfb
mov eax, 0x10101774
mov dword [eax + 8], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
jmp 0x1008dd28
mov ecx, dword [esp + 0x60]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 8]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0xc]
jmp 0x1008dd28
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x33], 0
jne 0x1008dd4f
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1008dd3b
cmp ecx, eax
jne 0x1008dd4f
mov eax, dword [ebp + 0x14]
mov ecx, esi
inc eax
push eax
call fcn.1008be70
add esp, 4
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
je 0x1008dde2
mov eax, dword [ebp + 8]
mov edx, 0x49
push 0
push dword [eax + ecx*4]
mov ecx, esi
push 0
call fcn.1005e520
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov ecx, dword [edi]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x24]
test edx, edx
je 0x1008dda5
push 0
push 0
call fcn.10073a20
mov ecx, dword [esp + 0x28]
add esp, 8
jmp 0x1008dda7
xor eax, eax
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x2c], eax
jne 0x1008ddc6
mov edx, dword [esp + 0x3c]
push 0x10
push edx
push eax
push edi
call fcn.10078950
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1008ddd3
call fcn.10073790
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x34], 0
mov edx, dword [ebp + 8]
movzx eax, word [eax + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
xor edi, edi
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x20], ecx
lea edx, [ecx + 1]
mov dword [esp + 0x24], edx
xor edx, edx
cmp di, ax
mov dword [esp + 0x2c], edx
mov edi, dword [esp + 0x28]
jae 0x1008df0a
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x1008de24
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x1008dea3
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
test edx, edx
je 0x1008de6b
push 0
push 0
mov ecx, eax
call fcn.10073a20
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x20]
jmp 0x1008de6d
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x1008de89
push dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, edi
call fcn.10078160
mov eax, dword [esp + 0x24]
add esp, 4
test edi, edi
je 0x1008de96
mov edx, edi
mov ecx, eax
call fcn.10073790
mov edi, dword [esp + 0x28]
mov dword [edi + 0x34], 0
jmp 0x1008ded6
cmp edx, 0xffffffff
je 0x1008debc
mov eax, dword [esp + 8]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x1008debc
mov eax, dword [ebp + 0x14]
inc eax
add eax, edx
jmp 0x1008debf
mov eax, dword [ebp + 0x14]
sar edx, 0x1f
push 0
push ecx
and edx, 1
mov ecx, esi
push eax
add edx, 0x4f
call fcn.1005e520
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x1c], 0x18
inc edx
inc dword [esp + 0x10]
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x2c], edx
cmp edx, ecx
jl 0x1008de20
mov edx, dword [ebp + 8]
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x20], ecx
jmp 0x1008df0e
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x6c]
movzx eax, ax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], edx
jg 0x1008df34
push ecx
push eax
push dword [esp + 0x2c]
mov edx, 0x5c
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008df67
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
je 0x1008dfae
cmp edx, ecx
jne 0x1008dfae
cmp byte [ebp + 0x1c], 0
jne 0x1008dfae
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008dfa0
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1008e6d1
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x1008e6d1
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x1008dfd7
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008dfa0
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1008e6d1
cmp byte [ebp + 0x20], 0xb
je 0x1008dfe3
movzx eax, byte [ebp + 0x20]
jmp 0x1008dfeb
cmp eax, 0xb
cmove eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x50], ecx
jne 0x1008e00b
mov edi, dword [ebp + 0x30]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x28]
jne 0x1008e0b8
cmp dword [ecx + 0x14], 0
jne 0x1008e0b8
cmp edx, ecx
jne 0x1008e0b8
cmp eax, 5
jne 0x1008e0b8
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x70], eax
je 0x1008e05f
mov edx, dword [esp + 8]
mov ecx, edi
push 0
push 0
push 0x79
call fcn.1009e8d0
add esp, 0xc
test eax, eax
jne 0x1008e0b8
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x70], eax
je 0x1008e093
mov eax, dword [esp + 8]
cmp dword [eax + 0x10], 0
jne 0x1008e0b8
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.10043840
add esp, 4
cmp dword [eax + 8], 0
jne 0x1008e0b8
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008dfa0
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1008e6d1
mov eax, dword [esp + 0xc]
mov edx, 0x1b
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x40]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0x10]
push eax
call fcn.1005e520
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x1008e0fe
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jne 0x1008e114
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], edx
jmp 0x1008e17a
mov eax, dword [esp + 0x4c]
cmp eax, 1
jne 0x1008e145
mov al, byte [edi + 0x13]
test al, al
jne 0x1008e130
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x40], edx
jmp 0x1008e176
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x94]
mov dword [esp + 0x40], edx
jmp 0x1008e176
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x40], edx
cmp eax, ecx
jg 0x1008e161
add eax, edx
sub ecx, dword [esp + 0x4c]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], ecx
jmp 0x1008e172
mov eax, dword [edi + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
mov dword [edi + 0x2c], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
cmp dword [ebp + 0x18], 0
jne 0x1008e18b
cmp dword [esp + 0x1c], 5
jne 0x1008e47b
mov edi, dword [esp + 8]
test byte [edi + 0x24], 0x20
mov edi, dword [esp + 0x28]
jne 0x1008e233
mov eax, dword [esp + 0x14]
mov ecx, esi
add eax, dword [ebp + 0x10]
push 0
push edx
push eax
mov edx, 0x87
call fcn.1005e520
mov eax, dword [ebp + 0x18]
add esp, 0xc
test eax, eax
je 0x1008e47b
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x40]
cmp dword [esi + 0x70], ecx
jg 0x1008e1e5
push eax
push dword [esp + 0x40]
mov ecx, esi
push edx
mov edx, 0x35
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008e213
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 + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1008e47b
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x1008e47b
cmp eax, ecx
je 0x1008e339
xor edi, edi
mov dword [esp + 0x2c], 0
cmp di, word [ecx + 0x32]
mov edi, dword [esp + 0x28]
jae 0x1008e339
mov dword [esp + 0x10], edx
jmp 0x1008e264
mov eax, dword [esp + 0xc]
movzx edx, word [eax + 0x34]
xor ecx, ecx
test edx, edx
je 0x1008e2a5
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov eax, dword [eax + 4]
movzx eax, word [eax + edi*2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
nop dword [eax + eax]
mov edi, dword [esp + 0x18]
cmp di, word [eax]
mov edi, dword [esp + 0x28]
je 0x1008e2d5
inc ecx
add eax, 2
cmp ecx, edx
jl 0x1008e290
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x18], edx
cmp dword [esi + 0x70], ecx
jg 0x1008e2da
push dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, esi
add eax, dword [ebp + 0x10]
push edx
push eax
mov edx, 0x5a
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008e318
movzx eax, cx
jmp 0x1008e2a8
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], ecx
movzx eax, word [eax + 0x32]
cmp ecx, eax
jl 0x1008e260
mov ecx, dword [esp + 0x34]
cmp dword [ebp + 0x18], 0
je 0x1008e47b
movzx ecx, word [ecx + 0x32]
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], 0x34
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x24]
mov dword [esp + 0x70], edx
xor edx, edx
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x1008e47b
nop
mov eax, dword [esp + 0x34]
mov ecx, dword [edi]
mov eax, dword [eax + 0x20]
mov edx, dword [eax + edx*4]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x3b], al
mov al, byte [ecx + 0xa5]
mov byte [esp + 0x47], al
movzx eax, al
push eax
mov dword [esp + 0x80], edx
push edx
mov dl, byte [esp + 0x43]
call fcn.10084b00
add esp, 8
mov dword [esp + 0x18], eax
cmp byte [esp + 0x47], 0
jne 0x1008e3e1
test eax, eax
je 0x1008e3ca
cmp dword [eax + 0xc], 0
jne 0x1008e3e1
push dword [esp + 0x7c]
mov dl, byte [esp + 0x3f]
mov ecx, edi
push eax
call fcn.100848f0
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x20]
dec ecx
cmp dword [esp + 0x10], ecx
mov ecx, esi
cmove eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
cmovne eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x70]
push eax
mov eax, dword [ebp + 0x18]
push dword [esp + 0x30]
inc eax
add eax, edx
mov edx, dword [esp + 0x28]
push eax
call fcn.1005e520
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffffe
push dword [esp + 0x1c]
call fcn.1005f170
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x1008e462
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
movzx eax, word [eax + 0x32]
cmp edx, eax
jl 0x1008e380
mov edx, dword [esp + 0x1c]
lea eax, [edx - 1]
cmp eax, 5
ja case.0x1008e48b.5
jmp dword [eax*4 + 0x1008e830]
push dword [esp + 0xc]
mov ecx, edi
call fcn.10084120
add esp, 4
jmp 0x1008e5da
mov eax, dword [esp + 0x14]
mov ecx, edi
add eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x30]
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.100a12c0
add esp, 0xc
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008e4e5
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008e5da
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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
jmp 0x1008e5da
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, 0
je 0x1008e553
mov edx, dword [esp + 8]
mov ecx, edi
push 0
push 0
push 0x79
call fcn.1009e8d0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x18], edx
test edx, edx
jne 0x1008e589
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x20]
and ecx, 0x4000
or ecx, 0
je 0x1008e597
mov eax, dword [esp + 8]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.10043840
add esp, 4
cmp dword [eax + 8], 0
jne 0x1008e589
mov eax, dword [esp + 8]
cmp dword [eax + 0x10], 0
je 0x1008e597
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov edx, dword [ebp + 0x10]
mov ecx, edi
mov eax, dword [esp + 0x14]
add eax, edx
push eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x10], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x5c]
push dword [esp + 0x54]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
push dword [esp + 0x38]
call fcn.10085cd0
add esp, 0x24
mov dword [esp + 0x58], 1
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0xc]
jne 0x1008e66e
mov edx, dword [esp + 0x60]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x1008e60b
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008e63e
mov edi, 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], 0xb
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1008e653
mov eax, 0x10101774
mov dword [eax + 8], edx
jmp 0x1008e695
mov ecx, dword [esp + 0x64]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1008e695
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008e68c
push edx
mov edx, esi
call fcn.1005ea70
add esp, 4
jmp 0x1008e695
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x24]
je 0x1008e6d1
mov eax, dword [esp + 0x4c]
cmp eax, 1
jne 0x1008e6c6
test ecx, ecx
je 0x1008e6d1
mov al, byte [edi + 0x13]
mov edx, dword [esp + 8]
cmp al, 8
jae 0x1008e6d5
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x1008e6d5
cmp eax, dword [edi + 0x1c]
jle 0x1008e6d1
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x1008dc60
mov edx, dword [esp + 0x54]
test edx, edx
je 0x1008e770
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1008e717
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008e746
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1008e758
mov eax, 0x10101774
jmp 0x1008e76d
mov ecx, dword [esp + 0x6c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 8]
test byte [eax + 0x24], 0x20
jne 0x1008e7f2
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 8]
mov edi, dword [edx + ecx*4]
movsx edx, word [eax + 0x2a]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x68], edi
cmp dword [esi + 0x70], ecx
jg 0x1008e7ac
push edi
push edx
push eax
mov edx, 0x5c
mov ecx, esi
call fcn.1005e4e0
add esp, 0xc
jmp 0x1008e7db
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x33], 0
jne 0x1008e7f2
mov edx, dword [esp + 8]
mov ecx, esi
push 0
call fcn.1008be70
add esp, 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret