Function at 0x4209e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x578bdf
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov edi, dword [esp + 0x244]
xor ebp, ebp
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x248]
mov dword [esp + 0x23c], ebp
call fcn.0040c3f0
mov ecx, eax
call fcn.0040be60
mov eax, dword [esp + 0x248]
cmp dword [eax - 0xc], ebp
jne 0x420ab2
push 0x596192
mov ecx, edi
call fcn.00402a30
mov eax, dword [esp + 0x248]
add eax, 0xfffffff0
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420a88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0053fab2
add esp, 0x22c
ret
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x599c38
call fcn.00402a30
mov eax, dword [esp + 0x250]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x24c], 1
call fcn.00401b70
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x248], 0
call fcn.0042a690
add esp, 0xc
cmp eax, ebp
jl 0x420b32
push 0x596192
push 0x599c38
lea ecx, [esp + 0x250]
call fcn.00408410
mov eax, dword [esp + 0x248]
add eax, 0xfffffff0
push eax
call fcn.00401b70
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x420a5a
push 0x104
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402a30
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x240], 2
call fcn.0042b480
add esp, 4
test al, al
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x23c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x420a4e
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x12c]
push str._sdrivers_
push edx
call fcn.00540420
add esp, 0xc
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.drivers_
call fcn.00402a30
mov eax, dword [esp + 0x250]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x24c], 3
call fcn.00401b70
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x248], bl
call fcn.0042a690
mov ebx, eax
add esp, 0xc
cmp ebx, ebp
jge 0x420c1f
push 0x596192
mov ecx, edi
call fcn.00402a30
lea ecx, [esp + 0x248]
call fcn.00401340
jmp 0x420a88
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.00402a30
mov edx, dword [esp + 0x14]
mov ebp, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [ebp + 1]
sub eax, esi
or eax, ecx
mov byte [esp + 0x23c], 4
jge 0x420c5e
push esi
lea ecx, [esp + 0x18]
call fcn.00401b20
mov edx, dword [esp + 0x14]
test esi, esi
mov byte [edx + ebp], 0x2f
jl 0x420cf0
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x420cf0
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
add ebx, 1
push ebx
lea edx, [esp + 0x1c]
mov byte [esi + ecx], 0
push edx
lea ecx, [esp + 0x250]
call fcn.004207b0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 5
call fcn.004086f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 4
call fcn.00401340
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00402120
push edi
call fcn.0042a7f0
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00401340
lea ecx, [esp + 0x248]
call fcn.00401340
jmp 0x420a88
push 0x80070057
call fcn.00401010
int3