Function at 0x4020c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4291a5
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x434284]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x434284]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
xor ebx, ebx
sub esp, 0x1c
mov dword [esp + 0x2b8], ebx
mov esi, esp
mov dword [esp + 0x34], esp
push 3
mov edi, 7
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push 0x42c5c8
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov word [esi + 4], bx
call fcn.00404580
call fcn.004126e0
add esp, 0x1c
cmp eax, ebx
je 0x4023c4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
push 6
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push str.rpcapd
mov word [esi + 4], bx
call fcn.00404580
call fcn.004126e0
add esp, 0x1c
cmp eax, ebx
je 0x4023c4
push ebx
push 0x42c114
lea esi, [esp + 0x70]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
call fcn.00404580
mov byte [esp + 0x29c], 1
push ebx
push 0x42c114
lea esi, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
call fcn.00404580
push 0x204
lea eax, [esp + 0x8c]
push ebx
mov byte [esp + 0x2a4], 2
push eax
mov dword [esp + 0x90], ebx
call fcn.0041b5e0
add esp, 0xc
push ebx
push 0x25
lea ecx, [esp + 0x8c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x402370
lea eax, [esp + 0x84]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402210
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x88]
push edx
lea esi, [esp + 0x70]
call fcn.00404580
mov eax, esi
push eax
mov ebx, str.wpcap.dll
lea esi, [esp + 0x34]
call fcn.00404a50
add esp, 4
push 0xffffffffffffffff
xor ebp, ebp
push ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a4], 3
call fcn.004040a0
mov byte [esp + 0x29c], 2
cmp dword [esp + 0x48], 8
jb 0x402277
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00416abb
add esp, 4
lea edx, [esp + 0x24]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x74]
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x50]
lea esi, [esp + 0x40]
mov word [ecx + 4], bp
call fcn.004040a0
mov ecx, esi
call fcn.00412770
add esp, 0x20
test eax, eax
je 0x4022cd
mov eax, dword [esp + 0x14]
shr eax, 0x10
cmp eax, 4
jb 0x4022cd
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x68]
push ecx
mov ebx, str.packet.dll
lea esi, [esp + 0x34]
call fcn.00404a50
add esp, 4
push 0xffffffffffffffff
xor ebp, ebp
push ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a4], 4
call fcn.004040a0
mov byte [esp + 0x29c], 2
cmp dword [esp + 0x48], 8
jb 0x402315
mov edx, dword [esp + 0x34]
push edx
call fcn.00416abb
add esp, 4
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x74]
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x50]
lea esi, [esp + 0x40]
mov word [ecx + 4], bp
call fcn.004040a0
mov ecx, esi
call fcn.00412770
add esp, 0x20
test eax, eax
je 0x40236b
mov ecx, dword [esp + 0x14]
shr ecx, 0x10
cmp ecx, 4
jb 0x40236b
mov dword [esp + 0x1c], 1
xor ebx, ebx
lea edi, [ebx + 7]
mov ebp, 8
cmp dword [esp + 0x64], ebp
jb 0x402388
mov edx, dword [esp + 0x50]
push edx
call fcn.00416abb
add esp, 4
mov byte [esp + 0x29c], bl
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x4023b2
mov eax, dword [esp + 0x6c]
push eax
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x20], ebx
je 0x4023c9
cmp dword [esp + 0x1c], ebx
jne 0x40253c
jmp 0x4023c9
mov ebp, 8
push ebx
push 0x42c114
lea esi, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
call fcn.00404580
mov byte [esp + 0x29c], 5
push ebx
push 0x42c114
lea esi, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
call fcn.00404580
lea ecx, [esp + 0x2a4]
push ecx
mov ebx, str.winpcap_setup.exe
lea esi, [esp + 0x34]
mov byte [esp + 0x2a0], 6
call fcn.00404a50
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
mov byte [esp + 0x2a4], 7
call fcn.004040a0
mov byte [esp + 0x29c], 6
cmp dword [esp + 0x48], ebp
jb 0x402460
mov edx, dword [esp + 0x34]
push edx
call fcn.00416abb
add esp, 4
push 0x1d
push str._VERYSILENT__SUPPRESSMSGBOXES
lea esi, [esp + 0x54]
call fcn.00404580
call fcn.00411800
xor ebx, ebx
lea edi, [esp + 0x30]
mov esi, eax
call fcn.004018f0
cmp dword [esp + 0x80], ebp
mov ecx, dword [esp + 0x6c]
jae 0x402493
lea ecx, [esp + 0x6c]
cmp dword [eax + 0x18], ebp
jb 0x40249d
mov eax, dword [eax + 4]
jmp 0x4024a0
add eax, 4
push ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esi + 0x10]
push 0xffffffffffffffff
shr eax, 1
push eax
push ecx
call fcn.00416b5f
add esp, 0x14
cmp dword [esp + 0x48], ebp
jb 0x4024c9
mov edx, dword [esp + 0x34]
push edx
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x50]
jae 0x4024d7
lea ecx, [esp + 0x50]
cmp dword [esp + 0x80], ebp
mov eax, dword [esp + 0x6c]
jae 0x4024e8
lea eax, [esp + 0x6c]
push 1
xor edi, edi
push edi
push ecx
mov ecx, dword [esi + 8]
push eax
xor edx, edx
call fcn.00409cf0
push esi
call fcn.00411980
add esp, 0x14
cmp dword [esp + 0x64], ebp
jb 0x402515
mov eax, dword [esp + 0x50]
push eax
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
jb 0x40253c
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x2bc], ebp
jb 0x402555
mov edx, dword [esp + 0x2a8]
push edx
call fcn.00416abb
add esp, 4
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004170e8
add esp, 0x28c
ret