Function at 0x10065320
Capabilities:
Contain obfuscated stackstrings
Get common file path
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xeb8
mov eax, dword [0x100dbd3c]
xor eax, esp
mov dword [esp + 0xeb4], eax
mov eax, dword [esp + 0xec0]
push ebx
push esi
mov esi, dword [esp + 0xec4]
push edi
mov dword [esp + 0x54], eax
mov ebx, ebx
mov cl, cl
xor ebx, ebx
mov dword [eax], ebx
test eax, 0x4d90
push 0x5c
push esi
call fcn.10077230
add esp, 8
test eax, eax
jne 0x100653d1
push 0x200
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, edi
lea edi, [esp + 0xc0]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x10065384
mov cx, word [0x1009b894]
mov word [edi], cx
test edi, edi
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100653a0
lea edi, [esp + 0xc0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x100653b5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, cl
jmp 0x100653ed
lea edx, [esp + 0xc0]
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x100653e0
nop
mov cl, 0x6c
push ebp
mov byte [esp + 0x64], 0x6e
mov byte [esp + 0x65], 0x74
mov byte [esp + 0x66], 0x64
mov byte [esp + 0x67], cl
mov byte [esp + 0x68], cl
mov byte [esp + 0x69], 0x2e
mov byte [esp + 0x6a], 0x64
mov byte [esp + 0x6b], cl
mov byte [esp + 0x6c], cl
mov byte [esp + 0x6d], bl
mov ebx, ebx
mov al, 0x65
mov dl, 0x69
mov byte [esp + 0x84], 0x5a
mov byte [esp + 0x85], 0x77
mov byte [esp + 0x86], 0x43
mov byte [esp + 0x87], 0x72
mov byte [esp + 0x88], al
mov byte [esp + 0x89], 0x61
mov byte [esp + 0x8a], 0x74
mov byte [esp + 0x8b], al
mov byte [esp + 0x8c], 0x46
mov byte [esp + 0x8d], dl
mov byte [esp + 0x8e], cl
mov byte [esp + 0x8f], al
mov byte [esp + 0x90], bl
mov edi, edi
mov byte [esp + 0xac], 0x5a
mov byte [esp + 0xad], 0x77
mov byte [esp + 0xae], 0x51
mov byte [esp + 0xaf], 0x75
mov byte [esp + 0xb0], al
mov byte [esp + 0xb1], 0x72
mov byte [esp + 0xb2], 0x79
mov byte [esp + 0xb3], 0x49
mov byte [esp + 0xb4], 0x6e
mov byte [esp + 0xb5], 0x66
mov byte [esp + 0xb6], 0x6f
mov byte [esp + 0xb7], 0x72
mov byte [esp + 0xb8], 0x6d
mov byte [esp + 0xb9], 0x61
mov byte [esp + 0xba], 0x74
mov byte [esp + 0xbb], dl
mov byte [esp + 0xbc], 0x6f
mov byte [esp + 0xbd], 0x6e
mov byte [esp + 0xbe], 0x46
mov byte [esp + 0xbf], dl
mov byte [esp + 0xc0], cl
mov byte [esp + 0xc1], al
mov byte [esp + 0xc2], bl
test dl, dl
mov byte [esp + 0x70], 0x5a
mov byte [esp + 0x71], 0x77
mov byte [esp + 0x72], 0x52
mov byte [esp + 0x73], al
mov byte [esp + 0x74], 0x61
mov byte [esp + 0x75], 0x64
mov byte [esp + 0x76], 0x46
mov byte [esp + 0x77], dl
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], bl
test edi, edi
mov byte [esp + 0x7c], 0x5a
mov byte [esp + 0x7d], 0x77
mov byte [esp + 0x7e], 0x43
mov byte [esp + 0x7f], cl
mov byte [esp + 0x80], 0x6f
mov byte [esp + 0x81], 0x73
mov byte [esp + 0x82], al
mov byte [esp + 0x83], bl
test edx, edx
mov byte [esp + 0x94], 0x52
mov byte [esp + 0x95], 0x74
mov byte [esp + 0x96], cl
mov byte [esp + 0x97], 0x49
mov byte [esp + 0x98], 0x6e
mov byte [esp + 0x99], dl
mov byte [esp + 0x9a], 0x74
mov byte [esp + 0x9b], 0x55
mov byte [esp + 0x9c], 0x6e
mov byte [esp + 0x9d], dl
mov byte [esp + 0x9e], 0x63
mov byte [esp + 0x9f], 0x6f
mov byte [esp + 0xa0], 0x64
mov byte [esp + 0xa1], al
mov byte [esp + 0xa2], 0x53
mov byte [esp + 0xa3], 0x74
mov byte [esp + 0xa4], 0x72
mov byte [esp + 0xa5], dl
mov byte [esp + 0xa6], 0x6e
mov byte [esp + 0xa7], 0x67
mov byte [esp + 0xa8], bl
push ecx
pop ecx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov eax, eax
lea eax, [esp + 0x84]
push eax
push esi
call fcn.10065100
add esp, 8
mov ebp, eax
mov ebx, ebx
lea ecx, [esp + 0xac]
push ecx
push esi
call fcn.10065100
add esp, 8
mov dword [esp + 0x60], eax
test cl, cl
lea edx, [esp + 0x70]
push edx
push esi
call fcn.10065100
add esp, 8
mov dword [esp + 0x5c], eax
test eax, 0x919
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.10065100
add esp, 8
mov dword [esp + 0x54], eax
test eax, 0x225e
lea ecx, [esp + 0x94]
push ecx
push esi
call fcn.10065100
add esp, 8
mov dword [esp + 0x7c], eax
mov ecx, ecx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
test cl, cl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push eax
pop eax
mov dword [esp + 0x10], ebx
test ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
test ecx, ecx
mov esi, esi
test eax, eax
mov al, al
mov ecx, 0x5c
mov eax, 0x3f
mov word [esp + 0x70], cx
mov word [esp + 0x72], ax
mov word [esp + 0x74], ax
mov word [esp + 0x76], cx
mov word [esp + 0x78], bx
test eax, eax
push 0x400
lea edx, [esp + 0x2c8]
push ebx
push edx
call fcn.10075a40
add esp, 0xc
test ebx, ebx
lea eax, [esp + 0xc4]
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10065760
push 0x200
lea ecx, [esp + 0x2c8]
push ecx
sub eax, esi
push eax
lea edx, [esp + 0xd0]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test ecx, ecx
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x70]
mov word [esp + eax + 0x6c4], cx
add eax, 2
cmp cx, bx
jne 0x10065790
mov edx, edx
lea eax, [esp + 0x2c4]
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100657b0
lea edi, [esp + 0x6c4]
sub eax, esi
add edi, 0xfffffffe
jmp 0x100657d0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x100657d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, al
lea eax, [esp + 0x6c4]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [esp + 0x84]
test ah, ah
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0x40
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov cl, cl
push ebx
push ebx
push 0x20
push 1
push 1
push 0x80
push ebx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push 0x100001
lea edx, [esp + 0x38]
push edx
call ebp
test eax, 0x593b
cmp eax, ebx
pop ebp
jl 0x10065881
mov edx, dword [esp + 0xc]
push 5
push 0x18
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [esp + 0x70]
mov eax, eax
cmp eax, ebx
jge 0x1006589b
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
test eax, 0xfd0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.10074da4
add esp, 0xeb8
ret
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10074820
add esp, 4
mov esi, eax
test edi, edi
cmp esi, ebx
mov edx, dword [esp + 0xc]
jne 0x100658d5
push edx
call dword [esp + 0x54]
test ah, ah
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.10074da4
add esp, 0xeb8
ret
mov eax, dword [esp + 0x40]
push ebx
push ebx
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
push edx
call dword [esp + 0x7c]
mov ch, ch
cmp eax, ebx
jge 0x10065920
push esi
call fcn.100748e3
add esp, 4
push ebx
pop ebx
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
xchg ebx, eax
xchg ebx, eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.10074da4
add esp, 0xeb8
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [edx], ecx
test ebx, ebx
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
push edx
pop edx
mov ecx, dword [esp + 0xec0]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10074da4
add esp, 0xeb8
ret