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

Disassembly:
sub esp, 0x154
mov eax, dword [0x1030fff4]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
mov ebp, dword [esp + 0x160]
lea eax, [esp + 0x144]
push esi
mov esi, dword [esp + 0x16c]
xor ebx, ebx
push 5
push ebx
push eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x7c], ebx
call sub.VCRUNTIME140.dll_memset
mov eax, ebx
mov dword [esp + 0x50], ebx
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x30], eax
test esi, esi
jne 0x10121167
push 7
pop eax
jmp 0x10121401
movzx edx, word [ebp + 0x18]
movzx ecx, byte [ebp + 0xc]
mov esi, dword [esp + 0x174]
push edi
lea edi, [ecx + edx]
cmp edi, 2
jae 0x10121185
mov dword [esp + 0x64], ebx
jmp 0x101211ab
mov eax, dword [esp + 0x16c]
test eax, eax
jne 0x10121196
mov dword [esp + 0x64], ebx
jmp 0x101211a6
cmp eax, edi
jne 0x101211a1
lea eax, [esi - 2]
add eax, edi
jmp 0x101211a2
dec eax
mov dword [esp + 0x64], eax
push 2
pop edi
sub edi, esi
lea eax, [edi + 1]
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, edx
jne 0x101211cc
movzx ecx, byte [ebp + 9]
add ecx, 8
jmp 0x101211e0
mov eax, dword [ebp + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebp + 0x38]
push ecx
mov dword [esp + 0x48], ecx
call fcn.1014ecdb
push ebx
lea esi, [esp + 0xcc]
mov dword [esp + 0x54], eax
push ebx
lea esi, [esi + edi*4]
mov dword [esp + 0x60], eax
push esi
push eax
push dword [esp + 0x48]
call fcn.1012d12a
add esp, 0x18
jmp 0x1012138f
mov eax, dword [esi]
mov dword [esp + 0x30], edi
cmp dword [eax + 0x14], ebx
jge 0x10121238
push eax
call fcn.10122870
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], ebp
pop ecx
test ebp, ebp
jne 0x10121419
mov eax, edi
dec edi
test eax, eax
je 0x1012144a
mov edx, dword [esp + 0x3c]
mov al, byte [edx + 0xc]
test al, al
je 0x1012129a
mov eax, dword [esp + 0x64]
movzx ecx, word [edx + 0x1c]
add eax, edi
cmp eax, ecx
jne 0x10121297
mov esi, dword [edx + 0x24]
mov ebp, edi
shl ebp, 2
push esi
mov dword [esp + ebp + 0x158], esi
call fcn.1014ecdb
push esi
mov esi, dword [esp + 0x44]
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
call dword [esi + 0x4c]
movzx eax, ax
add esp, 0xc
mov dword [esp + ebp + 0xe4], eax
mov byte [esi + 0xc], bl
jmp 0x10121372
mov al, byte [edx + 0xc]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x30]
movzx eax, al
sub ecx, eax
mov eax, dword [edx + 0x40]
add ecx, ebp
lea ebp, [ebp*4 - 4]
mov dword [esp + 0x24], ebp
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x1a]
movzx esi, cx
and esi, eax
add esi, dword [edx + 0x38]
push esi
mov dword [esp + ebp + 0x158], esi
call fcn.1014ecdb
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
push esi
push eax
call dword [eax + 0x4c]
movzx edx, ax
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov dword [esp + ebp + 0xe4], edx
test byte [eax + 0x18], 0xc
je 0x1012134a
mov eax, dword [esp + 0x3c]
mov ecx, esi
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
mov edx, dword [esp + 0x34]
cmp eax, dword [edx + 0x28]
mov edx, dword [esp + 0x14]
jg 0x10121420
mov eax, dword [esp + 0x7c]
push edx
add eax, ecx
push esi
push eax
lfence
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x48]
add esp, 0xc
sub esi, dword [edx + 0x38]
add esi, dword [esp + 0x7c]
mov dword [esp + ebp + 0x154], esi
jmp 0x1012134e
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x1c]
push eax
movzx eax, byte [edx + 0xc]
push dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x38]
dec eax
add eax, ecx
push eax
push edx
call fcn.10127eca
add esp, 0x10
mov eax, dword [esp + 0x4c]
lea esi, [esp + 0xc4]
push ebx
push ebx
add esi, ebp
push esi
push eax
push dword [esp + 0x44]
call fcn.1012d12a
add esp, 0x14
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x10121214
lea eax, [edi*4 + 4]
push eax
lea eax, [esp + 0xc8]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, dword [esp + 0x40]
mov esi, ebx
test edi, edi
jle 0x101213dd
mov eax, dword [esp + esi*4 + 0xc4]
test eax, eax
je 0x101213d8
push dword [eax + 0x48]
call fcn.1014ef32
pop ecx
inc esi
cmp esi, edi
jl 0x101213c4
mov esi, dword [esp + 0x20]
pop edi
test esi, esi
jle 0x101213ff
mov eax, dword [esp + ebx*4 + 0xcc]
test eax, eax
je 0x101213fa
push dword [eax + 0x48]
call fcn.1014ef32
pop ecx
inc ebx
cmp ebx, esi
jl 0x101213e6
mov eax, ebp
mov ecx, dword [esp + 0x15c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10236000
add esp, 0x154
ret
mov eax, edi
shl eax, 2
jmp 0x101213a8
push 0x11abd
call fcn.10140678
mov ebp, eax
mov eax, dword [esp + 0x28]
add eax, 4
push eax
lea eax, [esp + 0xcc]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
jmp 0x10122242
mov eax, dword [esp + 0x34]
xor edx, edx
push 6
pop esi
push 4
mov ecx, dword [eax + 0x24]
lea eax, [ecx - 8]
div esi
mov esi, eax
pop eax
add esi, eax
imul esi, dword [esp + 0x40]
add esi, 3
and esi, 0xfffffffc
imul edi, esi, 6
lea eax, [edi + ecx]
cdq
push edx
push eax
call fcn.1014ecdb
mov dword [esp + 0x50], eax
mov dword [esp + 0x94], eax
pop ecx
pop ecx
test eax, eax
jne 0x10121494
push 7
pop ebp
jmp 0x101213ba
mov edx, dword [esp + 0x40]
lea ecx, [eax + esi*4]
add eax, edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x30], ebx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x6c], eax
mov al, byte [ecx + 3]
mov ecx, ebx
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x5c], eax
test edx, edx
jle 0x1012171b
mov edi, dword [esp + ecx*4 + 0xc4]
mov dword [esp + 0x14], edi
movzx eax, word [edi + 0x1a]
mov esi, dword [edi + 0x38]
mov ecx, eax
movzx edx, word [edi + 0x18]
mov dword [esp + 0x68], eax
movzx eax, word [edi + 0x12]
add eax, esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x2c], esi
mov ecx, dword [eax + 0x38]
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10121841
movzx eax, byte [edi + 0xc]
mov esi, dword [esp + 0x18]
add eax, edx
add eax, eax
push eax
mov eax, dword [esp + 0x64]
push ebx
lea eax, [eax + esi*2]
push eax
call sub.VCRUNTIME140.dll_memset
mov cl, byte [edi + 0xc]
add esp, 0xc
test cl, cl
je 0x101215ed
movzx eax, word [edi + 0x1c]
mov dword [esp + 0x78], eax
cmp dword [esp + 0x80], eax
jb 0x1012183a
test eax, eax
je 0x101215bb
mov edx, dword [esp + 0x38]
mov ebp, eax
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
mov ax, word [edx]
add edx, 2
mov ch, al
mov cl, ah
movzx eax, di
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x48]
add ecx, ebx
mov dword [eax + esi*4], ecx
inc esi
mov dword [esp + 0x84], esi
sub ebp, 1
jne 0x1012157e
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], esi
mov cl, byte [edi + 0xc]
mov edx, ebx
test cl, cl
je 0x101215ed
mov ebx, dword [esp + 0x48]
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
mov dword [ebx + esi*4], eax
inc esi
push 4
pop eax
add ecx, eax
mov dword [esp + 0x84], esi
movzx eax, byte [edi + 0xc]
inc edx
cmp edx, eax
jl 0x101215c8
mov ebp, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x18], esi
movzx eax, word [edi + 0x12]
add eax, dword [esp + 0x2c]
movzx ecx, word [edi + 0x18]
mov edx, dword [esp + 0x38]
lea eax, [eax + ecx*2]
mov dword [esp + 0x70], eax
cmp edx, eax
jae 0x10121647
mov ebx, dword [esp + 0x2c]
mov ebp, eax
mov edi, dword [esp + 0x68]
mov ax, word [edx]
add edx, 2
mov ch, al
mov cl, ah
movzx eax, di
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x48]
add ecx, ebx
mov dword [eax + esi*4], ecx
inc esi
mov dword [esp + 0x84], esi
cmp edx, ebp
jb 0x10121612
mov ebp, dword [esp + 0x28]
xor ebx, ebx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x30]
mov dword [esp + ecx*4 + 0x10c], esi
cmp ecx, dword [esp + 0x58]
jge 0x1012170a
cmp byte [esp + 0x13], 0
jne 0x1012170a
lfence
mov edx, dword [esp + 0x60]
movzx eax, word [esp + ecx*4 + 0xe4]
push eax
push dword [esp + ecx*4 + 0x158]
mov word [edx + esi*2], ax
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
add esi, edx
add edx, eax
push esi
mov dword [esp + 0x5c], edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x78]
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x18]
push 4
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x70]
sub word [edx + esi*2], ax
cmp byte [edi + 8], 0
jne 0x101216d9
pop eax
push eax
mov eax, dword [edi + 0x38]
add eax, 8
push eax
push dword [ecx + esi*4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x101216fa
pop edi
cmp word [edx + esi*2], di
jae 0x101216fa
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov byte [ecx + eax], bl
inc eax
inc word [edx + esi*2]
cmp word [edx + esi*2], di
jb 0x101216e8
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x30]
inc esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x84], esi
mov edx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, edx
jl 0x101214e5
mov eax, dword [esp + 0x6c]
mov esi, ebx
movzx ecx, ax
mov edi, ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add eax, ecx
mov dword [esp + 0x50], eax
test edx, edx
jle 0x10121853
mov ebp, dword [esp + edi*4 + 0xc4]
mov ecx, dword [esp + edi*4 + 0x10c]
mov eax, dword [ebp + 0x3c]
mov dword [esp + esi*4 + 0x94], eax
mov dword [esp + esi*4 + 0xac], ecx
test esi, esi
je 0x10121777
cmp ecx, dword [esp + esi*4 + 0xa8]
jne 0x10121777
dec esi
mov dword [esp + 0x2c], esi
cmp byte [esp + 0x13], 0
jne 0x1012179b
mov eax, dword [esp + 0x3c]
inc esi
mov dword [esp + 0x2c], esi
mov eax, dword [eax + 0x3c]
mov dword [esp + esi*4 + 0x94], eax
lea eax, [ecx + 1]
mov dword [esp + esi*4 + 0xac], eax
mov eax, dword [esp + 0x50]
sub eax, dword [ebp + 0x14]
cmp byte [ebp + 0xc], 0
mov dword [esp + 0x58], eax
mov dword [esp + edi*4 + 0xe4], eax
mov dword [esp + 0x68], ebx
jbe 0x101217fa
mov esi, dword [esp + 0x68]
lea edi, [ebp + 0x24]
mov ebx, eax
push dword [edi]
push ebp
call dword [ebp + 0x4c]
pop ecx
movzx eax, ax
add eax, 2
pop ecx
add ebx, eax
inc esi
push 4
pop eax
add edi, eax
movzx eax, byte [ebp + 0xc]
cmp esi, eax
jl 0x101217c0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + edi*4 + 0x10c]
mov dword [esp + edi*4 + 0xe4], ebx
xor ebx, ebx
mov dword [esp + edi*4 + 0xf8], ecx
inc edi
inc esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
cmp edi, edx
jl 0x10121746
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
jmp 0x10121857
push 0x11b18
jmp 0x10121846
push 0x11b00
call fcn.10140678
pop ecx
mov ebp, eax
jmp 0x10122242
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x2c], edx
inc ecx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x40], 0
jle 0x10121a16
mov dword [esp + 0x38], ecx
mov esi, ebx
mov edi, dword [esp + esi + 0xe4]
jmp 0x10121923
cmp ecx, edx
jl 0x101218a6
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 5
jg 0x101219ff
mov dword [esp + esi + 0xe8], ebx
mov edi, dword [esp + esi + 0xe4]
mov dword [esp + esi + 0xfc], eax
mov eax, dword [esp + esi + 0xf8]
dec eax
push eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x88]
push eax
call fcn.101238d7
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [esp + 0x18]
add ecx, 2
sub edi, ecx
cmp byte [esp + 0x13], 0
mov dword [esp + esi + 0xe4], edi
jne 0x10121909
cmp dword [esp + esi + 0xf8], eax
jge 0x10121907
push dword [esp + esi + 0xf8]
lea eax, [esp + 0x88]
push eax
call fcn.101238d7
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [esp + 0x18]
add ecx, 2
jmp 0x10121909
mov ecx, ebx
add dword [esp + esi + 0xe8], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov dword [esp + esi + 0xf8], ecx
mov ecx, dword [esp + 0x38]
cmp edi, dword [esp + 0x50]
jg 0x1012187f
mov eax, dword [esp + esi + 0xf8]
cmp eax, dword [esp + 0x18]
jge 0x101219db
mov ebp, eax
lea eax, [esp + 0x84]
push ebp
push eax
call fcn.101238d7
movzx eax, ax
add eax, 2
add edi, eax
pop ecx
pop ecx
cmp edi, dword [esp + 0x50]
jg 0x101219a5
inc ebp
mov dword [esp + esi + 0xe4], edi
cmp byte [esp + 0x13], 0
mov dword [esp + esi + 0xf8], ebp
jne 0x10121994
cmp ebp, dword [esp + 0x18]
jge 0x10121992
lea eax, [esp + 0x84]
push ebp
push eax
call fcn.101238d7
pop ecx
movzx eax, ax
pop ecx
add eax, 2
jmp 0x10121994
mov eax, ebx
sub dword [esp + esi + 0xe8], eax
mov eax, dword [esp + 0x18]
cmp ebp, eax
jl 0x10121940
jmp 0x101219a9
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
cmp ebp, eax
mov ebp, dword [esp + 0x28]
jge 0x101219d7
cmp dword [esp + 0x14], 0
jle 0x101219c5
mov ecx, dword [esp + esi + 0xf4]
jmp 0x101219c7
mov ecx, ebx
cmp dword [esp + 0x30], ecx
jle 0x10121a09
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
jmp 0x101219e1
mov ecx, dword [esp + 0x38]
mov edx, ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
add esi, 4
inc eax
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
cmp eax, edx
jge 0x10121a13
mov eax, dword [esp + 0x18]
jmp 0x10121873
push 0x11b7d
jmp 0x10121846
push 0x11b9e
jmp 0x10121846
xor ecx, ecx
inc ecx
lea eax, [edx - 1]
mov edi, eax
mov dword [esp + 0x70], eax
test edi, edi
jle 0x10121b51
mov eax, dword [esp + edi*4 + 0xe0]
mov ebp, dword [esp + edi*4 + 0xe4]
mov dword [esp + 0x68], eax
lea eax, [esp + 0xf8]
sub eax, 4
mov dword [esp + 0x30], eax
mov eax, dword [eax + edi*4]
mov dword [esp + 0x24], eax
lea esi, [eax - 1]
mov dword [esp + 0x58], esi
lea eax, [esp + 0x84]
sub esi, dword [esp + 0x5c]
inc esi
push esi
push eax
call fcn.101238d7
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
pop ecx
pop ecx
lea eax, [eax + esi*2]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x78], esi
push esi
push eax
mov dword [esp + 0x70], esi
call fcn.101238d7
pop ecx
pop ecx
test ebp, ebp
je 0x10121ad8
cmp dword [esp + 0x178], 0
mov eax, dword [esp + 0x24]
mov edx, eax
jne 0x10121b18
mov eax, dword [esp + 0x60]
mov ecx, ebx
and dword [esp + 0x58], 0
push 2
movzx eax, word [eax + esi*2]
sub ecx, eax
cmp edi, dword [esp + 0x74]
pop eax
cmove eax, dword [esp + 0x58]
sub ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
add eax, 2
add eax, ebp
cmp eax, ecx
jg 0x10121b18
mov edx, dword [esp + 0x14]
push 0xfffffffffffffffe
pop ecx
movzx eax, word [edx]
sub edx, 2
add eax, 2
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x78]
add ebp, eax
mov eax, dword [esp + 0x60]
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x30]
add ebx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
mov dword [eax + edi*4], esi
sub esi, 1
jns 0x10121a7d
jmp 0x10121b1c
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + edi*4 + 0xe4], ebp
mov ebp, dword [esp + 0x28]
inc ecx
mov dword [esp + edi*4 + 0xe0], ebx
push 0
pop ebx
cmp edi, ecx
jbe 0x10121b3e
mov eax, dword [eax + edi*4 - 4]
jmp 0x10121b40
mov eax, ebx
cmp edx, eax
jle 0x10121bb4
dec edi
test edi, edi
jg 0x10121a27
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc4]
mov esi, ebx
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x14], eax
test edx, edx
jle 0x10121c70
cmp esi, dword [esp + 0x40]
jge 0x10121bbe
mov eax, dword [esp + esi*4 + 0xc4]
mov dword [esp + esi*4 + 0xd0], eax
mov dword [esp + esi*4 + 0xc4], ebx
mov dword [esp + 0x24], eax
push dword [eax + 0x48]
call fcn.1014ef73
mov edi, dword [esp + 0x24]
mov ebp, eax
inc edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
pop ecx
test ebp, ebp
jne 0x10122242
jmp 0x10121c60
push 0x11bc8
jmp 0x10121846
cmp dword [esp + 0x178], 0
lfence
mov eax, dword [esp + 0x4c]
push ebx
cmovne eax, ecx
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x44]
call fcn.1011f09e
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x10122242
push dword [esp + 0x14]
mov edi, dword [esp + 0x28]
push edi
call fcn.10177d9c
inc dword [esp + 0x28]
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + esi*4 + 0xd0], edi
mov dword [esp + esi*4 + 0x10c], eax
cmp byte [ecx + 0x11], 0
je 0x10121c54
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x40]
push dword [eax + 4]
push 5
push dword [edi + 4]
push ecx
call fcn.101352bf
mov ebp, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x28], ebp
test ebp, ebp
jne 0x10122242
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
inc esi
push 1
pop ecx
cmp esi, dword [esp + 0x2c]
jl 0x10121b6c
jmp 0x10121c74
mov edi, dword [esp + 0x20]
mov ecx, ebx
test edi, edi
jle 0x10121d7a
mov eax, dword [esp + ecx*4 + 0xd0]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0x134], edx
mov dword [esp + ecx*4 + 0x120], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0x154], ax
mov eax, ebx
test ecx, ecx
jle 0x10121cbd
cmp dword [esp + eax*4 + 0x134], edx
je 0x10121e4a
inc eax
cmp eax, ecx
jl 0x10121cab
inc ecx
cmp ecx, edi
jl 0x10121c7e
mov eax, dword [esp + 0x20]
mov edi, ebx
xor edx, edx
mov esi, ebx
inc edx
mov ecx, edx
cmp eax, edx
jle 0x10121cfb
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x5c], ebx
mov edx, ecx
shl edx, 2
mov eax, dword [esp + edx + 0x120]
cmp eax, dword [esp + ebx + 0x120]
cmovb esi, ecx
cmovb ebx, edx
inc ecx
cmp ecx, ebp
jl 0x10121cdb
xor ebx, ebx
mov eax, dword [esp + esi*4 + 0x120]
or dword [esp + esi*4 + 0x120], 0xffffffff
mov dword [esp + 0x5c], eax
cmp esi, edi
je 0x10121d67
jle 0x10121d3a
mov eax, dword [esp + 0x34]
xor edx, edx
lfence
mov ecx, dword [eax + 0x30]
mov eax, dword [esp + esi*4 + 0xd0]
inc ecx
add ecx, esi
push ecx
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], dx
call fcn.1014f738
pop ecx
pop ecx
mov eax, dword [esp + edi*4 + 0xd0]
mov ecx, dword [eax + 0x48]
mov ax, word [esp + esi*2 + 0x154]
mov esi, dword [esp + 0x5c]
push esi
push ecx
mov word [ecx + 0x1c], ax
call fcn.1014f738
mov eax, dword [esp + edi*4 + 0xd8]
pop ecx
pop ecx
mov dword [eax + 4], esi
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x10121cc8
mov ebp, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + edi*4 + 0xcc]
push dword [eax + 4]
push dword [esp + 0x48]
call fcn.1014ecdb
test byte [esp + 0x1c], 8
pop ecx
pop ecx
jne 0x10121dd4
mov ecx, dword [esp + 0x40]
cmp ecx, edi
je 0x10121dd4
push 4
pop eax
push eax
lea edx, [esp + 0xc8]
lea eax, [esp + 0xd4]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax + 0x38]
add eax, 8
push eax
mov eax, dword [esp + edi*4 + 0xd4]
mov eax, dword [eax + 0x38]
add eax, 8
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x11], 0
je 0x10121f62
mov esi, dword [esp + 0xd0]
mov ecx, ebx
mov dword [esp + 0x44], ebx
mov edi, ebx
mov dword [esp + 0x38], ecx
movzx eax, byte [esi + 0xc]
movzx edx, word [esi + 0x18]
add edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
test eax, eax
jle 0x10121f69
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x48]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x54], edx
cmp edi, dword [esp + 0x4c]
jne 0x10121e87
mov ebx, dword [esp + 0x38]
xor edx, edx
cmp byte [esp + 0x13], dl
mov ebp, dword [esp + 0x20]
sete dl
inc ebx
lfence
cmp ebx, ebp
jge 0x10121e54
mov esi, dword [esp + ebx*4 + 0xd0]
jmp 0x10121e5b
push 0x11c12
jmp 0x10121846
mov esi, dword [esp + ebx*4 + 0xc4]
movzx eax, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
add eax, edx
add ecx, eax
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x4c], eax
cmp edi, eax
je 0x10121e39
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], ebx
xor ebx, ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
cmp edi, dword [esp + edx + 0xf8]
jne 0x10121ebc
mov edx, dword [esp + 0x44]
inc edx
mov dword [esp + 0x44], edx
shl edx, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x24], edx
mov edx, dword [esp + edx + 0xd0]
mov dword [esp + 0x14], edx
je 0x10121f55
jmp 0x10121ec0
mov edx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x20]
jge 0x10121ee2
mov eax, dword [edx + 4]
cmp eax, dword [esp + ecx*4 + 0x134]
mov eax, dword [esp + 0x54]
jne 0x10121ee6
cmp eax, dword [esi + 0x38]
jb 0x10121ee6
cmp eax, dword [esi + 0x3c]
jb 0x10121f51
jmp 0x10121ee6
mov eax, dword [esp + 0x54]
cmp word [esp + 0x6c], 0
jne 0x10121f14
lea ecx, [esp + 0x1c]
push ecx
push dword [edx + 4]
push 5
push eax
call fcn.1014ecdb
pop ecx
push eax
push dword [esp + 0x44]
call fcn.101352bf
mov ebp, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x84]
push edi
push eax
call fcn.101238d7
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
cmp ax, word [ecx + 0x10]
jbe 0x10121f49
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x58]
push esi
push ecx
call fcn.1014ecdb
mov ebp, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x28], ebp
test ebp, ebp
jne 0x10122242
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x10121e17
mov esi, dword [esp + 0xd0]
mov eax, dword [esp + 0x20]
mov edi, ebx
dec eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x5c], eax
test eax, eax
jle 0x1012207b
mov ecx, dword [esp + edi*4 + 0xf8]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + edi*4 + 0xd0]
mov ebx, dword [esp + 0x6c]
movzx esi, bx
mov edi, dword [eax + ecx*4]
mov eax, dword [esp + 0x60]
push 0
pop ebx
movzx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x7c]
add esi, edx
add eax, dword [esp + 0x74]
cmp byte [ebp + 8], 0
mov dword [esp + 0x14], eax
jne 0x10121fd1
push 4
pop eax
push eax
mov eax, dword [ebp + 0x38]
add eax, 8
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x1012202f
cmp byte [esp + 0x13], 0
je 0x10122017
lea eax, [esp + 0x134]
push eax
mov eax, dword [esp + 0x4c]
push dword [eax + ecx*4 - 4]
push ebp
call dword [ebp + 0x50]
push dword [esp + 0x144]
mov eax, dword [esp + 0x24]
mov edi, eax
push dword [esp + 0x144]
add eax, 4
push eax
call fcn.1014ecdb
add esp, 0x18
mov esi, eax
push 4
pop eax
add esi, eax
mov eax, ebx
jmp 0x10122033
push 4
pop ecx
sub edi, ecx
cmp dx, cx
jne 0x10122033
mov eax, dword [esp + 0x3c]
push edi
push eax
call dword [eax + 0x4c]
pop ecx
pop ecx
movzx esi, ax
mov eax, dword [esp + 0x14]
add dword [esp + 0x74], esi
lea ecx, [esp + 0x1c]
push ecx
push dword [ebp + 4]
push eax
mov eax, dword [esp + 0x70]
push esi
push edi
mov edi, dword [esp + 0x58]
add eax, edi
push eax
push dword [esp + 0x54]
call fcn.1012e1c6
mov ebp, dword [esp + 0x38]
add esp, 0x1c
test ebp, ebp
jne 0x10122242
inc edi
mov dword [esp + 0x44], edi
cmp edi, dword [esp + 0x5c]
jl 0x10121f80
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0x20]
xor ecx, ecx
inc ecx
sub ecx, edi
mov dword [esp + 0x44], ecx
cmp ecx, edi
jge 0x1012216c
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x5c], eax
mov eax, ecx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [esp + esi + 0x14c], 0
jne 0x10122158
test ecx, ecx
jns 0x101220ca
mov eax, dword [esp + esi*4 + 0x108]
cmp eax, dword [esp + esi*4 + 0xf4]
jl 0x10122158
test esi, esi
jne 0x101220d8
mov edx, dword [esp + 0x5c]
mov eax, ebx
mov ecx, ebx
jmp 0x10122110
cmp esi, dword [esp + 0x40]
jge 0x101220f3
xor eax, eax
cmp byte [esp + 0x13], al
lfence
sete al
add eax, dword [esp + esi*4 + 0x108]
jmp 0x101220f7
mov eax, dword [esp + 0x18]
mov edx, dword [esp + esi*4 + 0xf8]
xor ecx, ecx
cmp byte [esp + 0x13], cl
sete cl
add ecx, dword [esp + esi*4 + 0xf4]
sub edx, ecx
lea ebp, [esp + 0x84]
push ebp
push edx
push ecx
push eax
push dword [esp + esi*4 + 0xe0]
call fcn.1012807c
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x10122242
mov eax, dword [esp + esi*4 + 0xd0]
inc byte [esp + esi + 0x14c]
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + esi*4 + 0xe4]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
cmp ecx, edi
jl 0x1012209b
mov esi, dword [esp + 0xd0]
cmp dword [esp + 0x174], 0
je 0x101221c5
mov edi, dword [esp + 0x3c]
cmp word [edi + 0x18], bx
jne 0x101221c1
movzx eax, byte [edi + 9]
cmp eax, dword [esi + 0x14]
jg 0x101221c1
push 0xffffffffffffffff
push esi
call fcn.10127782
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push edi
push dword [esp + 0xe0]
call fcn.10126f48
lea eax, [esp + 0x30]
push eax
push dword [esp + 0xe8]
call fcn.1012c021
mov edi, dword [esp + 0x3c]
add esp, 0x1c
jmp 0x10122214
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x11], 0
je 0x10122218
cmp word [esp + 0x6c], 0
jne 0x10122218
mov esi, ebx
test edi, edi
jle 0x10122218
mov ebx, eax
mov eax, dword [esp + esi*4 + 0xd0]
mov eax, dword [eax + 0x38]
add eax, 8
push eax
call fcn.1014ecdb
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + esi*4 + 0xd8]
push dword [ecx + 4]
push 5
push eax
push ebx
call fcn.101352bf
add esp, 0x18
inc esi
cmp esi, edi
jl 0x101221df
xor ebx, ebx
mov ebp, dword [esp + 0x1c]
mov esi, edi
cmp edi, dword [esp + 0x40]
jge 0x10122242
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x1c]
push eax
push dword [esp + esi*4 + 0xc8]
call fcn.1012c021
inc esi
pop ecx
pop ecx
cmp esi, ebx
jl 0x10122224
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x101213ba
push eax
call fcn.10117750
pop ecx
jmp 0x101213ba