Function at 0x423e7d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x462ee3
call fcn.0043c274
sub esp, 0x308
push ebx
push esi
xor esi, esi
push edi
push esi
mov dword [ebp - 0x3c], ecx
push dword [ebp + 0xc]
mov ebx, 0x4675f0
mov edi, 0x4675e8
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0x9c], edi
call fcn.0040b15e
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 1
push eax
call fcn.00425757
cmp dword [ebp - 0xd8], esi
mov byte [ebp - 4], 2
je 0x42463b
lea eax, [ebp - 0x3d]
push esi
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x74], edi
call fcn.0040b0e9
lea eax, [ebp - 0x3e]
push esi
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c], 0x468114
mov dword [ebp - 0xec], 0x46810c
call fcn.0040af35
mov eax, 0x4798a8
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [ebp - 0x38], ebx
test ecx, ecx
mov dword [ebp - 0x18], edi
mov esi, 0x47e390
jne 0x423f43
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
neg eax
sbb eax, eax
mov byte [ebp - 4], 5
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040cc69
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040604e
cmp byte [ebp + 0xf], 0
je 0x424022
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b1f1
lea eax, [ebp + 0xf]
push 1
push eax
push 0x4798a8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0040b1f1
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 7
call fcn.0040b28d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0040604e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040604e
lea eax, [ebp - 0x68]
push 1
push eax
call fcn.00424683
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x424003
mov eax, 0x467588
test eax, eax
je 0x424005
mov esi, eax
push esi
lea ecx, [ebp - 0x94]
call fcn.0040bcc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0040125c
jmp 0x4245f0
mov eax, 0x47987c
mov dword [ebp - 0x38], ebx
mov ecx, eax
mov dword [ebp - 0x18], edi
test ecx, ecx
jne 0x424035
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
neg eax
sbb eax, eax
mov byte [ebp - 4], 9
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040cc69
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040604e
cmp byte [ebp + 0xf], 0
je 0x42411a
mov ecx, dword [ebp + 0x10]
call fcn.004247f9
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp + 0xf]
push 1
push eax
push 0x47987c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040b28d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.0040604e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040604e
lea eax, [ebp - 0x68]
push SysReAllocString
push eax
call fcn.00424683
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x424102
mov eax, 0x467588
test eax, eax
jne 0x424102
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bcc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
jmp 0x424018
mov eax, 0x479850
mov dword [ebp - 0x38], ebx
mov ecx, eax
mov dword [ebp - 0x18], edi
test ecx, ecx
jne 0x42412d
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0xd
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040cc69
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040604e
cmp byte [ebp + 0xf], 0
je 0x424207
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp + 0xf]
push 1
push eax
push 0x479850
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040b28d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.0040604e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040604e
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00424683
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x10
test eax, eax
jne 0x4241ef
mov eax, 0x467588
test eax, eax
jne 0x4241ef
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bcc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
jmp 0x424018
mov eax, 0x479820
mov dword [ebp - 0x38], ebx
mov ecx, eax
mov dword [ebp - 0x18], edi
test ecx, ecx
jne 0x42421a
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x11
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040cc69
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040604e
cmp byte [ebp + 0xf], 0
je 0x4242ff
mov ecx, dword [ebp + 0x10]
call fcn.004247f9
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp + 0xf]
push 1
push eax
push 0x479820
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x12
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040b28d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x12
call fcn.0040604e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040604e
lea eax, [ebp - 0x68]
push SysReAllocString
push eax
call fcn.00424683
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x4242e7
mov eax, 0x467588
test eax, eax
jne 0x4242e7
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040bcc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
jmp 0x424018
mov eax, 0x479800
mov dword [ebp - 0x38], ebx
mov ecx, eax
mov dword [ebp - 0x18], edi
test ecx, ecx
jne 0x424312
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x15
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040cc69
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040604e
cmp byte [ebp + 0xf], 0
je 0x4243e4
lea eax, [ebp - 0x314]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp + 0xf]
push 1
push eax
push 0x479800
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x16
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040b28d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x16
call fcn.0040604e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040604e
lea eax, [ebp - 0x314]
test eax, eax
je 0x4243d3
lea esi, [ebp - 0x314]
push esi
lea ecx, [ebp - 0x94]
call fcn.0040bcc0
jmp 0x4245f0
mov eax, 0x4797e0
mov dword [ebp - 0x38], ebx
mov ecx, eax
mov dword [ebp - 0x18], edi
test ecx, ecx
jne 0x4243f7
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x18
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040cc69
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040604e
cmp byte [ebp + 0xf], 0
je 0x4244a4
lea eax, [ebp - 0x314]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp + 0xf]
push 1
push eax
push 0x4797e0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x19
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040b28d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x19
call fcn.0040604e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x4243be
mov dword [ebp - 0x18], edi
mov edi, 0x4797bc
mov eax, edi
mov dword [ebp - 0x38], ebx
test eax, eax
jne 0x4244b7
mov eax, esi
lea ecx, [ebp + 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x1b
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.0040cc69
mov ebx, eax
lea ecx, [ebp - 0x38]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040604e
test bl, bl
je 0x424579
mov ecx, dword [ebp + 0x10]
call fcn.004247f9
lea eax, [ebp - 0x314]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b1f1
lea eax, [ebp + 0xf]
push 1
push eax
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1c
call fcn.0040b1f1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0040b28d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1c
call fcn.0040604e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040604e
lea eax, [ebp - 0x314]
lea ecx, [ebp - 0x94]
push eax
call fcn.00425fea
jmp 0x4245f0
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
call fcn.004257d6
test al, al
je 0x4245f0
lea eax, [ebp + 0x13]
push 1
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b1f1
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0040b28d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040604e
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004258bb
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1f
call fcn.0040657a
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040604e
cmp dword [ebp - 0x88], 0
je 0x42461d
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040a5f9
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
call fcn.0040657a
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.0040125c
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0040604e
mov ecx, dword [ebp + 8]
push 1
pop esi
lea eax, [ebp - 0xbc]
push esi
push eax
call fcn.0040c0ad
mov dword [ebp - 0x6c], esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.0040604e
and byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.0040604e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc