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

Disassembly:
sub esp, 0x12c
mov eax, dword [0x6651c0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
lea eax, [esp + 0x12c]
push edi
mov edi, dword [esp + 0x148]
xor ebx, ebx
push 5
mov ebp, ebx
mov dword [esp + 0x50], esi
push ebx
push eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], ebx
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [esp + 0x8c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x34]
add esp, 0x18
mov dword [esp + 0x40], eax
test edi, edi
jne 0x53606f
push 7
pop eax
jmp 0x537140
movzx edx, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
lea edi, [ecx + edx]
cmp edi, 2
jae 0x536085
mov dword [esp + 0x48], ebx
jmp 0x5360bd
mov eax, dword [esp + 0x144]
test eax, eax
jne 0x536096
mov dword [esp + 0x48], ebx
jmp 0x5360b1
cmp eax, edi
jne 0x5360ac
mov eax, dword [esp + 0x150]
add edi, 0xfffffffe
add edi, eax
mov dword [esp + 0x48], edi
jmp 0x5360b8
dec eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x150]
push 2
pop edi
sub edi, eax
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
sub eax, ecx
lea ecx, [eax + edi]
cmp ecx, edx
jne 0x5360da
movzx ecx, byte [esi + 9]
add ecx, 8
jmp 0x5360ee
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [esi + 0x38]
push ecx
mov dword [esp + 0x68], ecx
call fcn.005694f9
pop ecx
mov ecx, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x2c], ecx
mov esi, edi
shl esi, 2
test ebp, ebp
jne 0x5370ce
push ebx
lea eax, [esp + 0xc0]
add eax, esi
push eax
push ecx
push dword [esp + 0x4c]
call fcn.005442ff
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x5370ce
mov eax, dword [esp + esi + 0xbc]
cmp dword [eax + 0x14], ebx
jge 0x536162
push eax
call fcn.005379e3
mov ebp, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], ebp
pop ecx
test ebp, ebp
jne 0x536289
mov eax, dword [esp + esi + 0xbc]
mov ecx, dword [esp + 0x24]
add ecx, 4
movzx eax, word [eax + 0x18]
add ecx, eax
mov eax, edi
dec edi
mov dword [esp + 0x24], ecx
test eax, eax
je 0x53628f
mov esi, dword [esp + 0x4c]
mov dl, byte [esi + 0xc]
test dl, dl
je 0x5361d1
mov eax, dword [esp + 0x48]
movzx ecx, word [esi + 0x1c]
add eax, edi
cmp eax, ecx
jne 0x5361d1
mov esi, dword [esi + 0x24]
push esi
mov dword [esp + edi*4 + 0x78], esi
call fcn.005694f9
push esi
mov esi, dword [esp + 0x54]
push esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x38], eax
call dword [esi + 0x4c]
movzx eax, ax
add esp, 0xc
mov dword [esp + edi*4 + 0xdc], eax
mov byte [esi + 0xc], bl
jmp 0x536280
mov ecx, dword [esp + 0x48]
movzx eax, dl
sub ecx, eax
mov eax, dword [esi + 0x40]
add ecx, edi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x1a]
movzx ebp, cx
and ebp, eax
add ebp, dword [esi + 0x38]
push ebp
mov dword [esp + edi*4 + 0x78], ebp
call fcn.005694f9
push ebp
push esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x38], eax
call dword [esi + 0x4c]
movzx edx, ax
add esp, 0xc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov dword [esp + edi*4 + 0xdc], edx
test byte [eax + 0x18], 0xc
je 0x53625c
mov ecx, ebp
sub ecx, dword [esi + 0x38]
mov esi, dword [esp + 0x40]
lea eax, [edx + ecx]
cmp eax, dword [esi + 0x28]
mov esi, dword [esp + 0x4c]
jg 0x53625c
mov eax, dword [esp + 0x70]
push edx
add eax, ecx
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x7c]
add esp, 0xc
sub eax, dword [esi + 0x38]
mov edx, dword [esp + 0x20]
add eax, ebp
mov dword [esp + edi*4 + 0x74], eax
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x18]
push eax
movzx eax, byte [esi + 0xc]
sub ecx, eax
push edx
add ecx, edi
push ecx
push esi
call fcn.0053e49e
mov ebp, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x5c]
jmp 0x536106
push esi
jmp 0x5370d2
mov eax, dword [esp + 0x40]
lea esi, [ecx + 3]
and esi, 0xfffffffc
imul edi, esi, 6
mov eax, dword [eax + 0x24]
add eax, edi
cdq
push edx
push eax
call fcn.0056cc94
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x84], ecx
test ecx, ecx
jne 0x5362c0
push 7
pop ebp
jmp 0x5370e3
lea eax, [ecx + esi*4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x88], eax
mov ebp, ebx
lea eax, [ecx + edi]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x80], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x60], eax
mov al, byte [ecx + 2]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x58], eax
cmp dword [esp + 0x28], ebx
jle 0x536578
mov edi, dword [esp + ebp*4 + 0xbc]
mov dword [esp + 0x44], edi
movzx eax, word [edi + 0x1a]
mov ecx, dword [edi + 0x38]
mov esi, eax
movzx edx, word [edi + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x50], esi
movzx esi, word [edi + 0x12]
add esi, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x24], esi
mov al, byte [eax]
cmp al, byte [ecx]
jne 0x536745
movzx eax, byte [edi + 0xc]
mov ecx, dword [esp + 0x88]
add eax, edx
add eax, eax
push eax
mov eax, dword [esp + 0x80]
push ebx
lea eax, [ecx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x536418
movzx eax, word [edi + 0x1c]
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x68], eax
jb 0x536733
test eax, eax
je 0x5363db
mov ebp, dword [esp + 0x1c]
mov ebx, eax
mov edi, dword [esp + 0x50]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, di
movzx edx, cx
mov ecx, dword [esp + 0x84]
and edx, eax
mov eax, dword [esp + 0x7c]
add edx, ebp
mov dword [ecx + eax*4], edx
inc dword [esp + 0x7c]
sub ebx, 1
jne 0x5363a4
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x24], esi
cmp byte [edi + 0xc], 0
mov dword [esp + 0x50], ebx
jbe 0x536418
mov ebp, dword [esp + 0x50]
lea ebx, [edi + 0x24]
push 4
pop esi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [ebx]
add ebx, esi
mov dword [ecx + eax*4], edx
inc dword [esp + 0x7c]
inc ebp
movzx eax, byte [edi + 0xc]
cmp ebp, eax
jl 0x5363ef
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov ebp, dword [esp + 0x38]
movzx eax, word [edi + 0x12]
add eax, dword [esp + 0x1c]
movzx ecx, word [edi + 0x18]
lea eax, [eax + ecx*2]
mov dword [esp + 0x50], eax
cmp esi, eax
jae 0x53646d
mov ebx, dword [esp + 0x1c]
mov ebp, eax
mov edi, dword [esp + 0x30]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, di
movzx edx, cx
mov ecx, dword [esp + 0x84]
and edx, eax
mov eax, dword [esp + 0x7c]
add edx, ebx
mov dword [ecx + eax*4], edx
inc dword [esp + 0x7c]
cmp esi, ebp
jb 0x536439
mov edi, dword [esp + 0x44]
xor ebx, ebx
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x7c]
dec eax
mov dword [esp + ebp*4 + 0x104], edx
cmp ebp, eax
jge 0x536569
cmp byte [esp + 0x13], 0
jne 0x536569
mov eax, dword [esp + 0x88]
movzx ecx, word [esp + ebp*4 + 0xdc]
mov esi, dword [esp + 0x20]
mov word [eax + edx*2], cx
mov eax, ecx
mov edx, dword [esp + 0x14]
add esi, edx
push eax
push dword [esp + ebp*4 + 0x78]
add edx, eax
push esi
mov dword [esp + 0x20], edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov ecx, dword [esp + 0x7c]
movzx edx, ax
mov eax, dword [esp + 0x84]
add edx, esi
push 4
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x64]
sub word [ecx + eax*2], dx
cmp byte [edi + 8], 0
jne 0x53651c
mov ecx, dword [esp + 0x80]
pop eax
push eax
mov eax, dword [edi + 0x38]
add eax, 8
push eax
mov eax, dword [esp + 0x8c]
push dword [eax + ecx*4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x536565
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
pop edx
cmp word [ecx + eax*2], dx
jae 0x536565
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov byte [eax + ebp], bl
inc ebp
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x7c]
inc word [ecx + eax*2]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x7c]
cmp word [ecx + eax*2], dx
jb 0x536535
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x38]
inc dword [esp + 0x7c]
inc ebp
mov dword [esp + 0x38], ebp
cmp ebp, dword [esp + 0x28]
jl 0x53630c
mov eax, dword [esp + 0x60]
mov edx, ebx
movzx ecx, ax
mov ebp, ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
test eax, eax
jle 0x536682
mov ecx, eax
lea esi, [esp + 0x104]
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + edx*4 + 0xbc]
mov ecx, dword [esp + edx*4 + 0x104]
mov eax, dword [edi + 0x3c]
mov dword [esp + ebp*4 + 0x8c], eax
mov dword [esp + ebp*4 + 0xa4], ecx
test ebp, ebp
je 0x5365ee
cmp ecx, dword [esp + ebp*4 + 0xa0]
jne 0x5365ee
dec ebp
mov dword [esp + 0x14], ebp
cmp byte [esp + 0x13], 0
jne 0x53660e
mov eax, dword [esi + 0x3c]
inc ebp
mov dword [esp + 0x14], ebp
mov dword [esp + ebp*4 + 0x8c], eax
lea eax, [ecx + 1]
mov dword [esp + ebp*4 + 0xa4], eax
mov ecx, dword [esp + 0x38]
mov eax, ecx
sub eax, dword [edi + 0x14]
cmp byte [edi + 0xc], 0
mov dword [esp + 0x30], eax
mov dword [esp + edx*4 + 0xdc], eax
mov dword [esp + 0x50], ebx
jbe 0x53666c
mov ebp, dword [esp + 0x50]
lea ebx, [edi + 0x24]
mov esi, eax
push dword [ebx]
push edi
call dword [edi + 0x4c]
pop ecx
movzx eax, ax
add eax, 2
pop ecx
add esi, eax
inc ebp
push 4
pop eax
add ebx, eax
movzx eax, byte [edi + 0xc]
cmp ebp, eax
jl 0x536635
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [esp + edx*4 + 0xdc], esi
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
inc edx
inc ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebp
cmp edx, eax
jl 0x5365bd
xor esi, esi
mov dword [esp + 0x24], ebx
mov edx, eax
inc esi
mov dword [esp + 0x1c], edx
test eax, eax
jle 0x536837
mov eax, esi
mov esi, ebx
mov dword [esp + 0x14], eax
mov ebp, dword [esp + esi + 0xdc]
cmp ebp, ecx
jle 0x536777
lea edi, [esp + 0xe0]
cmp eax, edx
jl 0x5366d5
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 5
jg 0x53682a
mov eax, dword [esp + 0x7c]
mov dword [edi + esi], ebx
mov dword [esp + esi + 0xf4], eax
mov eax, dword [esp + esi + 0xf0]
dec eax
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x80]
push eax
call fcn.00538b6f
mov ebp, dword [esp + esi + 0xe4]
pop ecx
pop ecx
movzx ecx, ax
add ecx, 2
sub ebp, ecx
cmp byte [esp + 0x13], 0
mov dword [esp + esi + 0xdc], ebp
jne 0x53674e
mov eax, dword [esp + esi + 0xf0]
cmp eax, dword [esp + 0x7c]
jge 0x53674c
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00538b6f
pop ecx
pop ecx
movzx ecx, ax
add ecx, 2
jmp 0x53674e
push 0x13248
call fcn.0055ed8e
pop ecx
mov ebp, eax
jmp 0x5370e3
push 0x13230
jmp 0x536738
mov ecx, ebx
mov eax, dword [edi + esi]
mov edx, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + esi + 0xe0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + esi + 0xf0], eax
mov eax, dword [esp + 0x14]
cmp ebp, dword [esp + 0x38]
jg 0x5366b5
mov edi, dword [esp + esi + 0xf0]
jmp 0x5367d5
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.00538b6f
movzx eax, ax
add eax, 2
add ebp, eax
pop ecx
pop ecx
cmp ebp, dword [esp + 0x38]
jg 0x5367db
inc edi
mov dword [esp + esi + 0xdc], ebp
cmp byte [esp + 0x13], 0
mov dword [esp + esi + 0xf0], edi
jne 0x5367ce
cmp edi, dword [esp + 0x7c]
jge 0x5367cc
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.00538b6f
pop ecx
movzx eax, ax
pop ecx
add eax, 2
jmp 0x5367ce
mov eax, ebx
sub dword [esp + esi + 0xe0], eax
cmp edi, dword [esp + 0x7c]
jl 0x536780
mov ecx, dword [esp + 0x24]
cmp edi, dword [esp + 0x7c]
jl 0x5367f1
mov eax, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x1c], edx
jmp 0x536810
test ecx, ecx
jle 0x5367fe
mov eax, dword [esp + esi + 0xec]
jmp 0x536800
mov eax, ebx
cmp edi, eax
jle 0x53695b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
inc ecx
add esi, 4
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
cmp ecx, edx
jge 0x536834
mov ecx, dword [esp + 0x38]
jmp 0x53669f
push 0x132ad
jmp 0x536738
xor esi, esi
inc esi
lea eax, [edx - 1]
mov edi, eax
mov dword [esp + 0x50], eax
test edi, edi
jle 0x536983
push 4
pop eax
lea ecx, [esp + 0xdc]
sub ecx, eax
lea ebp, [esp + 0xf0]
lea edx, [esp + 0xdc]
mov dword [esp + 0x68], ecx
sub ebp, eax
mov eax, dword [edx + edi*4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + edi*4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + edi*4]
mov dword [esp + 0x20], eax
lea ebx, [eax - 1]
mov esi, ebx
lea eax, [esp + 0x7c]
sub esi, dword [esp + 0x58]
inc esi
push esi
push eax
call fcn.00538b6f
lea eax, [esi + esi]
mov esi, dword [esp + 0x38]
pop ecx
pop ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x6c], ebx
push ebx
push eax
mov dword [esp + 0x38], ebx
call fcn.00538b6f
movzx eax, ax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x90]
pop ecx
pop ecx
mov ecx, dword [esp + 0x24]
movzx ecx, word [ecx + eax]
test esi, esi
je 0x53690a
cmp dword [esp + 0x150], 0
mov eax, dword [esp + 0x20]
mov edx, eax
jne 0x536936
add ecx, esi
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp edi, dword [esp + 0x50]
push 2
pop eax
cmove eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x44]
add eax, 2
cmp eax, ecx
jg 0x536936
mov ecx, dword [esp + 0x20]
sub dword [esp + 0x24], 2
lea esi, [ecx + 2]
mov edx, dword [esp + 0x6c]
push 0xfffffffffffffffe
pop eax
sub eax, dword [esp + 0x44]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + edi*4], ebx
sub ebx, 1
mov dword [esp + 0x20], eax
jns 0x5368a0
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0xdc]
mov dword [eax + edi*4], esi
xor esi, esi
mov eax, dword [esp + 0x14]
inc esi
push 0
mov dword [ecx + edi*4], eax
pop ebx
cmp edi, esi
jle 0x536965
mov eax, dword [ebp + edi*4 - 4]
jmp 0x536967
push 0x132ce
jmp 0x536738
mov eax, ebx
cmp edx, eax
jle 0x536a19
dec edi
lea edx, [esp + 0xdc]
test edi, edi
jg 0x536868
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xbc]
mov edi, ebx
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x24], eax
test edx, edx
jle 0x536acf
cmp edi, dword [esp + 0x28]
jge 0x536a23
mov esi, dword [esp + edi*4 + 0xbc]
mov dword [esp + edi*4 + 0xc8], esi
mov dword [esp + edi*4 + 0xbc], ebx
mov dword [esp + 0x20], esi
push dword [esi + 0x48]
call fcn.0056efa7
inc dword [esp + 0x38]
mov ebp, eax
mov eax, dword [esp + 0x148]
mov edx, ebp
sub eax, dword [esp + 0x4c]
pop ecx
xor ecx, ecx
mov dword [esp + 0x3c], ebp
cmp edi, eax
mov dword [esp + 0x18], ebp
mov eax, dword [esi + 0x48]
sete cl
inc ecx
cmp dword [eax + 0x20], ecx
je 0x536a0c
test ebp, ebp
jne 0x536a0c
push 0x1331b
call fcn.0055ed8e
mov ebp, eax
mov edx, eax
pop ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ebp
test edx, edx
jne 0x5370e3
jmp 0x536ac1
push 0x132fa
jmp 0x536738
cmp dword [esp + 0x150], 0
mov eax, dword [esp + 0x5c]
push ebx
cmovne eax, esi
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x50]
call fcn.00533dd2
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x5370e3
push dword [esp + 0x24]
mov esi, dword [esp + 0x24]
push esi
call fcn.0059d067
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x84]
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + edi*4 + 0xc8], esi
mov dword [esp + edi*4 + 0x104], eax
cmp byte [ecx + 0x11], 0
je 0x536ab9
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x50]
push dword [eax + 4]
push 5
push dword [esi + 4]
push ecx
call fcn.00551a5a
mov ebp, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x3c], ebp
test ebp, ebp
jne 0x5370e3
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
inc edi
push 1
pop esi
cmp edi, dword [esp + 0x1c]
jl 0x53699e
mov ebp, dword [esp + 0x34]
mov ecx, ebx
test ebp, ebp
jle 0x536aef
mov eax, dword [esp + ecx*4 + 0xc8]
mov eax, dword [eax + 4]
mov dword [esp + ecx*4 + 0x118], eax
inc ecx
cmp ecx, ebp
jl 0x536ad9
lea edi, [ebp - 1]
mov esi, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], esi
test edi, edi
jle 0x536be2
lea eax, [ebp - 1]
lea edi, [esi + 1]
mov ebx, esi
cmp edi, ebp
jge 0x536bd3
mov eax, dword [esp + edi*4 + 0xc8]
mov ecx, edi
mov edx, dword [esp + ebx*4 + 0xc8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 4]
inc edi
cmovae ecx, ebx
mov ebx, ecx
cmp edi, ebp
jl 0x536b14
mov dword [esp + 0x20], ebx
cmp ebx, esi
je 0x536bd0
mov eax, dword [esp + ebx*4 + 0xc8]
xor edx, edx
mov ecx, dword [esp + esi*4 + 0xc8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ecx + 4]
movzx edi, word [eax + 0x1c]
mov eax, dword [0x663398]
div dword [ebx + 0x24]
mov ecx, dword [ecx + 0x48]
push edi
inc eax
push eax
movzx esi, word [ecx + 0x1c]
push ecx
call fcn.0056e8db
mov eax, dword [esp + 0x2c]
push esi
push ebp
mov eax, dword [esp + eax*4 + 0xdc]
push dword [eax + 0x48]
call fcn.0056e8db
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x70]
push edi
push ebx
mov eax, dword [esp + esi*4 + 0xe8]
push dword [eax + 0x48]
call fcn.0056e8db
mov eax, dword [esp + esi*4 + 0xec]
add esp, 0x24
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0xc8]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x536bd3
lea eax, [ebp - 1]
inc esi
mov dword [esp + 0x44], esi
cmp esi, eax
jl 0x536b07
xor ebx, ebx
mov eax, dword [esp + ebp*4 + 0xc4]
push dword [eax + 4]
push dword [esp + 0x68]
call fcn.0057333c
test byte [esp + 0x2c], 8
pop ecx
pop ecx
jne 0x536c3c
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x536c3c
push 4
pop eax
push eax
lea edx, [esp + 0xc0]
lea eax, [esp + 0xcc]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax + 0x38]
add eax, 8
push eax
mov eax, dword [esp + ebp*4 + 0xcc]
mov eax, dword [eax + 0x38]
add eax, 8
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x11], 0
je 0x536dc3
mov esi, dword [esp + 0xc8]
mov ecx, ebx
mov dword [esp + 0x64], ebx
mov edi, ebx
mov dword [esp + 0x1c], ecx
movzx edx, word [esi + 0x18]
movzx eax, byte [esi + 0xc]
add edx, eax
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x44], edx
jle 0x536dc3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x84]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x14], eax
cmp edi, edx
jne 0x536cd8
mov ebx, dword [esp + 0x1c]
xor eax, eax
cmp byte [esp + 0x13], al
sete al
mov dword [esp + 0x58], eax
inc ebx
cmp ebx, ebp
jge 0x536caf
mov esi, dword [esp + ebx*4 + 0xc8]
jmp 0x536cb6
mov esi, dword [esp + ebx*4 + 0xbc]
movzx eax, word [esi + 0x18]
add eax, dword [esp + 0x58]
movzx ecx, byte [esi + 0xc]
add ecx, eax
add edx, ecx
cmp edi, edx
je 0x536ca1
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x20]
cmp edi, dword [esp + eax + 0xf0]
jne 0x536d0d
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x64], eax
shl eax, 2
cmp byte [esp + 0x13], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + eax + 0xc8]
mov dword [esp + 0x2c], eax
je 0x536db4
jmp 0x536d11
mov eax, dword [esp + 0x2c]
cmp ecx, ebp
jge 0x536d35
mov eax, dword [eax + 4]
cmp eax, dword [esp + ecx*4 + 0x118]
mov ecx, dword [esp + 0x14]
jne 0x536d39
cmp ecx, dword [esi + 0x38]
jb 0x536d39
cmp ecx, dword [esi + 0x3c]
jb 0x536db4
jmp 0x536d39
mov ecx, dword [esp + 0x14]
cmp word [esp + 0x60], 0
jne 0x536d6d
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 4]
push 5
push ecx
call fcn.005694f9
pop ecx
push eax
push dword [esp + 0x50]
call fcn.00551a5a
mov ebp, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x3c], ebp
jmp 0x536d71
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x7c]
push edi
push eax
call fcn.00538b6f
pop ecx
pop ecx
mov ecx, dword [esp + 0x2c]
cmp ax, word [ecx + 0x10]
jbe 0x536da4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
push ecx
call fcn.00551b2f
mov ebp, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x3c], ebp
test ebp, ebp
jne 0x5370e3
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x7c]
jl 0x536c7e
lea eax, [ebp - 1]
mov ecx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
test eax, eax
jle 0x536f19
mov ebp, dword [esp + ecx*4 + 0xf0]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + ecx*4 + 0xc8]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x24], edx
mov edi, dword [eax + ebp*4]
mov eax, dword [esp + 0x88]
movzx eax, word [eax + ebp*2]
movzx esi, ax
mov dword [esp + 0x58], eax
movzx eax, cx
mov ecx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x54]
cmp byte [edx + 8], 0
mov dword [esp + 0x2c], eax
jne 0x536e3b
push 4
pop eax
push eax
mov eax, dword [edx + 0x38]
add eax, 8
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x536ea0
cmp byte [esp + 0x13], 0
je 0x536e86
lea eax, [esp + 0x118]
dec ebp
push eax
mov eax, dword [esp + 0x88]
push dword [eax + ebp*4]
push edx
call dword [edx + 0x50]
push dword [esp + 0x128]
mov eax, dword [esp + 0x3c]
mov edi, eax
push dword [esp + 0x128]
add eax, 4
push eax
call fcn.0057335b
add esp, 0x18
mov dword [esp + 0x2c], ebx
mov esi, eax
push 4
pop eax
add esi, eax
jmp 0x536ea0
push 4
pop eax
sub edi, eax
cmp word [esp + 0x58], ax
jne 0x536ea8
mov eax, dword [esp + 0x4c]
push edi
push eax
call dword [eax + 0x4c]
pop ecx
pop ecx
movzx esi, ax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add dword [esp + 0x54], esi
mov eax, ebx
cmp dword [esp + eax*4 + 0xa4], ebp
jg 0x536ebd
inc eax
cmp eax, 6
jl 0x536eae
mov ebp, dword [esp + eax*4 + 0x8c]
cmp edi, ebp
jae 0x536ecf
lea eax, [esi + edi]
cmp eax, ebp
ja 0x536f0f
push dword [edx + 4]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x30]
add eax, ecx
push esi
push edi
mov edi, dword [esp + 0x5c]
push eax
push edi
call fcn.005453c7
mov ebp, eax
add esp, 0x18
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x5370e3
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x30]
jl 0x536dd8
jmp 0x536f21
push 0x133e3
jmp 0x536738
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
xor eax, eax
inc eax
sub eax, ecx
jmp 0x536fef
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [esp + esi + 0x130], 0
jne 0x536fea
cmp dword [esp + 0x54], 0
jge 0x536f5f
mov eax, dword [esp + esi*4 + 0x100]
cmp eax, dword [esp + esi*4 + 0xec]
jl 0x536fea
test esi, esi
jne 0x536f70
mov edx, dword [esp + 0xf0]
mov eax, ebx
mov ecx, ebx
jmp 0x536fa5
cmp esi, dword [esp + 0x28]
jge 0x536f88
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + esi*4 + 0x100]
jmp 0x536f8c
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + esi*4 + 0xf0]
xor ecx, ecx
cmp byte [esp + 0x13], cl
sete cl
add ecx, dword [esp + esi*4 + 0xec]
sub edx, ecx
lea ebp, [esp + 0x7c]
push ebp
push edx
push ecx
push eax
push dword [esp + esi*4 + 0xd8]
call fcn.0053e642
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x5370e3
mov eax, dword [esp + esi*4 + 0xc8]
inc byte [esp + esi + 0x130]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + esi*4 + 0xdc]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, ecx
jl 0x536f2f
cmp dword [esp + 0x14c], 0
je 0x537053
cmp word [edi + 0x18], bx
jne 0x537053
mov edx, dword [esp + 0xc8]
movzx eax, byte [edi + 9]
cmp eax, dword [edx + 0x14]
jg 0x537053
push 0xffffffffffffffff
push edx
call fcn.0053db4a
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push edi
push dword [esp + 0xd8]
call fcn.0053d00b
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0xe0]
call fcn.005432ab
mov ecx, dword [esp + 0x50]
add esp, 0x1c
jmp 0x5370a2
mov edi, dword [esp + 0x40]
cmp byte [edi + 0x11], 0
je 0x5370a6
cmp word [esp + 0x60], 0
jne 0x5370a6
mov esi, ebx
test ecx, ecx
jle 0x5370a6
mov eax, dword [esp + esi*4 + 0xc8]
mov eax, dword [eax + 0x38]
add eax, 8
push eax
call fcn.005694f9
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + esi*4 + 0xd0]
push dword [ecx + 4]
push 5
push eax
push edi
call fcn.00551a5a
mov ecx, dword [esp + 0x4c]
add esp, 0x18
inc esi
cmp esi, ecx
jl 0x53706b
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov esi, ecx
cmp ecx, edi
jge 0x5370e7
lea eax, [esp + 0x18]
push eax
push dword [esp + esi*4 + 0xc0]
call fcn.005432ab
inc esi
pop ecx
pop ecx
cmp esi, edi
jl 0x5370b0
mov ebp, dword [esp + 0x18]
jmp 0x5370e7
lea eax, [esi + 4]
push eax
lea eax, [esp + 0xc0]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x84], 0
je 0x5370fe
push dword [esp + 0x84]
call fcn.00531a22
pop ecx
mov esi, ebx
test edi, edi
jle 0x53711d
mov eax, dword [esp + esi*4 + 0xbc]
test eax, eax
je 0x537118
push dword [eax + 0x48]
call fcn.0056ef66
pop ecx
inc esi
cmp esi, edi
jl 0x537104
mov esi, dword [esp + 0x34]
test esi, esi
jle 0x53713e
mov eax, dword [esp + ebx*4 + 0xc8]
test eax, eax
je 0x537139
push dword [eax + 0x48]
call fcn.0056ef66
pop ecx
inc ebx
cmp ebx, esi
jl 0x537125
mov eax, ebp
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059d866
add esp, 0x12c
ret