Function at 0x66d1a8
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x66d1b1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405814
mov eax, dword [ebp - 8]
call fcn.00405814
mov eax, dword [ebp + 0x14]
call fcn.00405814
xor eax, eax
push ebp
push 0x66d74d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x66cb80]
call fcn.0066ead8
mov ebx, eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.004053e8
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 8]
call fcn.004053e8
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 4]
call fcn.004053e8
lea eax, [ebx + 8]
mov edx, dword [ebp + 0x14]
call fcn.004053e8
cmp dword [ebp - 8], 0
je 0x66d234
mov byte [ebx + 0x14], 1
movzx eax, byte [esi]
mov byte [ebx + 0x45], al
movzx eax, byte [esi + 2]
mov byte [ebx + 0x46], al
movzx eax, byte [esi + 3]
mov byte [ebx + 0x47], al
movzx eax, byte [esi + 1]
mov byte [ebx + 0x2c], al
movzx eax, byte [esi + 4]
mov byte [ebx + 0x2d], al
movzx eax, byte [esi + 5]
mov byte [ebx + 0x48], al
movzx eax, byte [esi + 6]
mov byte [ebx + 0x49], al
movzx eax, byte [esi + 0x15]
mov byte [ebx + 0x4a], al
movzx eax, byte [esi + 0x16]
mov byte [ebx + 0x4b], al
movzx eax, byte [esi + 0x17]
mov byte [ebx + 0x4c], al
movzx eax, byte [esi + 0x18]
mov byte [ebx + 0x4d], al
movzx eax, byte [esi + 0x19]
mov byte [ebx + 0x4e], al
movzx eax, byte [esi + 0x1a]
mov byte [ebx + 0x4f], al
movzx eax, byte [esi + 0x1b]
mov byte [ebx + 0x50], al
movzx eax, byte [esi + 0x1c]
mov byte [ebx + 0x51], al
movzx eax, byte [esi + 0x1d]
mov byte [ebx + 0x52], al
movzx eax, byte [esi + 0x20]
mov byte [ebx + 0x12d], al
movzx eax, byte [esi + 0x23]
mov byte [ebx + 0x12e], al
movzx eax, byte [esi + 0x22]
mov byte [ebx + 0xd4], al
movzx eax, byte [esi + 0x24]
mov byte [ebx + 0x12f], al
movzx eax, byte [esi + 0x25]
mov byte [ebx + 0x130], al
movzx eax, byte [esi + 0x13]
mov byte [ebx + 0x70], al
movzx eax, byte [esi + 0x14]
mov byte [ebx + 0x71], al
movzx eax, byte [esi + 0xd]
mov byte [ebx + 0x73], al
movzx eax, byte [esi + 0xe]
mov byte [ebx + 0x72], al
movzx eax, byte [esi + 0xf]
mov byte [ebx + 0x76], al
movzx eax, byte [esi + 0x10]
mov byte [ebx + 0x77], al
movzx eax, byte [esi + 0x11]
mov byte [ebx + 0x74], al
movzx eax, byte [esi + 0x12]
mov byte [ebx + 0x75], al
movzx eax, byte [esi + 7]
mov byte [ebx + 0x78], al
movzx eax, byte [esi + 8]
mov byte [ebx + 0x79], al
movzx eax, byte [esi + 9]
mov byte [ebx + 0x7a], al
movzx eax, byte [esi + 0xa]
mov byte [ebx + 0x7b], al
movzx eax, byte [esi + 0xb]
mov byte [ebx + 0x7c], al
movzx eax, byte [esi + 0xc]
mov byte [ebx + 0x7d], al
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x84], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0x4c]
mov dword [ebx + 0x94], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x98], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x9c], eax
mov eax, dword [esi + 0x60]
mov dword [ebx + 0xa0], eax
mov eax, dword [esi + 0x5c]
mov dword [ebx + 0xa4], eax
mov eax, dword [esi + 0x70]
mov dword [ebx + 0xb0], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0xb4], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0xb8], eax
mov eax, dword [esi + 0x74]
mov dword [ebx + 0xbc], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0xc0], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0xc4], eax
movzx eax, byte [esi + 0x9a]
mov byte [ebx + 0xd5], al
mov eax, dword [esi + 0x9c]
mov dword [ebx + 0xd8], eax
lea eax, [ebx + 0x54]
mov edx, dword [esi + 0x7c]
call fcn.004053e8
xor eax, eax
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x5c], eax
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x6c], eax
movzx eax, byte [esi + 0x1f]
mov byte [ebx + 0x12c], al
movzx eax, byte [esi + 0x21]
mov byte [ebx + 0xd3], al
movzx eax, byte [esi + 0x99]
mov byte [ebx + 0xfc], al
lea eax, [ebx + 0x120]
mov edx, dword [esi + 0xa4]
call fcn.004053e8
cmp byte [esi + 0x88], 0
je 0x66d53f
cmp dword [esi + 0x8c], 0
je 0x66d53f
mov byte [ebx + 0xec], 1
mov dl, 1
mov eax, dword [0x66c938]
call fcn.0066cad8
mov dword [ebx + 0xf0], eax
mov dl, 1
mov eax, dword [0x41d624]
call fcn.00404400
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x8c]
call fcn.0040a284
mov eax, dword [ebp - 0x20]
call fcn.00405824
mov ecx, eax
mov edx, 0x66d760
mov eax, 0x66d780
call fcn.0041f788
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66d537
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040a284
mov edx, dword [ebp - 0x24]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005c3868
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x66d52f
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040a284
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0xf0]
mov ecx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0x3c]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x66d4d4
mov eax, dword [ebp - 0x18]
call fcn.00404430
cmp byte [esi + 0x90], 0
je 0x66d655
cmp dword [esi + 0x94], 0
je 0x66d655
mov byte [ebx + 0xf4], 1
mov dl, 1
mov eax, dword [0x66c938]
call fcn.0066cad8
mov dword [ebx + 0xf8], eax
mov dl, 1
mov eax, dword [0x41d624]
call fcn.00404400
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x94]
call fcn.0040a284
mov eax, dword [ebp - 0x34]
call fcn.00405824
mov ecx, eax
mov edx, 0x66d760
mov eax, 0x66d780
call fcn.0041f788
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66d624
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040a284
mov edx, dword [ebp - 0x38]
mov eax, dword [0x6c0ec4]
mov eax, dword [eax]
call fcn.005c3180
mov esi, eax
test esi, esi
je 0x66d61c
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0040a284
mov edx, dword [ebp - 0x40]
movzx ecx, word [esi]
mov eax, dword [ebx + 0xf8]
mov esi, dword [eax]
call dword [esi + 0x3c]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x66d5c4
mov eax, dword [ebx + 0xf8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x66d64d
mov eax, dword [ebx + 0xf8]
call fcn.00404430
xor eax, eax
mov dword [ebx + 0xf8], eax
mov byte [ebx + 0xf4], 0
mov eax, dword [ebp - 0x18]
call fcn.00404430
cmp dword [ebp - 8], 0
je 0x66d6ba
mov eax, dword [0x6c07b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66d713
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x6c07b4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebx + 0xc]
call fcn.00409e48
test eax, eax
jne 0x66d6b0
mov eax, dword [0x6c07b4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebx + 0x1c], eax
jmp 0x66d713
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x66d67b
jmp 0x66d713
mov eax, dword [0x6c07b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x66d713
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x4c]
mov eax, dword [0x6c07b4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebx + 4]
call fcn.00409e48
test eax, eax
jne 0x66d70b
mov eax, dword [0x6c07b4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebx + 0x1c], eax
jmp 0x66d713
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x66d6d6
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0041fa54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66d754
lea eax, [ebp - 0x4c]
mov edx, 0xc
call fcn.004053b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b8
lea eax, [ebp + 0x14]
call fcn.00405394
ret