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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x102514b8]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov dword [esp + 0x18], edx
mov edi, ecx
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
xor eax, eax
or ecx, 0xffffffff
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
cmp dword [edi + 0x44], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], eax
mov eax, dword [edi]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x58], eax
movdqa xmmword [esp + 0xa0], xmm0
jne 0x10122a3c
cmp byte [eax + 0x38], 0
jne 0x10122a3c
cmp dword [edx + 0x10], 0
je 0x10122a3c
mov ecx, edi
call fcn.1011a1c0
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
je 0x10122a34
mov ecx, dword [esp + 0x58]
mov edx, dword [esi + 0x40]
call fcn.10128490
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.10114540
add esp, 0xc
test eax, eax
jne 0x10122a34
lea eax, [esp + 0x38]
mov edx, esi
push eax
push 0
push 0x69
mov ecx, edi
call fcn.10132b40
mov dword [esp + 0x74], eax
add esp, 0xc
xor eax, eax
mov edx, esi
cmp dword [esi + 0xc], eax
mov ecx, edi
setne al
mov dword [esp + 0x6c], eax
call fcn.10116a20
test eax, eax
jne 0x10122a34
push dword [esp + 0x38]
mov edx, esi
mov ecx, edi
call fcn.1011a250
add esp, 4
test eax, eax
jne 0x10122a34
mov ecx, edi
call fcn.1012b190
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x10122a34
cmp byte [edi + 0x12], 0
jne 0x101217eb
or dword [esi + 0x64], 0x10
cmp dword [esp + 0x24], 0
jne 0x101217fd
cmp dword [esp + 0x68], 0
jne 0x101217fd
xor edx, edx
jmp 0x10121802
mov edx, 1
push dword [esp + 0x14]
mov ecx, edi
call fcn.10119290
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x10121838
push dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, edi
push dword [ebp + 0x14]
push dword [esp + 0x2c]
call fcn.10124070
add esp, 0xc
test eax, eax
jne 0x10122934
push dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.10120920
mov dword [esp + 0x40], eax
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x101219a9
lea ecx, [esp + 0xa0]
mov edx, eax
push ecx
mov ecx, edi
call fcn.10121440
add esp, 4
test eax, eax
jne 0x10122a34
mov eax, dword [esp + 0xa4]
inc eax
cmp dword [esp + 0x68], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
jne 0x101218ba
push dword [esp + 8]
mov ecx, edi
push dword [esp + 0x18]
call fcn.10120860
add esp, 8
test eax, eax
je 0x10121a29
mov edx, dword [edi + 0x48]
mov ecx, edi
mov dword [esp + 0x54], 1
mov dword [esp + 0x40], edx
lea eax, [edx + 1]
mov dword [edi + 0x48], eax
call fcn.10110bc0
mov dword [esp + 0x34], eax
call fcn.10110bc0
push dword [esp + 0x44]
mov ecx, esi
mov dword [esp + 0x18], eax
push edx
mov edx, 0x2a
call fcn.100fb3f0
push dword [esp + 0xac]
mov edx, 4
mov ecx, esi
call fcn.100fb390
add esp, 0xc
mov edx, 0x1b
mov ecx, esi
mov edi, eax
push dword [esp + 0x1c]
call fcn.100fb390
add esp, 4
mov dword [esp + 0x30], eax
mov edx, 0x1f
mov ecx, esi
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x7c]
call fcn.100fb2d0
add esp, 0xc
mov edx, 0x38
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x44]
call fcn.100fb3f0
push dword [esp + 0x1c]
mov edx, 0x39
mov ecx, esi
push dword [esp + 0x40]
push dword [esp + 0x50]
call fcn.100fb2d0
add esp, 0x14
mov edx, 1
mov ecx, esi
push edi
push 0
call fcn.100fb3f0
mov edx, dword [esp + 0x38]
add esp, 8
mov ecx, esi
call fcn.100fb830
mov edi, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [esp + 0x34]
call fcn.10110be0
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.10110be0
jmp 0x10121a29
mov ecx, dword [esp + 0x50]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x40], 0xffffffff
test ecx, ecx
je 0x101219d9
mov eax, dword [ecx]
jmp 0x101219db
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x10121a29
xor eax, eax
mov dword [esp + 0x4c], eax
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x80]
mov edx, dword [eax + edx]
call fcn.1010b6f0
test eax, eax
jne 0x10122a34
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
inc ecx
add eax, 0x18
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
jl 0x101219f1
mov edx, dword [esp + 8]
test byte [edx + 0x2a], 0x10
je 0x10121ac4
movsx ecx, word [edx + 0x26]
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 0
cmp ecx, 2
jl 0x10121a9c
movsx eax, word [edx + 0x26]
mov ecx, dword [edx + 4]
add eax, 0xfffffffe
shr eax, 1
add ecx, 0x2e
inc eax
mov dword [esp + 0x30], eax
add eax, eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
movzx eax, word [ecx - 0x18]
lea ecx, [ecx + 0x30]
shr eax, 1
and eax, 1
add dword [esp + 0x34], eax
movzx eax, word [ecx - 0x30]
shr eax, 1
and eax, 1
add dword [esp + 0x14], eax
dec edi
jne 0x10121a70
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
movsx ecx, word [edx + 0x26]
cmp eax, ecx
jge 0x10121ab4
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
movzx eax, word [eax + ecx*8 + 0x16]
shr eax, 1
and eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add ecx, eax
jmp 0x10121ac6
xor ecx, ecx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10121bcd
cmp dword [esp + 0x44], eax
je 0x10121b01
movsx eax, word [edx + 0x26]
sub eax, ecx
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x10121b05
push ecx
push eax
push 0
push dword [esp + 0x24]
push 0x1022cde0
push edi
call fcn.100e18e0
add esp, 0x18
jmp 0x10122a34
mov ecx, dword [esp + 0x44]
test ecx, ecx
jle 0x10121b11
movsx ecx, word [edx + 0x24]
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x20]
test byte [eax + 0x18], 0x10
je 0x10121b3e
inc dword [edi + 0x4c]
mov edx, 7
mov eax, dword [edi + 0x4c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x84], eax
call fcn.100fb3f0
add esp, 8
cmp dword [esp + 0x6c], 0
jne 0x10121ba2
mov eax, dword [edi + 0x48]
mov ecx, edi
mov edx, dword [esp + 8]
push 0x28
push eax
mov dword [esp + 0x64], eax
call fcn.10123e60
mov ecx, dword [esp + 0x60]
add esp, 8
mov dword [esp + 0x30], eax
lea edx, [eax*4 + 4]
call fcn.100df8a0
mov dword [esp + 0x64], eax
test eax, eax
je 0x10122a34
mov edx, dword [esp + 0x30]
xor ecx, ecx
test edx, edx
jle 0x10121ba2
mov esi, eax
lea esp, [esp]
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x10121b90
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x54], 0
je 0x10121d32
push dword [esp + 0x40]
mov edx, 0x48
mov ecx, esi
call fcn.100fb390
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x7c], eax
jmp 0x10121d67
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x10121bed
push eax
push ecx
push 0x1022cdc4
push edi
call fcn.100e18e0
add esp, 0x10
jmp 0x10122a34
mov edi, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
jle 0x10121c10
jmp 0x10121c00
mov eax, dword [edi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edi + 4]
jl 0x10121c00
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 4], ecx
jle 0x10121b11
nop
movsx eax, word [edx + 0x26]
xor edi, edi
mov dword [esp + 0x30], eax
test eax, eax
jle 0x10121c9a
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [eax + ecx*8]
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
push dword [eax]
push dword [ecx]
call fcn.100e19e0
add esp, 8
test eax, eax
je 0x10121c72
mov eax, dword [esp + 0x2c]
inc edi
mov ecx, dword [esp + 0x4c]
add eax, 0x18
mov dword [esp + 0x2c], eax
cmp edi, dword [esp + 0x30]
jl 0x10121c42
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
jmp 0x10121c9a
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edi
movsx eax, word [edx + 0x24]
cmp edi, eax
mov eax, dword [esp + 0x48]
cmove eax, ecx
mov dword [esp + 0x48], eax
movsx eax, word [edx + 0x26]
cmp edi, eax
jl 0x10121ced
mov eax, dword [esp + 0x10]
push 0x1022ba2c
mov eax, dword [eax]
mov edi, dword [eax + ecx*8]
push edi
call fcn.100e19e0
add esp, 8
test eax, eax
je 0x10121ce1
push 0x1022ba50
push edi
call fcn.100e19e0
add esp, 8
test eax, eax
je 0x10121ce1
push 0x1022ba4c
push edi
call fcn.100e19e0
add esp, 8
test eax, eax
jne 0x10121d04
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x10121c20
jmp 0x10121b11
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov eax, dword [eax]
push dword [eax + ecx*8]
push 0
push dword [esp + 0x20]
push 0x1022ce24
push esi
call fcn.100e18e0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x10122a34
cmp dword [esp + 0x24], 0
je 0x10121d6a
push dword [esp + 0xa4]
mov edx, 4
mov ecx, esi
call fcn.100fb390
add esp, 4
mov dword [esp + 0x78], eax
mov edx, 0x1b
mov ecx, esi
push dword [esp + 0x1c]
call fcn.100fb390
mov dword [esp + 0x74], eax
add esp, 4
mov ecx, dword [edi + 0x4c]
mov edx, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
movsx eax, word [edx + 0x26]
inc eax
add eax, ecx
mov dword [edi + 0x4c], eax
test byte [edx + 0x2a], 0x10
je 0x10121d9b
mov ecx, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esp + 0x28], ecx
mov dword [edi + 0x4c], eax
jmp 0x10121d9f
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.100fb5f0
test byte [esp + 0x38], 1
mov dword [esp + 0x34], eax
je 0x10122093
mov eax, dword [esp + 8]
mov edx, dword [edi + 0x3c]
movsx ecx, word [eax + 0x26]
mov eax, dword [edi + 0x40]
inc ecx
mov dword [esp + 0x1c], eax
cmp ecx, edx
jg 0x10121de3
add eax, ecx
sub edx, ecx
mov dword [edi + 0x3c], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x40], eax
jmp 0x10121df2
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], edx
mov dword [edi + 0x4c], eax
mov eax, dword [esp + 0x48]
push edx
test eax, eax
jns 0x10121e11
push 0xffffffffffffffff
mov edx, 7
mov ecx, esi
call fcn.100fb3f0
add esp, 8
jmp 0x10121e9d
cmp dword [esp + 0x58], 0
je 0x10121e2e
push eax
push dword [esp + 0x48]
mov edx, 0x1d
mov ecx, esi
call fcn.100fb2d0
add esp, 0xc
jmp 0x10121e45
mov ecx, dword [esp + 0x54]
lea eax, [eax + eax*2]
mov edx, dword [ecx + 8]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.1010faa0
add esp, 4
push dword [esp + 0x1c]
mov edx, 0x4a
mov ecx, esi
call fcn.100fb390
add esp, 4
mov dword [esp + 0xc], eax
mov edx, 7
mov ecx, esi
push dword [esp + 0x1c]
push 0xffffffffffffffff
call fcn.100fb3f0
mov eax, dword [esp + 0x14]
add esp, 8
test eax, eax
js 0x10121e8a
mov edx, dword [esi + 0x1c]
cmp edx, eax
jbe 0x10121e8a
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
push dword [esp + 0x1c]
mov edx, 0x15
mov ecx, esi
call fcn.100fb390
add esp, 4
mov edx, dword [esp + 8]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], ecx
cmp ax, word [edx + 0x26]
jge 0x10121fce
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10121ec3
mov edi, ecx
jmp 0x10121ee8
xor edi, edi
cmp dword [eax + 4], edi
jle 0x10121ee8
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
add eax, 4
cmp dword [eax], ecx
je 0x10121ee0
inc edi
add eax, 8
cmp edi, dword [edx + 4]
jl 0x10121ed3
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x54], 0
jne 0x10121ef6
cmp dword [esp + 0x50], 0
je 0x10121eff
test eax, eax
je 0x10121f25
cmp edi, dword [eax + 4]
jl 0x10121f25
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 4]
inc eax
mov edi, dword [esp + 0x20]
add eax, ecx
push eax
mov eax, dword [esp + 0x30]
mov ecx, edi
mov edx, dword [edx + eax + 4]
call fcn.1010faa0
add esp, 4
jmp 0x10121fb0
cmp dword [esp + 0x54], 0
je 0x10121f87
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x10121f4b
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x10121fac
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
inc edi
mov word [eax + ecx*4], 0x1d
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x40]
mov byte [ecx + 3], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
add eax, edi
mov dword [ecx + 0x10], 0
mov edi, dword [esp + 0x20]
mov dword [ecx + 0xc], eax
jmp 0x10121fb4
mov eax, dword [esp + 0x1c]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x50]
push eax
lea eax, [edi + edi*2]
mov edi, dword [esp + 0x24]
mov edx, dword [ecx + 8]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.1010fb40
add esp, 4
jmp 0x10121fb0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
movsx eax, word [edx + 0x26]
inc ecx
add dword [esp + 0x2c], 0x18
mov dword [esp + 0x4c], ecx
cmp ecx, eax
jl 0x10121eb7
cmp dword [esp + 0x6c], 0
jne 0x10122038
movsx eax, word [edx + 0x26]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x10121ff8
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x1012202d
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov edx, dword [esp + 8]
mov ecx, esi
call fcn.101207e0
mov edx, dword [esp + 8]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
push dword [ebp + 0x14]
movsx eax, word [edx + 0x26]
sub ecx, eax
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x78]
mov ecx, edi
push 1
push 0
push 0x69
call fcn.101332f0
mov eax, dword [esp + 0x24]
add esp, 0x1c
mov edx, dword [esp + 0x1c]
mov ecx, edi
movsx eax, word [eax + 0x26]
inc eax
push eax
mov dword [esp + 0x10], eax
call fcn.1010e5a0
mov eax, dword [esp + 0x10]
add esp, 4
cmp eax, dword [edi + 0x3c]
jle 0x10122093
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x40], eax
cmp dword [esp + 0x6c], 0
jne 0x10122674
mov eax, dword [esp + 8]
test byte [eax + 0x2a], 0x10
je 0x101220fb
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x101220c3
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x101220f7
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
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 [esp + 8]
mov ecx, dword [esp + 0x48]
test ecx, ecx
js 0x10122247
cmp dword [esp + 0x54], 0
mov edx, dword [esp + 0x28]
push edx
je 0x1012218e
push ecx
push dword [esp + 0x48]
mov edx, 0x1d
mov ecx, esi
call fcn.100fb2d0
add esp, 0xc
mov eax, dword [esp + 8]
test byte [eax + 0x2a], 0x10
jne 0x10122218
push dword [esp + 0x28]
mov edx, 0x4a
mov ecx, esi
call fcn.100fb390
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov edx, 0x38
mov ecx, esi
push dword [esp + 0x3c]
push dword [esp + 0x2c]
push eax
call fcn.100fb2d0
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
js 0x10122232
mov edx, dword [esi + 0x1c]
cmp edx, eax
jbe 0x10122232
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
jmp 0x10122232
cmp dword [esp + 0x28], 0
je 0x101221b0
mov eax, dword [esp + 0x78]
mov edx, 0xf
add eax, ecx
mov ecx, esi
push eax
call fcn.100fb3f0
add esp, 8
jmp 0x10122127
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 8]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.1010faa0
mov eax, dword [esi]
add esp, 4
mov ecx, dword [esi + 0x1c]
dec ecx
cmp byte [eax + 0x38], 0
je 0x101221da
mov ecx, 0x10266434
jmp 0x101221eb
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x10122127
cmp byte [ecx], 0xa
mov eax, dword [esp + 8]
jne 0x1012212b
test byte [eax + 0x2a], 0x10
jne 0x10122218
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
mov byte [ecx], 0x38
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x1012227e
mov eax, dword [esi + 0x1c]
mov edx, 0x49
add eax, 2
mov ecx, esi
push eax
push dword [esp + 0x2c]
call fcn.100fb3f0
add esp, 8
push dword [esp + 0x28]
mov edx, 0x15
mov ecx, esi
call fcn.100fb390
add esp, 4
jmp 0x10122286
test byte [eax + 0x2a], 0x10
mov ecx, esi
je 0x10122264
push dword [esp + 0x28]
mov edx, 0xa
push 0
call fcn.100fb3f0
add esp, 8
jmp 0x10122286
push dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
mov edx, 0x38
push dword [esp + 0x2c]
push eax
call fcn.100fb2d0
add esp, 0xc
mov dword [esp + 0x60], 1
cmp dword [esp + 0x3c], 0
jle 0x101222e7
mov eax, dword [edi + 8]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x38], ecx
cmp dword [eax + 0x20], ecx
jg 0x101222b3
mov ecx, eax
call fcn.100fb250
test eax, eax
jne 0x101222e7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
inc dword [eax + 0x1c]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x77
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 8]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], ecx
cmp ax, word [edx + 0x26]
jge 0x1012246d
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x3c], eax
movsx eax, word [edx + 0x24]
cmp ecx, eax
jne 0x1012237e
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x10122345
mov ecx, esi
call fcn.100fb250
mov edx, dword [esp + 8]
test eax, eax
jne 0x10122453
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x3c]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1012244f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x101223a9
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x1c]
test byte [eax + edx + 0x16], 2
mov edx, dword [esp + 8]
je 0x101223a1
inc dword [esp + 0x2c]
jmp 0x1012255f
mov edi, ecx
sub edi, dword [esp + 0x2c]
jmp 0x101223d1
xor edi, edi
cmp dword [eax + 4], edi
jle 0x101223dd
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
add eax, 4
lea esp, [esp]
cmp dword [eax], ecx
je 0x101223cd
inc edi
add eax, 8
cmp edi, dword [edx + 4]
jl 0x101223c0
mov edx, dword [esp + 8]
test edi, edi
js 0x1012255b
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x44], 0
je 0x1012255b
test eax, eax
je 0x101223f5
cmp edi, dword [eax + 4]
jge 0x1012255b
cmp dword [esp + 0x54], 0
je 0x101224ce
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x1012241b
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x1012244b
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
movsx eax, word [edx + 0x26]
inc ecx
add dword [esp + 0x1c], 0x18
mov dword [esp + 0x38], ecx
cmp ecx, eax
jl 0x10122310
test byte [edx + 0x2a], 0x10
je 0x10122603
mov edi, dword [edx + 0x38]
test edi, edi
je 0x1012248d
mov eax, dword [esp + 0x58]
cmp dword [edi], eax
je 0x1012248d
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x10122482
mov ecx, dword [esp + 0x20]
call fcn.10137320
mov eax, dword [esp + 8]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x38], edx
movsx eax, word [eax + 0x26]
add eax, 2
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], edx
jg 0x10122585
mov ecx, esi
call fcn.100fb250
test eax, eax
je 0x10122581
mov edx, 1
jmp 0x101225bd
cmp dword [esp + 0x24], 0
je 0x10122533
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x101224f8
mov ecx, esi
call fcn.100fb250
mov edx, dword [esp + 8]
test eax, eax
jne 0x1012244f
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x74]
add eax, edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], eax
jmp 0x1012244f
mov ecx, dword [esp + 0x50]
lea eax, [edi + edi*2]
push dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov edx, dword [ecx + 8]
mov ecx, edi
mov edx, dword [edx + eax*8]
call fcn.1010faa0
mov edx, dword [esp + 0xc]
add esp, 4
jmp 0x10122453
mov edi, dword [esp + 0x20]
mov edx, dword [edx + 4]
mov ecx, edi
mov eax, dword [esp + 0x1c]
push dword [esp + 0x3c]
mov edx, dword [edx + eax + 4]
call fcn.1010faa0
mov edx, dword [esp + 0xc]
add esp, 4
jmp 0x10122453
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x8c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff6
push edi
mov ecx, esi
call fcn.100fb9a0
mov edx, dword [esi + 4]
add esp, 8
test edx, edx
je 0x101225ec
mov eax, dword [ebp + 0x14]
mov edi, 2
movzx ecx, al
cmp eax, 0x63
mov eax, dword [esi + 0x1c]
cmove ecx, edi
lea eax, [eax + eax*4]
mov byte [edx + eax*4 - 0x11], cl
mov edi, dword [esp + 0x20]
mov ecx, edi
mov eax, dword [edi + 0x1b0]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x18], 1
jmp 0x10122674
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x38]
xor eax, eax
test ecx, ecx
push dword [ebp + 0x14]
setns al
mov ecx, edi
push 0
push eax
push dword [esp + 0x78]
push dword [esp + 0x2c]
push dword [esp + 0x78]
call fcn.10122b10
push dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
call fcn.1011f2f0
mov edx, dword [esp + 0x30]
xor eax, eax
cmp dword [esp + 0x34], eax
mov ecx, edi
sete al
push eax
push dword [esp + 0x8c]
push 0
push dword [esp + 0x98]
push dword [esp + 0x4c]
push dword [esp + 0x98]
call fcn.10123bc0
add esp, 0x40
mov eax, dword [esp + 0x58]
test byte [eax + 0x18], 0x10
je 0x101226cd
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x10122699
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x101226cd
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x68], 0
je 0x10122702
mov ecx, dword [esp + 8]
push dword [esp + 0x34]
mov edx, dword [esp + 0x34]
push dword [ebp + 0x14]
movsx eax, word [ecx + 0x26]
sub edx, eax
sub edx, 2
push edx
mov edx, dword [esp + 0x74]
push ecx
push 2
push 0
push 0x69
mov ecx, edi
call fcn.101332f0
add esp, 0x1c
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1012271b
mov eax, dword [esp + 0x34]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
cmp dword [esp + 0x54], 0
je 0x101227e3
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x10122741
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x10122775
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 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 [esp + 0x70]
test eax, eax
js 0x1012278e
mov edx, dword [esi + 0x1c]
cmp edx, eax
jbe 0x1012278e
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x101227ad
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x10122852
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x2d
mov byte [eax + ecx*4 + 3], 0
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 0x10122852
cmp dword [esp + 0x24], 0
je 0x10122852
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x10122805
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x10122839
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 [esp + 0x70]
test eax, eax
js 0x10122852
mov edx, dword [esi + 0x1c]
cmp edx, eax
jbe 0x10122852
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [esp + 8]
test byte [eax + 0x2a], 0x10
jne 0x10122934
cmp dword [esp + 0x6c], 0
jne 0x10122934
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x20], eax
jg 0x10122886
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x101228bc
mov eax, dword [esp + 0xc]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x2d
mov byte [eax + ecx*4 + 3], 0
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 0x101228c0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10122934
lea eax, [edx + 1]
mov dword [esp + 0x60], eax
mov edi, dword [esi + 0x1c]
cmp dword [esi + 0x20], edi
jg 0x101228e9
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x1012291d
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x2d
mov byte [eax + ecx*4 + 3], 0
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]
inc dword [esp + 0x60]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x101228d6
mov edi, dword [esp + 0x20]
cmp byte [edi + 0x12], 0
jne 0x1012294a
cmp dword [edi + 0x1b4], 0
jne 0x1012294a
mov ecx, edi
call fcn.10120eb0
mov eax, dword [esp + 0x58]
test byte [eax + 0x18], 0x10
je 0x10122a34
cmp byte [edi + 0x12], 0
jne 0x10122a34
cmp dword [edi + 0x1b4], 0
jne 0x10122a34
mov edi, dword [esi + 0x1c]
cmp dword [esi + 0x20], edi
jg 0x10122982
mov ecx, esi
call fcn.100fb250
test eax, eax
jne 0x101229b6
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x1c]
mov edx, dword [esp + 0x7c]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, esi
call fcn.100fc9f0
mov eax, dword [esi]
cmp byte [eax + 0x38], 0
jne 0x10122a34
mov edi, dword [esi + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x101229d8
mov eax, dword [eax + 0x50]
jmp 0x101229dd
mov eax, 0x3b9aca00
xor esi, esi
test eax, eax
js 0x101229f1
cmp byte [esi + 0x1022ce14], 0
je 0x101229f1
inc esi
cmp esi, eax
jle 0x101229e3
xor eax, eax
mov ecx, edi
cmp eax, 0x100df590
jne 0x10122a0f
call fcn.100fa0c0
mov dword [edi + 0x24], 0x1022ce14
mov eax, 0x202
jmp 0x10122a19
call fcn.100fa0c0
mov eax, 0xa02
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0x1022ce14
mov dword [edi + 0x18], esi
mov word [edi + 0x1c], ax
mov word [edi + 0x1e], 0x103
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x58]
mov ecx, edi
call fcn.10118b80
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.1010d0e0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10122ae2
mov edx, dword [eax]
mov ecx, edi
call fcn.1010d0e0
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x28]
call fcn.10118b80
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x2c]
call fcn.1010c4d0
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x30]
call fcn.1010d0e0
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x34]
call fcn.1010c4d0
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x38]
call fcn.1010d0e0
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x3c]
call fcn.10128db0
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x48]
call fcn.1010c4d0
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [eax + 0x4c]
call fcn.1010c4d0
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.100df640
mov edx, esi
mov ecx, edi
call fcn.101187f0
mov edx, dword [esp + 0x64]
mov ecx, edi
call fcn.100df640
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.1016198b
mov esp, ebp
pop ebp
ret