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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor eax, eax
push 0x11
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x48], 0x44
lea esi, [ebx + 4]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x3c]
test edi, edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x30], eax
je 0x76646757
mov eax, edi
imul eax, eax, 0x78
push eax
call fcn.765fc04a
test eax, eax
mov esi, dword [ebp + 0x14]
mov dword [esi + 0xc0], eax
je 0x76646765
mov eax, edi
shl eax, 4
push eax
mov dword [esi + 0xbc], edi
call fcn.765fc04a
test eax, eax
mov dword [ebp - 4], eax
je 0x76646765
mov ecx, eax
xor edx, edx
test edi, edi
lea eax, [ecx + edi*4]
jbe 0x76646592
mov dword [ecx + edx*4], eax
mov dword [eax], 0xc
inc edx
add eax, 0xc
cmp edx, edi
jb 0x76646581
lea eax, [ebp - 0x48]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ecx
call fcn.76646350
test eax, eax
je 0x76646765
mov eax, dword [esi + 0xc0]
xor edx, edx
test edi, edi
jbe 0x766465d9
lea ecx, [eax + 0x74]
mov eax, dword [ebp - 4]
lea eax, [eax + edx*4]
mov ebx, dword [eax]
mov ebx, dword [ebx + 4]
mov dword [ecx - 4], ebx
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ecx], eax
inc edx
add ecx, 0x78
cmp edx, edi
jb 0x766465bc
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [esi + 4], 3
je 0x76646608
dec eax
je 0x766465f9
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x76646765
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.76643844
jmp 0x76646615
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.766437e1
test eax, eax
je 0x76646765
cmp dword [ebp - 0x34], 0
je 0x7664663b
lea eax, [esi + 0x64]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.765ff90e
test eax, eax
je 0x76646765
or byte [esi], 0x80
lea eax, [esi + 0x6c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.76643680
test eax, eax
je 0x76646765
and dword [ebp + 0x10], 0
test edi, edi
mov ebx, dword [esi + 0xc0]
jbe 0x766466fd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp + 0x10]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x10]
dec eax
je 0x766466d8
dec eax
jne 0x76646757
lea eax, [ebx + 8]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.765ff90e
test eax, eax
je 0x76646762
lea eax, [esi + 0x24]
mov word [ebx], 2
cmp dword [eax], 0
jne 0x766466a3
cmp dword [esi + 0x28], 0
je 0x766466b9
lea ecx, [ebx + 0x10]
push ecx
push eax
call fcn.7665fefd
test eax, eax
je 0x76646762
or byte [ebx + 4], 0x80
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x766466ee
lea eax, [ebx + 0x20]
push eax
push esi
call int.7664371f
test eax, eax
je 0x76646762
or byte [ebx + 4], 0x40
jmp 0x766466ee
lea eax, [ebx + 4]
push eax
add esi, 0x14
push esi
call fcn.765ff9bf
test eax, eax
je 0x76646762
mov word [ebx], 1
inc dword [ebp + 0x10]
add ebx, 0x78
cmp dword [ebp + 0x10], edi
jb 0x76646662
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.765e40a0
test byte [ebp - 8], 1
je 0x76646716
push dword [ebp - 0x38]
call fcn.765e40a0
test byte [ebp - 8], 2
je 0x76646724
push dword [ebp - 0x30]
call fcn.765e40a0
test byte [ebp - 8], 4
je 0x76646732
push dword [ebp - 0x28]
call fcn.765e40a0
test byte [ebp - 8], 8
je 0x76646740
push dword [ebp - 0x20]
call fcn.765e40a0
test byte [ebp - 8], 0x10
je 0x7664674e
push dword [ebp - 0x18]
call fcn.765e40a0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 0x14]
push esi
call fcn.766438fd
xor esi, esi
jmp 0x76646700