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

Disassembly:
sub esp, 0xeb8
mov eax, dword [0x101e5aec]
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 esi, esi
mov bh, bh
xor ebx, ebx
mov dword [eax], ebx
nop
push 0x5c
push esi
call fcn.10130360
add esp, 8
test eax, eax
jne 0x1010b641
push 0x200
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp dword [0x101d3420], 0xfffff6ab
lea edi, [esp + 0xc0]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x1010b5f8
mov cx, word [0x10198ac4]
mov word [edi], cx
mov al, al
mov eax, esi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1010b610
lea edi, [esp + 0xc0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x1010b625
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 ebp, ebp
jmp 0x1010b666
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 0x1010b650
cmp dword [0x101d3438], 0x5bc4
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 ebp, ebp
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
push ebx
pop ebx
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
mov bl, bl
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
cmp dword [0x101d3428], 0x2c08
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
push edx
pop 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
mov esi, esi
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp dword [0x101d3438], 0xffffa43b
lea eax, [esp + 0x84]
push eax
push esi
call fcn.1010b2d0
add esp, 8
mov ebp, eax
cmp dword [0x101d342c], 0x70b
lea ecx, [esp + 0xac]
push ecx
push esi
call fcn.1010b2d0
add esp, 8
mov dword [esp + 0x60], eax
mov ecx, ecx
lea edx, [esp + 0x70]
push edx
push esi
call fcn.1010b2d0
add esp, 8
mov dword [esp + 0x5c], eax
cmp dword [0x101d342c], 0xfffff8f4
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.1010b2d0
add esp, 8
mov dword [esp + 0x54], eax
cmp dword [0x101d343c], 0xffffe797
lea ecx, [esp + 0x94]
push ecx
push esi
call fcn.1010b2d0
add esp, 8
mov dword [esp + 0x7c], eax
mov dl, dl
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
cmp dword [0x101d343c], 0xffffe797
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp dword [0x101d3440], 0x516e
mov dword [esp + 0x10], ebx
cmp dword [0x101d3420], 0xfffff6ab
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
mov dh, dh
cmp dword [0x101d3428], 0xffffd3f7
mov ah, ah
cmp dword [0x101d3434], 0x406d
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
mov dh, dh
push 0x400
lea edx, [esp + 0x2c8]
push ebx
push edx
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d3428], 0xffffd3f7
lea eax, [esp + 0xc4]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1010ba24
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]
mov bl, bl
xor eax, eax
jmp 0x1010ba60
movzx ecx, word [esp + eax + 0x70]
mov word [esp + eax + 0x6c4], cx
add eax, 2
cmp cx, bx
jne 0x1010ba60
mov dh, dh
lea eax, [esp + 0x2c4]
mov esi, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1010ba80
lea edi, [esp + 0x6c4]
sub eax, esi
add edi, 0xfffffffe
jmp 0x1010baa0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x1010baa0
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 edx, edx
lea eax, [esp + 0x6c4]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [esp + 0x84]
cmp dword [0x101d3428], 0xffffd3f7
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 dl, dl
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
cmp dword [0x101d3420], 0xfffff6ab
cmp eax, ebx
pop ebp
jl 0x1010bb63
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 ecx, ecx
cmp eax, ebx
jge 0x1010bb7d
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
cmp dword [0x101d3428], 0xffffd3f7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.1012e3ba
add esp, 0xeb8
ret
mov ecx, dword [esp + 0x40]
push ecx
call fcn.1012de1c
add esp, 4
mov esi, eax
mov dl, dl
cmp esi, ebx
mov edx, dword [esp + 0xc]
jne 0x1010bbbf
push edx
call dword [esp + 0x54]
cmp dword [0x101d3440], 0xffffae91
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.1012e3ba
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]
push ebx
pop ebx
cmp eax, ebx
jge 0x1010bc12
push esi
call fcn.1012dedf
add esp, 4
cmp dword [0x101d3424], 0x7e7c
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
mov ch, ch
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xeb4]
xor ecx, esp
call fcn.1012e3ba
add esp, 0xeb8
ret
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [edx], ecx
cmp dword [0x101d3428], 0xffffd3f7
mov eax, dword [esp + 0xc]
push eax
call dword [esp + 0x54]
mov dl, dl
mov ecx, dword [esp + 0xec0]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1012e3ba
add esp, 0xeb8
ret