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

Disassembly:
sub esp, 0xec
mov eax, dword [0x100dbd3c]
xor eax, esp
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xf0]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x104]
mov ecx, ecx
xor ebx, ebx
mov ah, ah
mov al, al
mov eax, eax
mov al, al
mov ebx, ebx
mov edx, dword [ecx + 0x3c]
add edx, ecx
mov cl, cl
mov eax, dword [edx + 0x78]
add eax, ecx
push eax
pop eax
mov esi, dword [edx + 0x78]
mov dword [esp + 0x1c], esi
test eax, 0x787b
mov edx, dword [edx + 0x7c]
mov dword [esp + 0x24], edx
test ecx, ecx
mov edx, dword [eax + 0x1c]
add edx, ecx
mov dword [esp + 0x18], edx
mov edi, edi
mov ebp, dword [eax + 0x20]
add ebp, ecx
mov eax, eax
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
test eax, eax
mov edx, dword [eax + 0x10]
mov eax, eax
mov esi, dword [eax + 0x24]
add esi, ecx
mov dword [esp + 0x20], esi
push eax
pop eax
test bl, bl
test edi, 0xffff0000
jne 0x100651b1
cmp edi, edx
jb 0x100651aa
mov eax, dword [eax + 0x14]
lea eax, [eax + edx - 1]
cmp edi, eax
ja 0x100651aa
sub edi, edx
mov edx, dword [esp + 0x18]
mov ebx, dword [edx + edi*4]
add ebx, ecx
mov al, al
jmp 0x1006521f
xor eax, eax
jmp 0x10065303
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jle 0x1006521f
jmp 0x100651c0
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
add eax, ecx
mov dh, dh
mov esi, edi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [esi]
jne 0x100651f0
test dl, dl
je 0x100651ec
mov dl, byte [eax + 1]
cmp dl, byte [esi + 1]
jne 0x100651f0
add eax, 2
add esi, 2
test dl, dl
jne 0x100651d0
xor eax, eax
jmp 0x100651f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x10]
je 0x1006520c
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x100651c0
jmp 0x1006521f
mov edx, dword [esp + 0x20]
movzx edx, word [edx + eax*2]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + edx*4]
add ebx, ecx
mov eax, eax
mov eax, dword [esp + 0x1c]
lea edx, [ecx + eax]
cmp ebx, edx
jb 0x10065301
mov edx, dword [esp + 0x24]
add ecx, edx
add ecx, eax
cmp ebx, ecx
ja 0x10065301
push 0x63
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.10075a40
add esp, 0xc
test ebx, ebx
push 0x63
lea ecx, [esp + 0x99]
push 0
push ecx
mov byte [esp + 0xa0], 0
call fcn.10075a40
add esp, 0xc
test edx, edx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
lea edx, [esp + 0x34]
push edx
call esi
test eax, 0x1292
lea eax, [esp + 0x30]
push 0x2e
push eax
call fcn.10077230
add esp, 8
mov dh, dh
test eax, eax
je 0x10065301
mov byte [eax], 0
test ecx, ecx
add eax, 1
push eax
lea ecx, [esp + 0x98]
push ecx
call esi
mov bh, bh
mov al, 0x6c
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0
mov ebx, ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
nop
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test dh, dh
test eax, eax
je 0x10065301
lea edx, [esp + 0x94]
push edx
push eax
call fcn.10065100
add esp, 8
jmp 0x10065303
mov eax, ebx
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10074da4
add esp, 0xec
ret