Function at 0x416f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bb0
xor eax, eax
push ebp
push 0x417340
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x41b6e4]
inc dword [eax]
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004047bc
call fcn.00402998
mov eax, 5
call fcn.0040305c
cmp eax, 4
ja case.default.0x416ff3
jmp dword [eax*4 + 0x416ffa]
lea eax, [ebp - 0x1c]
mov edx, 0x417354
call fcn.004047bc
jmp case.default.0x416ff3
lea eax, [ebp - 0x1c]
mov edx, 0x417368
call fcn.004047bc
jmp case.default.0x416ff3
lea eax, [ebp - 0x1c]
mov edx, 0x41737c
call fcn.004047bc
jmp case.default.0x416ff3
lea eax, [ebp - 0x1c]
mov edx, 0x417390
call fcn.004047bc
jmp case.default.0x416ff3
lea eax, [ebp - 0x1c]
mov edx, 0x4173a0
call fcn.004047bc
mov eax, 0xa
call fcn.0040305c
cmp eax, 9
ja case.default.0x41706a
jmp dword [eax*4 + 0x417071]
lea eax, [ebp - 8]
mov edx, 0x4173b0
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x4173c4
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x4173e4
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x41744c
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417484
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x41749c
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x4174bc
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417544
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417574
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x417588
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x4175a0
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417618
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417644
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x41765c
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x417674
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417724
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417758
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x417768
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x417784
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417808
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417838
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x41784c
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x41785c
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417898
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x4178c8
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x4178dc
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x4178fc
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417a08
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417a40
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x417a54
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x417a60
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417a74
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417a88
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x417aa0
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x417ac8
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417b90
call fcn.004047bc
jmp case.default.0x41706a
lea eax, [ebp - 8]
mov edx, 0x417ba8
call fcn.004047bc
lea eax, [ebp - 0x10]
mov edx, 0x417bb8
call fcn.004047bc
lea eax, [ebp - 0x14]
mov edx, 0x417bd8
call fcn.004047bc
lea eax, [ebp - 0x18]
mov edx, 0x417c38
call fcn.004047bc
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x11c]
mov ecx, pe_nt_image_headers32
call fcn.00404994
push dword [ebp - 0x120]
push 0x417c64
push dword [ebp - 0x18]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404a80
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x1c]
call fcn.004049c8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00416858
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417347
lea eax, [ebp - 0x120]
call fcn.00404724
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404748
ret