Function at 0x431280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe940
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1d0c
call fcn.004b7ac0
mov eax, dword [0x52e144]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1cf0], ecx
jmp 0x4312ce
mov byte [ebp - 0x1158], 0
xor eax, eax
mov dword [ebp - 0x1157], eax
mov dword [ebp - 0x1153], eax
mov dword [ebp - 0x114f], eax
mov dword [ebp - 0x114b], eax
mov dword [ebp - 0x1147], eax
mov word [ebp - 0x1143], ax
mov byte [ebp - 0x1141], al
mov byte [ebp - 0x1270], 0
xor ecx, ecx
mov dword [ebp - 0x126f], ecx
mov dword [ebp - 0x126b], ecx
mov dword [ebp - 0x1267], ecx
mov dword [ebp - 0x1263], ecx
mov dword [ebp - 0x125f], ecx
mov word [ebp - 0x125b], cx
mov byte [ebp - 0x1259], cl
mov byte [ebp - 0x1038], 0
xor edx, edx
mov dword [ebp - 0x1037], edx
mov dword [ebp - 0x1033], edx
mov dword [ebp - 0x102f], edx
mov dword [ebp - 0x102b], edx
mov dword [ebp - 0x1027], edx
mov word [ebp - 0x1023], dx
mov byte [ebp - 0x1021], dl
mov eax, dword [ebp - 0x1cf0]
cmp dword [eax + 0x30], 0
je 0x431382
mov ecx, dword [ebp - 0x1cf0]
cmp dword [ecx + 0x34], 0
jne 0x43138c
mov eax, 0x6c
jmp 0x431baa
cmp dword [ebp + 8], 0
jne 0x43139c
mov eax, 0x64
jmp 0x431baa
movzx edx, byte [0x53be21]
cmp edx, 1
jne 0x4313b2
mov eax, 0x6b
jmp 0x431baa
mov dword [ebp - 0x103c], 0x133
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x1020], 0
push 0xfff
push 0
lea eax, [ebp - 0x101f]
push eax
call fcn.004b6dc0
add esp, 0xc
mov byte [ebp - 0x1258], 0
push 0xff
push 0
lea ecx, [ebp - 0x1257]
push ecx
call fcn.004b6dc0
add esp, 0xc
push 0x40
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1258]
push eax
call fcn.00404150
add esp, 0xc
mov byte [ebp - 0x1140], 0
push 0xff
push 0
lea ecx, [ebp - 0x113f]
push ecx
call fcn.004b6dc0
add esp, 0xc
push 0x20
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1140]
push eax
call fcn.00404150
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404300
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x40]
push eax
lea ecx, [ebp - 0x1258]
push ecx
mov ecx, dword [ebp - 0x1cf0]
call fcn.0042fe20
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x40]
push eax
lea ecx, [ebp - 0x1140]
push ecx
mov ecx, dword [ebp - 0x1cf0]
call fcn.0042fe20
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x40]
push eax
lea ecx, [ebp - 0x1140]
push ecx
lea edx, [ebp - 0x1258]
push edx
push 0x5169fc
call fcn.00404690
add esp, 4
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.004b79a8
add esp, 0x14
mov dword [ebp - 4], 0
push 0x5169f0
call fcn.00404690
add esp, 4
mov dword [ebp - 0x1cf4], eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1020]
push ecx
mov edx, dword [ebp - 0x1cf4]
push edx
mov eax, dword [ebp - 0x1cf0]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x1cf8], eax
mov ecx, dword [ebp - 0x1cf8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x431b50
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1cf0]
mov ecx, dword [eax + 0x24]
call ecx
mov dword [ebp - 0x1cfc], eax
cmp dword [ebp - 0x1cfc], 1
jne 0x431b41
mov dword [ebp - 0x1a90], 0x800
mov byte [ebp - 0x1a80], 0
push 0x7ff
push 0
lea edx, [ebp - 0x1a7f]
push edx
call fcn.004b6dc0
add esp, 0xc
mov dword [ebp - 0x1278], 0
mov dword [ebp - 0x1a8c], 0
mov dword [ebp - 0x1274], 0
mov dword [ebp - 0x127c], 0
mov dword [ebp - 0x1a88], 0
mov dword [ebp - 0x1a84], 0x5000
mov eax, dword [ebp - 0x1a84]
push eax
call fcn.004b7c73
add esp, 4
mov dword [ebp - 0x1d00], eax
mov ecx, dword [ebp - 0x1d00]
mov dword [ebp - 0x1cdc], ecx
mov edx, dword [ebp - 0x1cdc]
mov dword [ebp - 0x1278], edx
cmp dword [ebp - 0x1278], 0
je 0x431b41
mov dword [ebp - 0x1a88], 0
push 0
push 0
lea eax, [ebp - 0x127c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x1d04], eax
cmp dword [ebp - 0x1d04], 0
jne 0x43161f
jmp 0x43175b
push 0x5169dc
call fcn.00404690
add esp, 4
cmp dword [ebp - 0x127c], 0x800
jbe 0x431642
mov dword [ebp - 0x127c], 0x800
cmp dword [ebp - 0x127c], 0
jbe 0x43174e
lea ecx, [ebp - 0x1a88]
push ecx
mov edx, dword [ebp - 0x127c]
push edx
lea eax, [ebp - 0x1a80]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x1d08], eax
cmp dword [ebp - 0x1d08], 0
je 0x43174e
mov ecx, dword [ebp - 0x1274]
add ecx, dword [ebp - 0x1a88]
cmp ecx, dword [ebp - 0x1a84]
jb 0x431719
mov edx, dword [ebp - 0x1a84]
shl edx, 1
mov dword [ebp - 0x1a84], edx
mov eax, dword [ebp - 0x1a84]
push eax
call fcn.004b7c73
add esp, 4
mov dword [ebp - 0x1d0c], eax
mov ecx, dword [ebp - 0x1d0c]
mov dword [ebp - 0x1ce0], ecx
mov edx, dword [ebp - 0x1ce0]
mov dword [ebp - 0x1a94], edx
mov eax, dword [ebp - 0x1274]
push eax
mov ecx, dword [ebp - 0x1278]
push ecx
mov edx, dword [ebp - 0x1a94]
push edx
call fcn.004b6e40
add esp, 0xc
mov eax, dword [ebp - 0x1278]
mov dword [ebp - 0x1ce4], eax
mov ecx, dword [ebp - 0x1ce4]
push ecx
call fcn.004b722a
add esp, 4
mov edx, dword [ebp - 0x1a94]
mov dword [ebp - 0x1278], edx
mov eax, dword [ebp - 0x1a88]
push eax
lea ecx, [ebp - 0x1a80]
push ecx
mov edx, dword [ebp - 0x1278]
add edx, dword [ebp - 0x1274]
push edx
call fcn.004b6e40
add esp, 0xc
mov eax, dword [ebp - 0x1274]
add eax, dword [ebp - 0x1a88]
mov dword [ebp - 0x1274], eax
cmp dword [ebp - 0x1a88], 0
jne 0x4315e7
mov ecx, dword [ebp - 0x1278]
add ecx, dword [ebp - 0x1274]
mov byte [ecx], 0
cmp dword [ebp - 0x1278], 0
je 0x431b2a
mov dword [ebp - 0x1aa8], 0
mov dword [ebp - 0x1aa0], 0
mov dword [ebp - 0x1a98], 0
mov dword [ebp - 0x1ab0], 0
mov dword [ebp - 0x1aa4], 0
mov edx, dword [ebp - 0x1278]
push edx
mov ecx, dword [ebp - 0x1cf0]
call fcn.0042ff40
push 0x5169cc
call fcn.00404690
add esp, 4
mov dword [ebp - 0x1a9c], 0
push 0x5169ac
call fcn.00404690
add esp, 4
mov dword [ebp - 0x1d10], eax
lea eax, [ebp - 0x1a9c]
push eax
lea ecx, [ebp - 0x1038]
push ecx
lea edx, [ebp - 0x1270]
push edx
lea eax, [ebp - 0x1158]
push eax
lea ecx, [ebp - 0x1aa4]
push ecx
lea edx, [ebp - 0x1ab0]
push edx
lea eax, [ebp - 0x1a98]
push eax
lea ecx, [ebp - 0x1aa0]
push ecx
lea edx, [ebp - 0x1aa8]
push edx
mov eax, dword [ebp - 0x1d10]
push eax
mov ecx, dword [ebp - 0x1278]
push ecx
call fcn.004b9078
add esp, 0x2c
mov edx, dword [ebp - 0x1aa8]
xor edx, dword [ebp - 0x1aa0]
xor edx, dword [ebp - 0x1a98]
xor edx, dword [ebp - 0x1ab0]
xor edx, 0xa7f24b
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x1aac], edx
mov eax, dword [ebp - 0x1aac]
cmp eax, dword [ebp - 0x1aa4]
jne 0x431aec
mov ecx, dword [ebp - 0x14]
sub ecx, 2
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x40]
add eax, 5
xor eax, dword [ebp - 0x1aa8]
xor eax, ecx
mov dword [ebp - 0x1ac4], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 4
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x40]
add eax, 3
xor eax, dword [ebp - 0x1aa0]
xor eax, ecx
xor eax, dword [ebp - 0x1aa8]
mov dword [ebp - 0x1ab8], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 6
mov edx, dword [ebp - 0x1cf0]
mov eax, dword [edx + 0x40]
add eax, 9
xor eax, dword [ebp - 0x1a98]
xor eax, ecx
xor eax, dword [ebp - 0x1aa0]
mov dword [ebp - 0x1ab4], eax
mov ecx, dword [ebp - 0x1aa0]
sub ecx, 0xe
mov edx, dword [ebp - 0x1aa8]
sub edx, 9
mov eax, dword [ebp - 0x14]
sub eax, 0xf
mov esi, dword [ebp - 0x1cf0]
mov esi, dword [esi + 0x40]
add esi, 0x16
xor esi, dword [ebp - 0x1ab0]
xor esi, eax
xor esi, edx
xor esi, ecx
mov dword [ebp - 0x1abc], esi
mov byte [ebp - 0x1abd], 0
mov ecx, dword [ebp - 0x1ac4]
and ecx, 0x40000000
je 0x431aa6
mov byte [ebp - 0x1bd0], 0
push 0x103
push 0
lea edx, [ebp - 0x1bcf]
push edx
call fcn.004b6dc0
add esp, 0xc
mov byte [ebp - 0x1cd8], 0
push 0x103
push 0
lea eax, [ebp - 0x1cd7]
push eax
call fcn.004b6dc0
add esp, 0xc
lea ecx, [ebp - 0x1bd0]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsx edx, byte [ebp - 0x1bd0]
test edx, edx
je 0x431aa6
movsx eax, byte [ebp - 0x1158]
test eax, eax
je 0x4319e8
push 0x5169a0
call fcn.00404690
add esp, 4
mov dword [ebp - 0x1d14], eax
lea ecx, [ebp - 0x1158]
push ecx
lea edx, [ebp - 0x1bd0]
push edx
mov eax, dword [ebp - 0x1d14]
push eax
lea ecx, [ebp - 0x1cd8]
push ecx
call fcn.004b79a8
add esp, 0x10
push 0
lea edx, [ebp - 0x1cd8]
push edx
call fcn.004ba516
add esp, 8
cmp eax, 0xffffffff
je 0x4319e8
mov byte [ebp - 0x1abd], 1
movsx eax, byte [ebp - 0x1270]
test eax, eax
je 0x431a47
push 0x5169a0
call fcn.00404690
add esp, 4
mov dword [ebp - 0x1d18], eax
lea ecx, [ebp - 0x1270]
push ecx
lea edx, [ebp - 0x1bd0]
push edx
mov eax, dword [ebp - 0x1d18]
push eax
lea ecx, [ebp - 0x1cd8]
push ecx
call fcn.004b79a8
add esp, 0x10
push 0
lea edx, [ebp - 0x1cd8]
push edx
call fcn.004ba516
add esp, 8
cmp eax, 0xffffffff
je 0x431a47
mov byte [ebp - 0x1abd], 1
movsx eax, byte [ebp - 0x1038]
test eax, eax
je 0x431aa6
push 0x5169a0
call fcn.00404690
add esp, 4
mov dword [ebp - 0x1d1c], eax
lea ecx, [ebp - 0x1038]
push ecx
lea edx, [ebp - 0x1bd0]
push edx
mov eax, dword [ebp - 0x1d1c]
push eax
lea ecx, [ebp - 0x1cd8]
push ecx
call fcn.004b79a8
add esp, 0x10
push 0
lea edx, [ebp - 0x1cd8]
push edx
call fcn.004ba516
add esp, 8
cmp eax, 0xffffffff
je 0x431aa6
mov byte [ebp - 0x1abd], 1
movzx eax, byte [ebp - 0x1abd]
cmp eax, 1
jne 0x431aca
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1ab8]
mov dword [ecx], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1ab4]
mov dword [eax], ecx
jmp 0x431ae0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1ac4]
mov dword [edx], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1abc]
mov dword [ecx], edx
mov dword [ebp - 0x103c], 0
jmp 0x431b03
mov dword [ebp - 0x103c], 0x135
push 0x516990
call fcn.00404690
add esp, 4
mov eax, dword [ebp - 0x1278]
mov dword [ebp - 0x1ce8], eax
mov ecx, dword [ebp - 0x1ce8]
push ecx
call fcn.004b722a
add esp, 4
mov dword [ebp - 0x1278], 0
jmp 0x431b41
mov dword [ebp - 0x103c], 0x136
push 0x516974
call fcn.00404690
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1cf0]
mov ecx, dword [eax + 0x1c]
call ecx
jmp 0x431b76
mov dword [ebp - 4], 0xffffffff
jmp 0x431b87
mov ecx, dword [ebp - 0x1cf0]
call fcn.0042f600
jmp 0x431ba4
mov eax, dword [ebp - 0x103c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b6da3
mov esp, ebp
pop ebp
ret 0x10