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

Disassembly:
mov eax, 0x1006ca60
call fcn.0069e8bc
sub esp, 0xd8
push ebx
push esi
push edi
mov esi, ecx
call fcn.006626cd
test eax, eax
jne 0x662230
cmp dword [esi], eax
jne 0x661a78
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0066165d
test eax, eax
jne 0x662230
mov eax, dword [esi]
lea ecx, [eax + 4]
mov eax, dword [eax + 4]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.00641b6e
mov dword [ebp - 0x40], 0x10072a1c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00641b6e
mov dword [ebp - 0x54], 0x10072a14
push 1
lea ecx, [ebp - 0x2c]
pop edi
mov byte [ebp - 4], 1
call fcn.00641b6e
mov dword [ebp - 0x2c], 0x100729cc
mov eax, dword [esi + 0x60]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x9c]
cmp eax, edi
mov ebx, edi
jle 0x661b1f
lea ecx, [ebp - 0xe4]
call fcn.006507a0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00662fc4
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.006507ea
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.006507d1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [eax + ecx*4 - 4]
call fcn.00650864
inc ebx
cmp ebx, dword [esi + 0x9c]
jl 0x661ad1
mov eax, dword [esi + 0x9c]
cmp eax, edi
jle 0x661ba1
push 0xc
call fcn.0064b165
test eax, eax
pop ecx
je 0x661b43
and dword [eax + 4], 0
mov dword [eax], 0x10072a04
mov ebx, eax
jmp 0x661b45
xor ebx, ebx
test ebx, ebx
mov dword [ebp + 0x10], ebx
je 0x661b52
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov eax, dword [eax + edi*4 - 4]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00662e57
push 4
call fcn.0064b165
test eax, eax
pop ecx
je 0x661b7c
mov dword [eax], ebx
jmp 0x661b7e
xor eax, eax
push eax
lea ecx, [ebp - 0x54]
call fcn.00661142
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x661b98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [esi + 0x9c]
jl 0x661b29
xor ebx, ebx
xor edi, edi
cmp dword [ebp - 0x18], ebx
jle 0x661bbd
mov ecx, dword [esi]
push ebx
add ecx, 4
push ebx
push edi
mov eax, dword [ecx]
call dword [eax + 8]
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x661baa
cmp dword [esi + 0x88], ebx
jne 0x661c1b
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0064afdc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0064afb3
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 6
call fcn.0064afdc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0064afb3
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 7
mov esi, 0x80004005
jmp 0x66221a
lea eax, [ebp - 0x58]
lea ecx, [esi + 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x8c]
push dword [eax]
call fcn.006622af
cmp dword [ebp + 0xc], ebx
je 0x661ca3
push 4
lea ecx, [ebp - 0x98]
call fcn.00645b7d
mov dword [ebp - 0x98], 0x10072964
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x14]
xor edi, edi
mov byte [ebp - 4], 8
cmp dword [ecx + eax*8], ebx
jbe 0x661c82
cmp edi, dword [ebp - 0x58]
jne 0x661c6a
push dword [ebp + 0xc]
jmp 0x661c6b
push ebx
lea ecx, [ebp - 0x98]
call fcn.00661142
mov ecx, dword [esi + 0x64]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [ecx + eax*8]
jb 0x661c60
mov ecx, dword [esi]
push ebx
push dword [ebp - 0x8c]
add ecx, 4
mov edx, dword [ecx]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0064afb3
push 0x20
call fcn.0064b165
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x661cbf
mov ecx, eax
call fcn.00662424
jmp 0x661cc1
xor eax, eax
cmp eax, ebx
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xa0], eax
je 0x661cd8
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0x18
mov byte [ebp - 4], 0xa
call fcn.0064b165
cmp eax, ebx
pop ecx
je 0x661cfa
and dword [eax + 4], 0
and dword [eax + 8], 0
mov dword [eax], 0x100729f4
mov ebx, eax
jmp 0x661cfc
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0xa4], ebx
je 0x661d0c
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
push dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0xb
call fcn.006622f9
push dword [ebp + 0x18]
lea ecx, [ebx + 8]
call fcn.00641b47
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
push 4
lea ecx, [ebp - 0x84]
call fcn.00645b7d
mov dword [ebp - 0x84], 0x1007295c
push 4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00645b7d
mov dword [ebp - 0x70], 0x100729ec
push dword [ebp + 0x10]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
call fcn.00661142
push ebx
lea ecx, [ebp - 0x70]
call fcn.00661142
push 1
pop edi
cmp dword [esi + 0x9c], edi
jle 0x661d9a
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x70]
mov eax, dword [eax + edi*4 - 4]
push dword [eax]
call fcn.00661142
inc edi
cmp edi, dword [esi + 0x9c]
jl 0x661d80
mov eax, dword [esi + 0x10]
and dword [ebp + 0xc], 0
test eax, eax
jle 0x661ec0
mov eax, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [esi + 0x14]
shl edi, 2
mov eax, dword [edi + eax]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], eax
mov eax, dword [esi]
mov byte [ebp - 4], 0xe
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x661dd8
mov eax, ecx
jmp 0x661ddb
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x100715e0
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x661df6
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
and dword [ebp + 8], 0
mov eax, dword [esi]
mov byte [ebp - 4], 0xf
mov eax, dword [eax + 0x80]
mov eax, dword [eax + edi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x661e14
mov eax, ecx
jmp 0x661e17
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x10071670
push eax
call dword [ecx]
cmp dword [ebp + 8], 0
je 0x661e8f
push 0x14
call fcn.0064b165
test eax, eax
pop ecx
je 0x661e4f
xor ecx, ecx
mov edi, eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x100729dc
jmp 0x661e51
xor edi, edi
test edi, edi
mov dword [ebp - 0x9c], edi
je 0x661e61
mov eax, dword [edi]
push edi
call dword [eax + 4]
and dword [edi + 0x10], 0
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x5c]
mov ecx, edi
add eax, 8
push eax
call fcn.00652783
test edi, edi
mov byte [ebp - 4], 0xf
je 0x661e8f
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x661ea0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x661eb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x10]
jl 0x661da9
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x14]
push 1
pop ecx
cmp eax, ecx
jle 0x661f0c
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp edx, 3
jne 0x661ee3
test eax, eax
je 0x661efb
cmp edx, 0x3030103
jne 0x661eef
test eax, eax
je 0x661efb
cmp edx, 0x303011b
jne 0x661efe
test eax, eax
jne 0x661efe
mov edi, dword [ebp + 0xc]
add ecx, 4
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x10]
jl 0x661ed3
mov eax, dword [esi]
push dword [ebp + 0x20]
mov dword [eax + 0x70], edi
push dword [ebp - 0x68]
mov eax, dword [esi + 4]
push 0
push dword [ebp - 0x64]
mov ecx, dword [eax]
push 1
push 0
push dword [ebp - 0x78]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
je 0x661fc3
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0064afb3
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.0064afb3
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0x661f5f
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x661f70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.0064afdc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0064afb3
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.0064afdc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0064afb3
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 0x13
mov esi, edi
jmp 0x66221a
push dword [ebp + 0x14]
lea eax, [esi + 0xfc]
sub esp, 0x14
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.00662e0b
lea eax, [esi + 0xa8]
push eax
call fcn.00662333
push dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.006521f7
push 1
pop eax
cmp dword [esi + 0x9c], eax
mov dword [ebp + 0xc], eax
jle 0x66203b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x18]
mov edi, dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.0065094c
test eax, eax
mov dword [ebp + 0x20], eax
jne 0x662088
push dword [edi + 0x34]
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.006521f7
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x9c]
jl 0x662003
mov eax, dword [esi + 0xf8]
xor edi, edi
cmp dword [eax + 0x90], edi
jle 0x662155
mov ecx, dword [esi + 0x74]
and dword [ebp + 0xc], 0
test ecx, ecx
jle 0x66211b
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x78]
mov edx, dword [ebp + 0x18]
cmp dword [eax], edx
je 0x662116
inc dword [ebp + 0xc]
add eax, 8
cmp dword [ebp + 0xc], ecx
jl 0x66206d
jmp 0x66211b
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0064afb3
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.0064afb3
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0x6620b1
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x6620c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.0064afdc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0064afb3
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x15
call fcn.0064afdc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0064afb3
mov dword [ebp - 0x40], 0x10072a1c
mov esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0x16
jmp 0x66221a
mov eax, dword [ebp + 0xc]
jmp 0x66211e
or eax, 0xffffffff
test eax, eax
jge 0x662127
mov eax, dword [ebp + 0x10]
jmp 0x66212f
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push ecx
lea ecx, [eax + 0x3c]
call fcn.006521f7
mov eax, dword [esi + 0xf8]
inc edi
cmp edi, dword [eax + 0x90]
jl 0x66204f
mov eax, dword [ebp - 0x18]
lea edi, [eax - 1]
test edi, edi
jl 0x662192
sub eax, edi
lea eax, [eax*4 - 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
add eax, 8
mov ecx, dword [edx + ecx]
push eax
add ecx, 8
call fcn.00662c6f
add dword [ebp + 0xc], 4
dec edi
test edi, edi
jge 0x66216b
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.0064afb3
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.0064afb3
test ebx, ebx
mov byte [ebp - 4], 0xa
je 0x6621bb
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x6621cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x2c], 0x100729cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.0064afdc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0064afb3
mov dword [ebp - 0x54], 0x10072a14
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x18
call fcn.0064afdc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.0064afb3
mov dword [ebp - 0x40], 0x10072a1c
mov dword [ebp - 4], 0x19
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.0064afdc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0064afb3
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c