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

Disassembly:
push 0xffffffffffffffff
push 0x66219550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebp
push esi
mov esi, dword [esp + 0xa0]
movzx eax, word [esi + 0x14]
push edi
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp ax, 2
jb 0x6620b5ff
mov ecx, 0x10b
cmp word [esi + 0x18], cx
jne 0x6620b5ff
mov ecx, dword [esi + 0x74]
jmp 0x6620b605
mov ecx, dword [esi + 0x84]
cmp ecx, 1
jbe 0x6620b68e
cmp ax, 2
jb 0x6620b622
mov edx, 0x10b
lea eax, [esi + 0x78]
cmp word [esi + 0x18], dx
je 0x6620b628
lea eax, [esi + 0x88]
add eax, 8
cmp eax, edi
je 0x6620b68e
mov eax, dword [eax]
cmp eax, edi
je 0x6620b68e
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
mov ecx, ebp
call fcn.6620acd0
cmp eax, edi
jl 0x6620ba85
cmp word [esi + 0x14], 2
jb 0x6620b662
mov edx, 0x10b
mov byte [esp + 0xf], 1
cmp word [esi + 0x18], dx
je 0x6620b667
mov byte [esp + 0xf], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push edi
push 0x14
lea eax, [esp + 0x8c]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.6620a500
cmp eax, edi
jl 0x6620ba84
jmp 0x6620b6a4
mov eax, 0xc000007a
jmp 0x6620ba85
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x84], 0
je 0x6620b9fb
cmp byte [esi + 0x118], 0
mov eax, dword [esp + 0x90]
jne 0x6620b6f5
cmp word [esi + 0x14], 2
jb 0x6620b6ce
mov ecx, 0x10b
mov ecx, dword [esi + 0x54]
cmp eax, ecx
jb 0x6620b6f5
lea edx, [esp + 0x54]
push edx
push eax
push esi
mov ecx, ebp
call fcn.6620abe0
test eax, eax
jl 0x6620ba84
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x6620b70f
mov edi, dword [esi + 0x114]
xor ecx, ecx
add eax, dword [esi + 0x110]
adc edi, ecx
mov ebx, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
push 0
lea ecx, [esp + 0x28]
call fcn.6620bcb0
mov dword [esp + 0xa0], 0
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x28]
push eax
push edi
push ebx
mov ecx, ebp
call fcn.6620a890
mov ebp, eax
test ebp, ebp
jl 0x6620ba02
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
push eax
push ecx
push eax
call fcn.6620c030
mov eax, dword [esp + 0xb8]
add esp, 0xc
test eax, eax
je 0x6620b7a3
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x24]
push edx
push edi
push ebx
push ecx
call eax
mov edi, eax
add esp, 0x10
cmp edi, 0x4000000f
jne 0x6620b797
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.6620bdd0
jmp 0x6620b9c1
cmp edi, 0xc0000271
jne 0x6620ba1a
cmp dword [esp + 0xb0], 0
je 0x6620b77e
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x74]
push edx
push eax
push esi
mov ecx, ebx
call fcn.6620acd0
mov edi, eax
test edi, edi
jl 0x6620ba1a
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x7c]
push ecx
push edx
push esi
mov ecx, ebx
call fcn.6620acd0
mov esi, eax
test esi, esi
jl 0x6620ba6e
xor eax, eax
cmp byte [esp + 0x13], al
mov dword [esp + 0x3c], 0
sete al
lea eax, [eax*4 + 4]
mov dword [esp + 0x6c], eax
jmp 0x6620b810
mov esi, eax
imul esi, dword [esp + 0x3c]
xor edi, edi
mov ebp, esi
add ebp, dword [esp + 0x74]
mov ebx, edi
adc ebx, dword [esp + 0x78]
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
push ebp
call fcn.6620a500
mov dword [esp + 0x14], eax
test eax, eax
jl 0x6620ba43
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x34]
je 0x6620b854
xor ecx, ecx
jmp 0x6620b858
mov ecx, dword [esp + 0x38]
or eax, ecx
je 0x6620b9a6
push 0
lea ecx, [esp + 0x60]
call fcn.6620bcb0
mov byte [esp + 0xa0], 1
xor edx, edx
mov dword [esp + 0x48], edx
cmp byte [esp + 0x13], dl
je 0x6620b898
mov eax, dword [esp + 0x34]
shr eax, 0x1f
cmp eax, edx
je 0x6620b8a8
movzx ecx, word [esp + 0x34]
mov dword [esp + 0x40], ecx
jmp 0x6620b92b
mov ecx, dword [esp + 0x38]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
jne 0x6620b88a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.6620acd0
mov dword [esp + 0x14], eax
test eax, eax
jl 0x6620ba32
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.6620a780
mov dword [esp + 0x14], eax
test eax, eax
jl 0x6620ba32
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
add ecx, 2
push 0
lea edx, [esp + 0x60]
adc eax, 0
push edx
push eax
mov dword [esp + 0x50], ecx
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
call fcn.6620a890
mov dword [esp + 0x14], eax
test eax, eax
jl 0x6620ba32
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0xb4]
add esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
adc edi, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push edi
push esi
push ecx
mov ecx, dword [esp + 0x74]
push eax
push edx
mov edx, dword [esp + 0x44]
push ecx
push edx
call dword [esp + 0xd8]
mov esi, eax
add esp, 0x28
cmp esi, 0x4000000f
je 0x6620b995
cmp esi, 0xc0000271
jne 0x6620ba5d
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.6620bdd0
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
jmp 0x6620b810
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.6620bdd0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.6620bdd0
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0
add eax, 0x14
push 0x14
adc ecx, 0
lea edx, [esp + 0x8c]
push edx
push ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push eax
mov dword [esp + 0x30], eax
call fcn.6620a500
test eax, eax
jge 0x6620b6a0
jmp 0x6620ba84
xor eax, eax
jmp 0x6620ba84
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.6620bdd0
mov eax, ebp
jmp 0x6620ba84
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.6620bdd0
mov eax, edi
jmp 0x6620ba84
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.6620bdd0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.6620bdd0
mov eax, dword [esp + 0x14]
jmp 0x6620ba84
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x5c]
call fcn.6620bdd0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.6620bdd0
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x94
ret 0x10