Function at 0x42c130
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ca73b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5f8
mov dword [esp + 0x18], ecx
push ebx
push edi
lea ecx, [esp + 0x58]
call fcn.004028c0
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x265]
mov byte [esp + 0x264], bl
mov byte [esp + 0x160], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x161]
mov dword [esp + 0x608], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x264]
mov dword [esp + 8], ebx
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea ecx, [esp + 0x264]
lea edx, [esp + 0x160]
push ecx
push str._sImagedphdsg.list
push edx
call fcn.004b8784
add esp, 0xc
lea eax, [esp + 0x160]
lea ecx, [esp + 0x58]
push eax
call fcn.004029d0
test eax, eax
jne 0x42c223
mov ecx, dword [0x5c8884]
push ebx
push 0x4dfda4
push 0xffe
push 1
call fcn.0042b100
lea ecx, [esp + 0x58]
mov dword [esp + 0x608], 0xffffffff
call fcn.00402900
pop edi
pop ebx
mov ecx, dword [esp + 0x5f8]
mov dword fs:[0], ecx
add esp, 0x604
ret
push ebp
push esi
lea ecx, [esp + 0x10]
push 4
push ecx
lea ecx, [esp + 0x68]
call fcn.00402a40
mov eax, dword [0x5d8ff4]
mov ebp, dword [0x5d8ff0]
mov edx, eax
cmp eax, edx
je 0x42c265
mov esi, eax
mov edi, ebp
add eax, 0x16c
mov ecx, 0x5b
add ebp, 0x16c
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x42c246
mov eax, dword [0x5d8ff4]
push eax
push ebp
mov ecx, 0x5d8fec
call fcn.00404a10
mov eax, dword [0x5d8ff0]
mov esi, dword [esp + 0x10]
cmp eax, ebx
mov dword [0x5d8ff4], ebp
mov dword [esp + 0x20], esi
jne 0x42c28c
xor edx, edx
jmp 0x42c2a7
mov ecx, dword [0x5d8ff8]
sub ecx, eax
mov eax, 0xb40b40b5
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, esi
jae 0x42c35d
cmp esi, ebx
mov eax, esi
jge 0x42c2b7
xor eax, eax
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
shl edx, 2
push edx
call fcn.004b7e62
mov ebx, dword [0x5d8ff4]
mov edi, dword [0x5d8ff0]
add esp, 4
mov esi, eax
cmp edi, ebx
mov ebp, esi
je 0x42c2fa
push edi
push ebp
call fcn.0042ddf0
add edi, 0x16c
add esp, 8
add ebp, 0x16c
cmp edi, ebx
jne 0x42c2e0
mov eax, dword [0x5d8ff4]
mov ecx, dword [0x5d8ff0]
push eax
push ecx
mov ecx, 0x5d8fec
call fcn.00404a10
mov eax, dword [0x5d8ff0]
push eax
call fcn.004a9db0
mov ecx, dword [esp + 0x24]
add esp, 4
lea eax, [ecx + ecx*4]
lea edx, [eax + eax*8]
lea eax, [ecx + edx*2]
lea ecx, [esi + eax*4]
mov dword [0x5d8ff8], ecx
mov ecx, 0x5d8fec
call fcn.0042d090
lea ecx, [eax + eax*4]
mov dword [0x5d8ff0], esi
xor ebx, ebx
lea edx, [ecx + ecx*8]
lea eax, [eax + edx*2]
lea ecx, [esi + eax*4]
mov esi, dword [esp + 0x10]
mov dword [0x5d8ff4], ecx
xor ebp, ebp
cmp esi, ebx
jbe 0x42c3c1
mov ecx, 0x5b
xor eax, eax
lea edi, [esp + 0x370]
lea edx, [esp + 0x4dc]
rep stosd dword es:[edi], eax
push 0x12c
push edx
lea ecx, [esp + 0x68]
call fcn.00402a40
mov eax, dword [0x5d8ff4]
mov ecx, 0x4b
lea esi, [esp + 0x4dc]
lea edi, [esp + 0x370]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x370]
push ecx
push 1
push eax
mov ecx, 0x5d8fec
call fcn.0042d380
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jb 0x42c363
xor edx, edx
xor eax, eax
lea ecx, [esp + 0x14]
push 4
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
call fcn.00402a40
mov ecx, dword [0x5d9010]
mov eax, dword [0x5d9014]
push ecx
push eax
push eax
call fcn.00468bd0
add esp, 0xc
mov esi, eax
mov eax, dword [0x5d9014]
mov ecx, 0x5d900c
push eax
push esi
call fcn.00404a10
mov edx, dword [0x5d9010]
mov eax, dword [esp + 0x14]
cmp edx, ebx
mov dword [0x5d9014], esi
mov dword [esp + 0x20], eax
jne 0x42c43a
xor ecx, ecx
jmp 0x42c445
mov ecx, dword [0x5d9018]
sub ecx, edx
sar ecx, 2
cmp ecx, eax
jae 0x42c4db
cmp eax, ebx
jge 0x42c453
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004b7e62
mov ebx, dword [0x5d9014]
mov esi, dword [0x5d9010]
add esp, 4
mov edi, eax
cmp esi, ebx
mov ebp, edi
je 0x42c48b
push esi
push ebp
call fcn.004091c0
add esi, 4
add esp, 8
add ebp, 4
cmp esi, ebx
jne 0x42c477
mov eax, dword [0x5d9014]
mov ecx, dword [0x5d9010]
push eax
push ecx
mov ecx, 0x5d900c
call fcn.00404a10
mov eax, dword [0x5d9010]
push eax
call fcn.004a9db0
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, 0x5d900c
lea eax, [edi + edx*4]
mov dword [0x5d9018], eax
call fcn.00451e30
lea ecx, [edi + eax*4]
mov eax, dword [esp + 0x14]
mov dword [0x5d9014], ecx
mov dword [0x5d9010], edi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
jbe 0x42c587
lea edx, [esp + 0x18]
push 4
push edx
lea ecx, [esp + 0x68]
call fcn.00402a40
lea eax, [esp + 0x2c]
push 0xc
push eax
lea ecx, [esp + 0x68]
call fcn.00402a40
mov eax, dword [esp + 0x10]
xor edx, edx
cmp eax, ebx
jbe 0x42c563
mov ecx, dword [0x5d8ff0]
xor eax, eax
mov edi, dword [eax + ecx]
mov ebp, dword [esp + 0x18]
cmp edi, ebp
jne 0x42c555
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx + 0x144], edi
mov ecx, dword [0x5d8ff0]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx + 0x148], edi
mov ecx, dword [0x5d8ff0]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx + 0x14c], edi
mov ecx, dword [0x5d8ff0]
mov edi, dword [esp + 0x10]
inc edx
add eax, 0x16c
cmp edx, edi
jb 0x42c517
mov eax, dword [0x5d9014]
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
mov ecx, 0x5d900c
call fcn.00421610
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x42c4e5
lea edx, [esp + 0x1c]
push 4
push edx
lea ecx, [esp + 0x68]
call fcn.00402a40
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, ebx
jbe 0x42c630
lea eax, [esp + 0x18]
push 4
push eax
lea ecx, [esp + 0x68]
call fcn.00402a40
lea ecx, [esp + 0x38]
push 0xc
push ecx
lea ecx, [esp + 0x68]
call fcn.00402a40
mov eax, dword [esp + 0x10]
xor edx, edx
cmp eax, ebx
jbe 0x42c623
mov ecx, dword [0x5d8ff0]
xor eax, eax
mov edi, dword [eax + ecx]
mov ebp, dword [esp + 0x18]
cmp edi, ebp
jne 0x42c615
mov edi, dword [esp + 0x38]
mov dword [eax + ecx + 0x150], edi
mov ecx, dword [0x5d8ff0]
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx + 0x154], edi
mov ecx, dword [0x5d8ff0]
mov edi, dword [esp + 0x40]
mov dword [eax + ecx + 0x158], edi
mov ecx, dword [0x5d8ff0]
mov edi, dword [esp + 0x10]
inc edx
add eax, 0x16c
cmp edx, edi
jb 0x42c5d7
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jb 0x42c5a5
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
push 4
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x2c], ebx
call fcn.00402a40
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, ebx
jbe 0x42c692
lea eax, [esp + 0x44]
push 4
push eax
lea ecx, [esp + 0x68]
call fcn.00402a40
lea ecx, [esp + 0x48]
push 0x18
push ecx
lea ecx, [esp + 0x68]
call fcn.00402a40
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x44]
push edx
call fcn.0042c6f0
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jb 0x42c65b
lea ecx, [esp + 0x60]
call fcn.004029f0
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0042c7e0
mov ecx, esi
call fcn.0042c960
mov ecx, esi
call fcn.0042cee0
lea ecx, [esp + 0x60]
mov dword [esp + 0x610], 0xffffffff
call fcn.00402900
mov ecx, dword [esp + 0x608]
pop esi
pop ebp
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x604
ret