Function at 0x52fc20
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x65be41
mov eax, dword fs:[0]
push eax
sub esp, 0x794
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x790], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x7a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7b8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c0]
mov dword [esp + 0x24], eax
mov byte [eax], 0
lea eax, [esp + 0xa0]
xor edi, edi
mov byte [esp + 0xa0], 0x66
mov byte [esp + 0xa1], 0x78
mov byte [esp + 0xa2], 0x7f
mov byte [esp + 0xa3], 0x65
mov byte [esp + 0xa4], 0x63
mov byte [esp + 0xa5], 0x64
mov byte [esp + 0xa6], 0x62
mov byte [esp + 0xa7], 0x65
mov byte [esp + 0xa8], 0x3f
mov byte [esp + 0xa9], 0x75
mov byte [esp + 0xaa], 0x7d
mov byte [esp + 0xab], 0x7d
mov byte [esp + 0xac], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x52fce8
sub eax, ecx
xor ecx, ecx
cmp eax, edi
jle 0x52fd0d
jmp 0x52fd00
xor byte [esp + ecx + 0xa0], 0x11
inc ecx
cmp ecx, eax
jl 0x52fd00
xor ecx, ecx
push edi
lea edx, [esp + 0xa4]
mov word [esp + 0x80], cx
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], edi
mov dword [esp + 0x88], edi
call fcn.00401980
mov dword [esp + 0x7b0], edi
mov bl, 0x74
lea eax, [esp + 0xbc]
mov byte [esp + 0xbc], 0x46
mov byte [esp + 0xbd], 0x78
mov byte [esp + 0xbe], 0x7f
mov byte [esp + 0xbf], 0x47
mov byte [esp + 0xc0], bl
mov byte [esp + 0xc1], 0x63
mov byte [esp + 0xc2], 0x78
mov byte [esp + 0xc3], 0x77
mov byte [esp + 0xc4], 0x68
mov byte [esp + 0xc5], 0x45
mov byte [esp + 0xc6], 0x63
mov byte [esp + 0xc7], 0x64
mov byte [esp + 0xc8], 0x62
mov byte [esp + 0xc9], 0x65
mov byte [esp + 0xca], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52fdc4
sub eax, esi
xor ecx, ecx
cmp eax, edi
jle 0x52fde0
xor byte [esp + ecx + 0xbc], 0x11
inc ecx
cmp ecx, eax
jl 0x52fdd3
mov al, 0x55
mov byte [esp + 0x120], al
mov byte [esp + 0x12d], al
lea eax, [esp + 0x114]
mov byte [esp + 0x114], 0x46
mov byte [esp + 0x115], 0x45
mov byte [esp + 0x116], 0x59
mov byte [esp + 0x117], bl
mov byte [esp + 0x118], 0x7d
mov byte [esp + 0x119], 0x61
mov byte [esp + 0x11a], bl
mov byte [esp + 0x11b], 0x63
mov byte [esp + 0x11c], 0x41
mov byte [esp + 0x11d], 0x63
mov byte [esp + 0x11e], 0x7e
mov byte [esp + 0x11f], 0x67
mov byte [esp + 0x121], 0x70
mov byte [esp + 0x122], 0x65
mov byte [esp + 0x123], 0x70
mov byte [esp + 0x124], 0x57
mov byte [esp + 0x125], 0x63
mov byte [esp + 0x126], 0x7e
mov byte [esp + 0x127], 0x7c
mov byte [esp + 0x128], 0x42
mov byte [esp + 0x129], 0x65
mov byte [esp + 0x12a], 0x70
mov byte [esp + 0x12b], 0x65
mov byte [esp + 0x12c], bl
mov byte [esp + 0x12e], 0x70
mov byte [esp + 0x12f], 0x65
mov byte [esp + 0x130], 0x70
mov byte [esp + 0x131], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x52fed7
sub eax, esi
xor ecx, ecx
cmp eax, edi
jle 0x52fefd
jmp 0x52fef0
xor byte [esp + ecx + 0x114], 0x11
inc ecx
cmp ecx, eax
jl 0x52fef0
mov dl, 0x79
lea eax, [esp + 0x134]
mov byte [esp + 0x134], 0x46
mov byte [esp + 0x135], 0x45
mov byte [esp + 0x136], 0x59
mov byte [esp + 0x137], bl
mov byte [esp + 0x138], 0x7d
mov byte [esp + 0x139], 0x61
mov byte [esp + 0x13a], bl
mov byte [esp + 0x13b], 0x63
mov byte [esp + 0x13c], 0x56
mov byte [esp + 0x13d], bl
mov byte [esp + 0x13e], 0x65
mov byte [esp + 0x13f], 0x41
mov byte [esp + 0x140], 0x63
mov byte [esp + 0x141], 0x7e
mov byte [esp + 0x142], 0x67
mov byte [esp + 0x143], 0x42
mov byte [esp + 0x144], 0x78
mov byte [esp + 0x145], 0x76
mov byte [esp + 0x146], 0x7f
mov byte [esp + 0x147], bl
mov byte [esp + 0x148], 0x63
mov byte [esp + 0x149], 0x57
mov byte [esp + 0x14a], 0x63
mov byte [esp + 0x14b], 0x7e
mov byte [esp + 0x14c], 0x7c
mov byte [esp + 0x14d], 0x52
mov byte [esp + 0x14e], dl
mov byte [esp + 0x14f], 0x70
mov byte [esp + 0x150], 0x78
mov byte [esp + 0x151], 0x7f
mov byte [esp + 0x152], 0
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x530000
sub eax, esi
xor ecx, ecx
cmp eax, edi
jle 0x53001d
nop
xor byte [esp + ecx + 0x134], 0x11
inc ecx
cmp ecx, eax
jl 0x530010
lea eax, [esp + 0xf4]
mov byte [esp + 0xf4], 0x46
mov byte [esp + 0xf5], 0x45
mov byte [esp + 0xf6], 0x59
mov byte [esp + 0xf7], bl
mov byte [esp + 0xf8], 0x7d
mov byte [esp + 0xf9], 0x61
mov byte [esp + 0xfa], bl
mov byte [esp + 0xfb], 0x63
mov byte [esp + 0xfc], 0x56
mov byte [esp + 0xfd], bl
mov byte [esp + 0xfe], 0x65
mov byte [esp + 0xff], 0x41
mov byte [esp + 0x100], 0x63
mov byte [esp + 0x101], 0x7e
mov byte [esp + 0x102], 0x67
mov byte [esp + 0x103], 0x52
mov byte [esp + 0x104], bl
mov byte [esp + 0x105], 0x63
mov byte [esp + 0x106], 0x65
mov byte [esp + 0x107], 0x57
mov byte [esp + 0x108], 0x63
mov byte [esp + 0x109], 0x7e
mov byte [esp + 0x10a], 0x7c
mov byte [esp + 0x10b], 0x52
mov byte [esp + 0x10c], dl
mov byte [esp + 0x10d], 0x70
mov byte [esp + 0x10e], 0x78
mov byte [esp + 0x10f], 0x7f
mov byte [esp + 0x110], 0
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x530110
sub eax, esi
xor ecx, ecx
cmp eax, edi
jle 0x53012d
nop
xor byte [esp + ecx + 0xf4], 0x11
inc ecx
cmp ecx, eax
jl 0x530120
lea eax, [esp + 0x94]
mov byte [esp + 0x94], 0x52
mov byte [esp + 0x95], 0x63
mov byte [esp + 0x96], 0x68
mov byte [esp + 0x97], 0x61
mov byte [esp + 0x98], 0x65
mov byte [esp + 0x99], 0x22
mov byte [esp + 0x9a], 0x23
mov byte [esp + 0x9b], 0x3f
mov byte [esp + 0x9c], 0x75
mov byte [esp + 0x9d], 0x7d
mov byte [esp + 0x9e], 0x7d
mov byte [esp + 0x9f], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x530197
sub eax, esi
xor ecx, ecx
cmp eax, edi
jle 0x5301bd
jmp 0x5301b0
xor byte [esp + ecx + 0x94], 0x11
inc ecx
cmp ecx, eax
jl 0x5301b0
push edi
lea ecx, [esp + 0x98]
xor eax, eax
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], edi
mov word [esp + 0x6c], ax
call fcn.00401980
mov byte [esp + 0x7b0], 1
lea eax, [esp + 0xe0]
mov byte [esp + 0xe0], 0x52
mov byte [esp + 0xe1], bl
mov byte [esp + 0xe2], 0x63
mov byte [esp + 0xe3], 0x65
mov byte [esp + 0xe4], 0x56
mov byte [esp + 0xe5], bl
mov byte [esp + 0xe6], 0x65
mov byte [esp + 0xe7], 0x5f
mov byte [esp + 0xe8], 0x70
mov byte [esp + 0xe9], 0x7c
mov byte [esp + 0xea], bl
mov byte [esp + 0xeb], 0x42
mov byte [esp + 0xec], 0x65
mov byte [esp + 0xed], 0x63
mov byte [esp + 0xee], 0x78
mov byte [esp + 0xef], 0x7f
mov byte [esp + 0xf0], 0x76
mov byte [esp + 0xf1], 0x46
mov byte [esp + 0xf2], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x530285
sub eax, esi
xor ecx, ecx
cmp eax, edi
jle 0x5302a1
xor byte [esp + ecx + 0xe0], 0x11
inc ecx
cmp ecx, eax
jl 0x530294
mov byte [esp + 0xb3], bl
mov bl, 0x72
lea eax, [esp + 0xb0]
mov byte [esp + 0xb0], 0x45
mov byte [esp + 0xb1], 0x7e
mov byte [esp + 0xb2], 0x7f
mov byte [esp + 0xb4], bl
mov byte [esp + 0xb5], 0x31
mov byte [esp + 0xb6], 0x58
mov byte [esp + 0xb7], 0x7f
mov byte [esp + 0xb8], bl
mov byte [esp + 0xb9], 0x3f
mov byte [esp + 0xba], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x530302
sub eax, edx
xor ecx, ecx
cmp eax, edi
jle 0x53031e
xor byte [esp + ecx + 0xb0], 0x11
inc ecx
cmp ecx, eax
jl 0x530311
lea eax, [esp + 0xcc]
mov byte [esp + 0xcc], 0x5c
mov byte [esp + 0xcd], 0x78
mov byte [esp + 0xce], bl
mov byte [esp + 0xcf], 0x63
mov byte [esp + 0xd0], 0x7e
mov byte [esp + 0xd1], 0x62
mov byte [esp + 0xd2], 0x7e
mov byte [esp + 0xd3], 0x77
mov byte [esp + 0xd4], 0x65
mov byte [esp + 0xd5], 0x31
mov byte [esp + 0xd6], 0x46
mov byte [esp + 0xd7], 0x78
mov byte [esp + 0xd8], 0x7f
mov byte [esp + 0xd9], 0x75
mov byte [esp + 0xda], 0x7e
mov byte [esp + 0xdb], 0x66
mov byte [esp + 0xdc], 0x62
mov byte [esp + 0xdd], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5303b7
sub eax, ecx
xor ecx, ecx
cmp eax, edi
jle 0x5303dd
jmp 0x5303d0
xor byte [esp + ecx + 0xcc], 0x11
inc ecx
cmp ecx, eax
jl 0x5303d0
cmp dword [esp + 0x7bc], 1
lea eax, [esp + 0xb0]
je 0x5303f5
lea eax, [esp + 0xcc]
push edi
xor edx, edx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], edi
mov word [esp + 0x78], dx
call fcn.00401980
mov byte [esp + 0x7b0], 2
push 0x104
lea edx, [esp + 0x158]
xor eax, eax
xor ecx, ecx
push edx
mov word [esp + 0x15c], ax
mov word [esp + 0x3a4], cx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x530510
lea eax, [esp + 0x154]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x530450
sub eax, edx
sar eax, 1
je 0x530510
cmp word [esp + eax*2 + 0x152], 0x5c
je 0x530493
lea edi, [esp + 0x154]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x530480
mov eax, dword [0x679980]
mov dword [edi], eax
xor eax, eax
jmp 0x5304a0
movzx ecx, word [esp + eax + 0x154]
mov word [esp + eax + 0x39c], cx
add eax, 2
test cx, cx
jne 0x5304a0
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x5304c4
lea eax, [esp + 0x7c]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5304c6
lea edi, [esp + 0x154]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x5304e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
jne 0x530528
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x530865
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [esp + 0xbc]
push eax
push ebp
call ebx
lea ecx, [esp + 0x114]
push ecx
push ebp
mov dword [0x75e728], eax
call ebx
lea edx, [esp + 0x134]
push edx
push ebp
mov dword [0x75e718], eax
call ebx
mov dword [0x75e71c], eax
lea eax, [esp + 0xf4]
push eax
push ebp
call ebx
xor edi, edi
mov dword [0x75e720], eax
cmp word [esp + 0x39c], di
je 0x5305e0
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x530586
lea eax, [esp + 0x64]
mov edx, eax
jmp 0x530590
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x530590
lea edi, [esp + 0x39c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x5305b0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x5305b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x39c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x5305ee
lea edx, [esp + 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
cmp dword [0x75e728], esi
je 0x53085e
cmp dword [0x75e718], esi
je 0x53085e
cmp dword [0x75e71c], esi
je 0x53085e
cmp dword [0x75e720], esi
je 0x53085e
cmp edi, esi
je 0x53085e
lea eax, [esp + 0xe0]
push eax
push edi
call ebx
mov dword [0x75e724], eax
cmp eax, esi
jne 0x53063c
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebp
call esi
push edi
call esi
jmp 0x530865
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0x7b0], 1
lea ecx, [esp + 0x6c]
call fcn.00401210
mov byte [esp + 0x7b0], 0
lea ecx, [esp + 0x60]
call fcn.00401210
mov dword [esp + 0x7b0], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.00401210
xor al, al
mov ecx, dword [esp + 0x7a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x790]
xor ecx, esp
call fcn.0062016f
add esp, 0x7a0
ret 0xc