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

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ecx + 0x14]
test eax, eax
jle 0x766814
mov ecx, dword [esi + 0x1c]
xor edx, edx
cmp eax, 1
je 0x7667ec
mov ebx, eax
and ebx, 0xfffffffe
xor edx, edx
jmp 0x7667a9
mov word [edi], 0
cmp ebx, edx
je 0x7667ec
mov edi, dword [ecx + edx*4 + 4]
test byte [edi], 1
jne 0x7667c0
mov word [edi], 0
jmp 0x7667ce
mov ebp, dword [edi + 8]
mov byte [ebp], 0
mov dword [edi + 4], 0
mov edi, dword [ecx + edx*4 + 8]
add edx, 2
test byte [edi], 1
je 0x7667a0
mov ebp, dword [edi + 8]
mov byte [ebp], 0
mov dword [edi + 4], 0
cmp ebx, edx
jne 0x7667a9
test al, 1
je 0x76680d
mov eax, dword [ecx + edx*4 + 4]
test byte [eax], 1
jne 0x766800
mov word [eax], 0
jmp 0x76680d
mov ecx, dword [eax + 8]
mov byte [ecx], 0
mov dword [eax + 4], 0
mov dword [esi + 0x14], 0
mov edi, dword [esi + 0x24]
test edi, edi
jle 0x766835
mov ebx, dword [esi + 0x2c]
xor ebp, ebp
mov ecx, dword [ebx + ebp*4 + 4]
inc ebp
call fcn.00769820
cmp edi, ebp
jne 0x766820
mov dword [esi + 0x24], 0
mov edi, dword [esi + 0x34]
test edi, edi
jle 0x766865
mov ebx, dword [esi + 0x3c]
xor ebp, ebp
nop word cs:[eax + eax]
mov ecx, dword [ebx + ebp*4 + 4]
inc ebp
call fcn.0076de20
cmp edi, ebp
jne 0x766850
mov dword [esi + 0x34], 0
mov edi, dword [esi + 0x44]
test edi, edi
jle 0x766895
mov ebx, dword [esi + 0x4c]
xor ebp, ebp
nop word cs:[eax + eax]
mov ecx, dword [ebx + ebp*4 + 4]
inc ebp
call fcn.0076f720
cmp edi, ebp
jne 0x766880
mov dword [esi + 0x44], 0
mov edi, dword [esi + 0x54]
test edi, edi
jle 0x7668c5
mov ebx, dword [esi + 0x5c]
xor ebp, ebp
nop word cs:[eax + eax]
mov ecx, dword [ebx + ebp*4 + 4]
inc ebp
call fcn.0076b850
cmp edi, ebp
jne 0x7668b0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x6c], 0
mov ebx, dword [esi + 8]
test bl, 0x1f
je 0x7669d6
test bl, 1
jne 0x766905
test bl, 2
jne 0x76692e
test bl, 4
jne 0x766957
test bl, 8
jne 0x766987
test bl, 0x10
jne 0x766997
jmp 0x7669d6
mov eax, dword [esi + 0x78]
and eax, 0xfffffffc
test byte [eax], 1
jne 0x76691c
mov word [eax], 0
test bl, 2
je 0x7668e9
jmp 0x76692e
mov ecx, dword [eax + 8]
mov byte [ecx], 0
mov dword [eax + 4], 0
test bl, 2
je 0x7668e9
mov eax, dword [esi + 0x7c]
and eax, 0xfffffffc
test byte [eax], 1
jne 0x766945
mov word [eax], 0
test bl, 4
je 0x7668ee
jmp 0x766957
mov ecx, dword [eax + 8]
mov byte [ecx], 0
mov dword [eax + 4], 0
test bl, 4
je 0x7668ee
mov eax, dword [esi + 0x80]
and eax, 0xfffffffc
test byte [eax], 1
jne 0x766971
mov word [eax], 0
test bl, 8
je 0x7668f7
jmp 0x766987
mov ecx, dword [eax + 8]
mov byte [ecx], 0
mov dword [eax + 4], 0
test bl, 8
je 0x7668f7
mov ecx, dword [esi + 0x84]
call fcn.00766a00
test bl, 0x10
je 0x7669d6
mov ecx, dword [esi + 0x88]
mov ebx, dword [ecx + 0xc]
test ebx, ebx
jle 0x7669c8
mov dword [esp], ecx
mov ebp, dword [ecx + 0x14]
xor edi, edi
nop dword [eax]
mov ecx, dword [ebp + edi*4 + 4]
inc edi
call fcn.00778530
cmp ebx, edi
jne 0x7669b0
mov ecx, dword [esp]
mov dword [ecx + 0xc], 0
test byte [ecx + 4], 1
je 0x7669d6
add ecx, 4
call fcn.0042c880
mov dword [esi + 8], 0
test byte [esi + 4], 1
jne 0x7669eb
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 4
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0042c880