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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x10c
mov ebp, ecx
mov ecx, 0xffffffff
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
mov esi, dword [esp + 0x128]
mov ebx, dword [esp + 0x12c]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0xf8], ecx
mov ecx, dword [ebp + 0x1f4]
test ecx, ecx
je 0x66ab68
mov ecx, dword [ecx + 0x40]
cmp ecx, 1
je 0x66b18b
cmp ecx, 2
je 0x66b17d
lea edi, [esp + 0xf0]
cmp eax, esi
mov ecx, eax
cmovg ecx, esi
cmovg esi, eax
mov dword [esp + 0x20], ecx
cmp edx, ebx
mov eax, edx
cmovg eax, ebx
cmovg ebx, edx
lea edx, [esp + 8]
mov dword [esp + 0x100], eax
cmp edx, edi
je 0x66abaa
mov edx, ecx
mov ecx, eax
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ecx
jmp 0x66abb1
mov ecx, 0xffffffff
mov edx, ecx
lea eax, [esp + 8]
lea edi, [esp + 0xf8]
cmp eax, edi
je 0x66abd6
mov dword [esp + 0x14], esi
mov eax, ebx
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], ebx
jmp 0x66abdf
mov eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov esi, dword [0x858c38]
mov dword [esp], esi
lea edi, [ebp + 0x1dc]
mov dword [esp + 0x108], edi
mov edi, dword [edi]
mov dword [esp + 0x10], edi
cmp edi, esi
mov esi, dword [esp + 0x18]
jne 0x66ac2b
mov edi, dword [esp + 0x108]
mov dword [esp + 0x18], esi
mov esi, dword [edi + 4]
xor edi, edi
cmp esi, dword [0x858c3c]
mov esi, 1
cmove edi, esi
mov esi, dword [esp + 0x18]
jmp 0x66ac2d
xor edi, edi
test edi, edi
je 0x66ac48
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
lea eax, [ebp + 0x1e4]
mov dword [esp + 0x104], eax
jmp 0x66ac96
lea edi, [ebp + 0x1e4]
mov dword [esp + 0x104], edi
mov edi, dword [edi]
cmp edi, dword [esp]
mov dword [esp + 4], edi
jne 0x66ac84
mov edi, dword [esp + 0x104]
mov dword [esp + 0x18], esi
mov esi, dword [edi + 4]
xor edi, edi
cmp esi, dword [0x858c3c]
mov esi, 1
cmove edi, esi
mov esi, dword [esp + 0x18]
jmp 0x66ac86
xor edi, edi
test edi, edi
je 0x66ad4f
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x100]
mov dword [esp + 0xe0], edx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], ebx
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0xd0]
lea esi, [esp + 0xe0]
lea ebx, [esp + 0xe8]
push ebx
push esi
push ecx
mov ecx, ebp
call fcn.0066b1a0
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xdc]
mov ecx, dword [ebp + 0x1b4]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], esi
lea ebp, [esp + 0xc0]
mov edi, dword [ecx]
push ebp
push 0
call dword [edi + 0x118]
jmp 0x66b11c
cmp edx, dword [esp + 0x10]
jne 0x66ad61
mov edx, dword [esp + 0x108]
cmp ecx, dword [edx + 4]
je 0x66ad68
mov edx, 1
jmp 0x66ad6a
xor edx, edx
test edx, edx
jne 0x66ad95
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 4]
jne 0x66ad84
mov edx, dword [esp + 0x104]
cmp eax, dword [edx + 4]
je 0x66ad8b
mov eax, 1
jmp 0x66ad8d
xor eax, eax
test eax, eax
je 0x66b11c
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x108]
mov edi, dword [ecx + 4]
mov ecx, dword [esp + 0x100]
mov dword [esp], ebp
xor edx, edx
mov ebp, dword [esp + 0x104]
mov eax, dword [ebp + 4]
mov dword [esp + 0x40], edx
cmp edi, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov edx, ecx
cmovle edx, edi
cmovg ecx, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x20]
cmp edi, ecx
mov ebp, edi
cmovg ebp, ecx
cmovg ecx, edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 4]
cmp eax, ebx
mov ebp, ebx
cmovge ebp, eax
cmovl ebx, eax
mov dword [esp + 0x30], ebp
mov ebp, dword [esp]
cmp ecx, esi
mov eax, ecx
cmovl eax, esi
cmovl esi, ecx
cmp edx, dword [esp + 0x100]
mov dword [esp + 0xc0], eax
jl 0x66ae64
mov dword [esp + 0xc4], 0
jmp 0x66aeda
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x100]
mov dword [esp + 0x88], edi
lea edi, [esp]
lea ecx, [esp + 0x80]
lea eax, [edx - 1]
mov dword [esp + 0x8c], eax
lea edx, [esp + 0x88]
push edx
push ecx
mov ecx, ebp
push edi
call fcn.0066b1a0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0xc4], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
jg 0x66aef1
mov dword [esp + 0xc8], 0
jmp 0x66af64
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x100]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x90], eax
dec edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
lea ecx, [esp + 0x10]
lea edx, [esp + 0x90]
lea eax, [esp + 0x98]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.0066b1a0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0xc8], 1
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
cmp ebx, dword [esp + 0x30]
jl 0x66af6e
xor edi, edi
jmp 0x66afdd
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], eax
lea edi, [esp + 0x20]
lea ecx, [esp + 0xa0]
lea edx, [ebx + 1]
mov dword [esp + 0xa4], edx
lea edx, [esp + 0xa8]
push edx
push ecx
mov ecx, ebp
push edi
call fcn.0066b1a0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edi
mov edi, 1
cmp esi, dword [esp + 0xc0]
jl 0x66afea
xor ebx, ebx
jmp 0x66b056
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xb4], eax
mov ecx, ebp
inc esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
lea eax, [esp + 0x30]
lea esi, [esp + 0xb0]
lea ebx, [esp + 0xb8]
push ebx
push esi
push eax
call fcn.0066b1a0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov ebx, 1
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x66b08b
push 0x858c40
lea ecx, [esp + 0x44]
call fcn.0069fea0
movzx eax, al
test eax, eax
jne 0x66b08b
lea eax, [esp + 0x40]
push eax
push 0
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ecx]
call dword [edx + 0x118]
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x66b0c0
push 0x858c40
lea ecx, [esp + 0x54]
call fcn.0069fea0
movzx eax, al
test eax, eax
jne 0x66b0c0
lea eax, [esp + 0x50]
push eax
push 0
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ecx]
call dword [edx + 0x118]
test edi, edi
je 0x66b0ee
push 0x858c40
lea ecx, [esp + 0x64]
call fcn.0069fea0
movzx eax, al
test eax, eax
jne 0x66b0ee
lea eax, [esp + 0x60]
push eax
push 0
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ecx]
call dword [edx + 0x118]
test ebx, ebx
je 0x66b11c
push 0x858c40
lea ecx, [esp + 0x74]
call fcn.0069fea0
movzx eax, al
test eax, eax
jne 0x66b11c
lea eax, [esp + 0x70]
push eax
push 0
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ecx]
call dword [edx + 0x118]
lea eax, [esp + 0xf0]
cmp eax, dword [esp + 0x108]
je 0x66b146
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x108]
mov dword [ecx], eax
mov edx, dword [esp + 0xf4]
mov dword [ecx + 4], edx
lea eax, [esp + 0xf8]
cmp eax, dword [esp + 0x104]
je 0x66b170
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x104]
mov dword [ecx], eax
mov edx, dword [esp + 0xfc]
mov dword [ecx + 4], edx
add esp, 0x10c
pop ebx
pop ebp
pop esi
pop edi
ret 0x10
mov esi, dword [ebp + 0x1cc]
dec esi
xor eax, eax
jmp 0x66ab68
mov ebx, dword [ebp + 0x1d0]
dec ebx
xor edx, edx
jmp 0x66ab68