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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x57c
push ebx
push esi
mov esi, dword [ebp + 8]
add esi, 0x18
push edi
mov dword [esp + 0x10], esi
lea esp, [esp]
mov eax, esi
call fcn.00663370
add eax, 2
mov dword [esp + 0x14], eax
mov eax, 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
je 0x661c59
xor edx, edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd8], edx
mov eax, 0x100ef4b8
mov ecx, 0x100ef4b4
mov dword [esp + 0x8c], edx
lea edx, [esp + 0x8c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xd8]
lea ebx, [esp + 0x2b]
mov edi, edx
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
call fcn.006e5220
test al, al
je 0x661bd0
mov eax, dword [esp + 0x9c]
add dword [eax], 1
mov al, 1
mov ebx, dword [esp + 0x14]
mov ecx, dword [0x100ef808]
mov byte [esp + 0xa8], al
lea eax, [ebx*4]
push eax
push 1
push ecx
call dword [0x100cf14c]
cmp byte [esp + 0xa8], 0
mov dword [esp + 0x14], eax
je 0x661c4d
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov edx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [edx], 0
jne 0x661c4d
mov eax, edx
mov dword [eax], 0
mov ecx, dword [edi + 8]
push 0
push ecx
call dword [0x100cf084]
mov edx, dword [edi + 0xc]
test edx, edx
lea eax, [edi + 0xc]
jle 0x661c4d
push eax
call dword [0x100cf080]
mov eax, dword [edi + 0x14]
push 0
push 1
push eax
call dword [0x100cf088]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov eax, esi
call fcn.00663370
test eax, eax
mov dword [esp + 0x30], 0
jbe 0x661c75
call fcn.006ebed0
mov dword [esp + 0x30], eax
cmp dword [0x100ef594], 0
je 0x661cfb
mov eax, 0x100
xor ecx, ecx
mov dword [esp + 0x4c], 0xff
call fcn.006eb3c0
push 0x100d2740
lea esi, [esp + 0x48]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov byte [eax], 0
call fcn.006df5f0
push 0x100d2798
call fcn.006df5f0
mov eax, dword [esp + 0x10]
call fcn.00663370
push eax
lea edx, [esp + 0x18c]
push 0x100e16f8
push edx
call dword [0x100cf2ec]
add esp, 0xc
lea eax, [esp + 0x188]
push eax
call fcn.006df5f0
push 0x100d1420
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0x40
jbe 0x661d5d
cmp dword [0x100ef594], 0
je 0x661d5d
mov eax, 0x100
xor ecx, ecx
mov dword [esp + 0x88], 0xff
call fcn.006eb3c0
push 0x100d2740
lea esi, [esp + 0x84]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov byte [eax], 0
call fcn.006df5f0
push 0x100d27b0
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov ecx, dword [ecx + 0x10]
mov dword [eax + 4], ecx
call fcn.006e5fe0
call dword [0x100cf08c]
mov edx, dword [esi + 8]
lea ebx, [esi + 8]
mov edi, eax
cmp edi, edx
je 0x661dad
mov eax, dword [ebx]
test eax, eax
jne 0x6621f3
push eax
push edi
push ebx
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x6621f3
mov dword [esi + 0x10], 0
add dword [esi + 0x10], 1
mov al, 1
test al, al
mov edi, dword [esi + 0x18]
je 0x661def
add dword [esi + 0x10], 0xffffffff
jne 0x661def
push 0
push ebx
mov dword [esi + 0x10], 0
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x661def
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
test edi, edi
mov dword [esp + 0x24], edi
je 0x661ff9
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
lea eax, [esi + 8]
add ecx, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ebx
call fcn.006e5fe0
call dword [0x100cf08c]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [edx]
cmp edi, eax
je 0x661e57
mov ecx, edx
mov edx, dword [ecx]
test edx, edx
jne 0x662207
push edx
push edi
mov eax, ecx
push eax
call dword [0x100cf090]
test eax, eax
sete al
test al, al
je 0x662207
mov dword [esi + 0x10], 0
add dword [esi + 0x10], 1
mov al, 1
test al, al
mov ecx, dword [esp + 0x24]
mov edi, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x24], ecx
je 0x661ea7
add dword [esi + 0x10], 0xffffffff
jne 0x661ea7
mov edx, dword [esp + 0x20]
push 0
push edx
mov dword [esi + 0x10], 0
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x661ea7
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov edi, dword [edi + 8]
test edi, edi
je 0x661eb6
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [0x100ef594], 0
je 0x661fb3
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x12c]
mov dword [esp + 0x68], 0xff
call fcn.006e2c00
mov edx, dword [0x100ef808]
push 0x100
push 1
push edx
call dword [0x100cf14c]
cmp byte [esp + 0x144], 0
mov ebx, eax
je 0x661f4c
mov esi, dword [esp + 0x140]
mov ecx, dword [esi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
lea eax, [esi + 0x10]
jne 0x661f4c
mov edx, ecx
mov dword [edx], 0
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x661f4c
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
push 0x100d2740
lea esi, [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0
mov byte [ebx], 0
call fcn.006df5f0
push 0x100d27c4
call fcn.006df5f0
mov eax, dword [edi + 0x24]
push eax
lea ecx, [esp + 0x38c]
push 0x100e16f8
push ecx
call dword [0x100cf2ec]
add esp, 0xc
lea edx, [esp + 0x388]
push edx
call fcn.006df5f0
push 0x100d27d4
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [ebx]
test eax, eax
je 0x661fd0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebx], 0
mov dword [ebx], edi
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
push edi
call ecx
add dword [esp + 0x2c], 4
add ebx, 4
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], ebx
jne 0x661e15
cmp dword [0x100ef594], 0
je 0x6620c6
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x14c]
mov dword [esp + 0x80], 0xff
call fcn.006e2c00
mov edx, dword [0x100ef808]
push 0x100
push 1
push edx
call dword [0x100cf14c]
cmp byte [esp + 0x164], 0
mov edi, eax
je 0x662094
mov eax, dword [esp + 0x160]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov esi, eax
add eax, 0x10
cmp dword [ecx], 0
jne 0x662094
mov edx, ecx
mov dword [edx], 0
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x662094
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
push 0x100d2740
lea esi, [esp + 0x78]
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0
mov byte [edi], 0
call fcn.006df5f0
push 0x100d27f8
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
push eax
push ecx
call dword [0x100cf0d4]
cmp dword [0x100ef594], 0
mov ebx, eax
je 0x6621d4
push 0x100ef4b8
mov edx, 0x100ef4b4
lea eax, [esp + 0x16c]
mov dword [esp + 0x5c], 0xff
call fcn.006e2c00
mov edx, dword [0x100ef808]
push 0x100
push 1
push edx
call dword [0x100cf14c]
cmp byte [esp + 0x184], 0
mov edi, eax
je 0x662174
mov eax, dword [esp + 0x180]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov esi, eax
add eax, 0x10
cmp dword [ecx], 0
jne 0x662174
mov edx, ecx
mov dword [edx], 0
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x662174
push eax
call dword [0x100cf080]
mov edx, dword [esi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
push 0x100d2740
lea esi, [esp + 0x54]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0
mov byte [edi], 0
call fcn.006df5f0
push 0x100d2818
call fcn.006df5f0
push ebx
lea eax, [esp + 0x28c]
push 0x100e16f8
push eax
call dword [0x100cf2ec]
add esp, 0xc
lea ecx, [esp + 0x288]
push ecx
call fcn.006df5f0
push 0x100d1420
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov esi, dword [esp + 0x10]
test ebx, ebx
jne 0x66221b
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6621e5
call fcn.00663520
mov eax, dword [esp + 0x18]
call fcn.00622510
jmp 0x661b30
push edi
push esi
call fcn.00626270
test al, al
jne 0x661dad
jmp 0x661db3
push edi
push esi
call fcn.00626270
test al, al
jne 0x661e57
jmp 0x661e5d
cmp ebx, 1
je 0x6625e6
lea edi, [ebx - 2]
test edi, edi
jl 0x66255d
mov eax, esi
call fcn.00663370
cmp edi, eax
jge 0x66255d
mov edx, dword [esp + 0x30]
mov edi, dword [edx + edi*4]
test edi, edi
je 0x662251
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [0x100ef594], 0
je 0x6622ef
lea esi, [esp + 0xdc]
call fcn.006e7210
mov esi, eax
push 0x100d2740
call fcn.006df5f0
push 0x100d287c
call fcn.006df5f0
mov eax, dword [edi + 0x24]
mov ecx, esi
call fcn.006e7430
mov esi, eax
push 0x100d28b4
call fcn.006df5f0
mov edx, dword [edi + 0x48]
push edx
lea eax, [esp + 0xb0]
push eax
call fcn.006e74b0
mov ecx, eax
mov eax, esi
call fcn.006e7470
push 0x100d1420
mov esi, eax
call fcn.006df5f0
lea eax, [esp + 0xdc]
call fcn.006e7250
mov eax, dword [esp + 0xb0]
xor esi, esi
cmp eax, esi
je 0x6622ef
call fcn.00622510
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
cmp dword [edi + 0x28], 0
jne 0x66242a
cmp dword [edi + 0x48], 0x10b
lea edx, [edi + 0x48]
jne 0x662368
cmp dword [0x100ef594], 0
je 0x662352
lea esi, [esp + 0xf4]
call fcn.006e7210
mov esi, eax
push 0x100d2740
call fcn.006df5f0
push 0x100d28c0
call fcn.006df5f0
mov eax, dword [edi + 0x24]
mov ecx, esi
call fcn.006e7430
push 0x100d28f4
mov esi, eax
call fcn.006df5f0
lea eax, [esp + 0xf4]
call fcn.006e7250
mov eax, dword [ebp + 8]
push edi
call fcn.006627c0
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push edi
call eax
jmp 0x6625c7
movzx ebx, byte [edi + 0x40]
mov eax, dword [edi + 0x54]
mov esi, dword [edi + 0x50]
mov ecx, dword [0x100ef48c]
push ebx
mov ebx, dword [edi + 0x3c]
push ebx
push eax
mov eax, dword [edi + 0x30]
push esi
push edx
mov edx, dword [edi + 0x44]
push 0
push 0
add ecx, 0x640
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
cmp dword [0x100ef594], 0
mov ebx, eax
je 0x662553
lea esi, [esp + 0x10c]
call fcn.006e7210
mov esi, eax
push 0x100d2740
call fcn.006df5f0
push 0x100d27c4
call fcn.006df5f0
mov eax, dword [edi + 0x24]
mov ecx, esi
call fcn.006e7430
mov esi, eax
push 0x100d2928
call fcn.006df5f0
push ebx
lea ecx, [esp + 0x11c]
push ecx
call fcn.006e74b0
mov ecx, eax
mov eax, esi
call fcn.006e7470
push 0x100d1420
mov esi, eax
call fcn.006df5f0
lea eax, [esp + 0x10c]
call fcn.006e7250
lea esi, [esp + 0x118]
call fcn.00640320
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push edi
call eax
jmp 0x6625c7
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
cmp dword [0x100ef594], 0
je 0x662480
lea esi, [esp + 0xe8]
call fcn.006e7210
mov esi, eax
push 0x100d2740
call fcn.006df5f0
push 0x100d27c4
call fcn.006df5f0
mov eax, dword [edi + 0x24]
mov ecx, esi
call fcn.006e7430
push 0x100d2964
mov esi, eax
call fcn.006df5f0
lea eax, [esp + 0xe8]
call fcn.006e7250
movzx edx, byte [edi + 0x40]
mov eax, dword [edi + 0x54]
mov esi, dword [edi + 0x50]
mov ecx, dword [0x100ef48c]
push edx
mov edx, dword [edi + 0x3c]
push edx
mov edx, dword [edi + 0x44]
push eax
push esi
lea eax, [edi + 0x48]
push eax
mov eax, dword [edi + 0x30]
push 0
push 0
add ecx, 0x640
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
cmp dword [0x100ef594], 0
mov ebx, eax
je 0x662553
lea esi, [esp + 0x100]
call fcn.006e7210
mov esi, eax
push 0x100d2740
call fcn.006df5f0
push 0x100d27c4
call fcn.006df5f0
mov eax, dword [edi + 0x24]
mov ecx, esi
call fcn.006e7430
mov esi, eax
push 0x100d2928
call fcn.006df5f0
push ebx
lea ecx, [esp + 0xc0]
push ecx
call fcn.006e74b0
mov ecx, eax
mov eax, esi
call fcn.006e7470
push 0x100d1420
mov esi, eax
call fcn.006df5f0
lea eax, [esp + 0x100]
call fcn.006e7250
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x662553
call fcn.00622510
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push edi
call eax
jmp 0x6625c7
cmp dword [0x100ef594], 0
je 0x6625cb
xor eax, eax
push eax
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.00625c60
push 0x100d2740
call fcn.006df5f0
push 0x100d29a0
call fcn.006df5f0
push ebx
lea ecx, [esp + 0x48c]
push 0x100e16f8
push ecx
call dword [0x100cf2ec]
add esp, 0xc
lea edx, [esp + 0x488]
push edx
call fcn.006df5f0
push 0x100d1420
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6625d8
call fcn.00663520
mov eax, dword [esp + 0x18]
call fcn.00622510
jmp 0x661b30
cmp dword [0x100ef594], 0
je 0x662622
xor eax, eax
push eax
lea esi, [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call fcn.00625c60
push 0x100d2740
call fcn.006df5f0
push 0x100d2840
call fcn.006df5f0
mov eax, esi
call fcn.006e7250
mov eax, dword [esp + 0x30]
test eax, eax
je 0x66262f
call fcn.00663520
mov eax, dword [esp + 0x18]
test eax, eax
je 0x66263c
call fcn.00622510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4