Function at 0x10042b70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10050e6d
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x1005b030]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005b030]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
mov dword [ebp], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x50], ebx
mov esi, 0xf
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], ebx
mov dword [esp + 0x18], ebp
mov byte [ebp + 0x58], bl
lea ecx, [ebp + 0x70]
mov dword [esp + 0x178], ebx
call fcn.1003e740
lea ecx, [ebp + 0x88]
mov byte [esp + 0x178], 1
call fcn.1003e740
lea ecx, [ebp + 0xa0]
mov byte [esp + 0x178], 2
call fcn.1003e740
lea ecx, [ebp + 0xb8]
mov byte [esp + 0x178], 3
call fcn.1003e740
lea ecx, [ebp + 0xd0]
mov byte [esp + 0x178], 4
call fcn.1003e740
lea ecx, [ebp + 0x135fc]
mov byte [esp + 0x178], 5
mov dword [ebp + 0xec], ebx
mov dword [ebp + 0xf0], ebx
mov dword [ebp + 0xf4], ebx
mov dword [ebp + 0xf8], ebx
mov dword [ebp + 0xfc], ebx
mov dword [ebp + 0x100], ebx
mov dword [ebp + 0x104], ebx
mov dword [ebp + 0x108], ebx
mov dword [ebp + 0x1351c], ebx
call fcn.1003e740
lea ecx, [ebp + 0x13614]
mov byte [esp + 0x178], 6
call fcn.1003e740
lea ecx, [ebp + 0x1362c]
mov byte [esp + 0x178], 7
call fcn.1003e740
lea ecx, [ebp + 0x13644]
mov byte [esp + 0x178], 8
call fcn.1003e740
lea ecx, [ebp + 0x13664]
mov byte [esp + 0x178], 9
mov byte [ebp + 0x1365c], bl
mov byte [ebp + 0x1365e], bl
call fcn.10007500
lea ecx, [ebp + 0x1367c]
mov byte [esp + 0x178], 0xa
call fcn.10007500
lea ecx, [ebp + 0x13694]
mov byte [esp + 0x178], 0xb
call fcn.10007500
mov dword [ebp + 0x136c4], esi
mov dword [ebp + 0x136c0], ebx
mov byte [ebp + 0x136b0], bl
mov dword [ebp + 0x136e0], esi
mov dword [ebp + 0x136dc], ebx
mov byte [ebp + 0x136cc], bl
mov dword [ebp + 0x136fc], esi
mov dword [ebp + 0x136f8], ebx
mov byte [ebp + 0x136e8], bl
lea ecx, [ebp + 0x13808]
mov byte [esp + 0x178], 0xf
call fcn.1003e740
mov dword [ebp + 0x13820], ebx
mov dword [ebp + 0x1383c], esi
mov dword [ebp + 0x13838], ebx
mov byte [ebp + 0x13828], bl
lea eax, [esp + 0x17]
push eax
lea edx, [esp + 0x1b]
lea ecx, [ebp + 0x1588c]
push edx
mov byte [esp + 0x180], 0x11
mov dword [ebp + 0x13b50], 1
mov dword [ebp + 0x13b68], ebx
mov dword [ebp + 0x13b6c], ebx
mov dword [ebp + 0x13b70], ebx
call fcn.10008420
mov ecx, ebp
mov byte [esp + 0x178], 0x12
call fcn.1003ab90
mov byte [ebp + 0x13520], 1
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
push 0x104
mov dword [ebp + 0x20], ebx
lea eax, [ebp + 0x13700]
push ebx
mov dword [ebp + 0x24], ebx
push eax
mov dword [ebp + 0x28], ebx
call fcn.1001c860
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x3b4
lea ecx, [ebp + 0x110]
push ebx
push ecx
mov dword [ebp + 0x13b4c], eax
call fcn.1001c860
push 0x104
lea edx, [ebp + 0x13840]
push ebx
push edx
call fcn.1001c860
add esp, 0x18
mov ecx, ebp
call fcn.1002fc50
call fcn.10032d40
test eax, eax
jne 0x10042e1b
mov dword [0x1005c078], ebx
mov ecx, ebp
call fcn.10032400
mov dword [ebp + 0x13b70], eax
mov ecx, dword [0x10054e30]
mov eax, dword [str.dGUQyQXMDGS2RBC]
mov edx, dword [0x10054e34]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [0x10054e38]
lea ecx, [esp + 0x3c]
push ebx
push ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call fcn.10030440
lea edx, [esp + 0x44]
push edx
lea eax, [ebp + 0x13b54]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x104
lea ecx, [esp + 0x6c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [0x10054e1c]
mov eax, dword [0x10054e20]
mov dword [esp + 0x2c], edx
movzx edx, word [0x10054e28]
mov ecx, 7
mov esi, 0x10054e00
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10054e24]
mov dword [esp + 0x30], eax
movzx eax, byte [0x10054e2a]
mov word [esp + 0x38], dx
mov edx, dword [0x10054df4]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x10054df0]
mov dword [esp + 0x20], edx
mov byte [esp + 0x3a], al
mov eax, dword [0x10054df8]
mov dword [esp + 0x1c], ecx
mov cl, byte [0x10054dfc]
lea edx, [esp + 0x4e]
push ebx
push edx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], cl
call fcn.10030440
lea eax, [esp + 0x36]
push ebx
push eax
call fcn.10030440
lea ecx, [esp + 0x2e]
push ebx
push ecx
call fcn.10030440
mov edx, dword [esp + 0x46]
mov eax, dword [esp + 0x4a]
mov ecx, 6
lea esi, [esp + 0x66]
mov edi, 0x10073e5c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4e]
movsw word es:[edi], word [esi]
mov dword [0x10073e7a], edx
mov dl, byte [esp + 0x52]
mov dword [0x10073e7e], eax
mov eax, dword [esp + 0x36]
mov byte [0x10073e86], dl
movzx edx, word [esp + 0x3e]
mov dword [0x10073e82], ecx
mov ecx, dword [esp + 0x3a]
mov dword [0x10073e8a], eax
movzx eax, byte [esp + 0x40]
add esp, 0x18
mov dword [0x10073e8e], ecx
mov word [0x10073e92], dx
mov byte [0x10073e94], al
mov eax, 1
mov ecx, ebp
mov dword [ebp + 0x1350c], eax
mov dword [ebp + 0x134f4], eax
mov dword [ebp + 0x134f0], eax
mov dword [ebp + 0x13508], eax
mov dword [ebp + 0x134f8], 0x5a
mov dword [ebp + 0x134fc], 0x3c
mov dword [ebp + 0x134ec], eax
mov dword [ebp + 0x13510], eax
call fcn.10042a00
push 0x104
lea esi, [ebp + 0x13a48]
push ebx
push esi
call fcn.1001c860
add esp, 0xc
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.1004bda8
add eax, 0x48001
shl eax, 0xa
mov dword [ebp + 0x13804], eax
mov eax, ebp
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.1001a52f
add esp, 0x168
ret