Function at 0x4930b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6411e9
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x138], ebx
push 8
mov dword [ebp - 4], ebx
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x49399d
mov dword [ebp - 0x138], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x138]
mov dword [ecx], eax
mov edi, 0xf
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
push 0x103
lea edx, [ebp - 0x117]
push ebx
mov dword [ebp - 4], 1
push edx
mov byte [ebp - 0x118], bl
call fcn.005ff630
add esp, 0xc
push ebx
push 0x1a
lea eax, [ebp - 0x118]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
js 0x4931db
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493170
sub eax, edx
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x138]
call fcn.00412ae0
push 9
push str.wifipcap
lea ecx, [ebp - 0x138]
call fcn.00412ae0
cmp dword [ebp - 0x120], 0x10
mov ecx, dword [ebp - 0x134]
jae 0x4931b3
lea ecx, [ebp - 0x134]
call fcn.004c4240
lea ecx, [ebp - 0x138]
test eax, eax
jne 0x4931d0
push 0xb
push str.config.ini
call fcn.00412ae0
jmp 0x4931db
push ebx
push 0x6745b6
call fcn.00412c10
lea edx, [ebp - 0x238]
push edx
call fcn.004c50e0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x120], 0x10
jb 0x4934cf
mov esi, dword [ebp - 0x134]
cmp esi, ebx
jne 0x493219
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493220
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x238]
call fcn.00412c10
lea ecx, [ebp - 0x238]
call fcn.004c5a30
push 0x6745b6
lea eax, [ebp - 0x238]
push eax
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6220
push eax
lea ecx, [ebp - 0x158]
call fcn.00412330
mov dword [ebp - 0x198], ebx
push 8
mov byte [ebp - 4], 4
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x49396a
mov dword [ebp - 0x198], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [ebp - 0x198]
lea ecx, [ebp - 0x198]
mov dword [edx], ecx
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x184], ebx
mov byte [ebp - 0x194], bl
mov esi, ecx
mov byte [ebp - 4], 5
call fcn.004c4b60
push 7
push 0x675cf4
mov ecx, esi
call fcn.00412ae0
cmp dword [ebp - 0x180], 0x10
mov edx, dword [ebp - 0x194]
jae 0x4932df
lea edx, [ebp - 0x194]
call fcn.004c4050
lea eax, [ebp - 0x208]
push eax
call fcn.004c50e0
mov dword [ebp - 0x178], ebx
push 8
mov byte [ebp - 4], 7
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x493937
mov dword [ebp - 0x178], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
mov dword [edx], ecx
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ebx
mov byte [ebp - 0x174], bl
mov esi, ecx
mov byte [ebp - 4], 8
call fcn.004c4b60
push 0x11
push str.configconfig.ini
mov ecx, esi
call fcn.00412ae0
cmp dword [ebp - 0x160], 0x10
jb 0x4934da
mov esi, dword [ebp - 0x174]
cmp esi, ebx
jne 0x493380
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x493385
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x208]
call fcn.00412c10
lea ecx, [ebp - 0x208]
call fcn.004c5a30
push 0x6745b6
lea eax, [ebp - 0x208]
push eax
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6220
push eax
lea ecx, [ebp - 0x1b8]
call fcn.00412330
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1a4], ebx
jne 0x49354e
cmp dword [ebp - 0x144], ebx
jne 0x4934e5
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [ebp - 0x1d8]
mov byte [ebp - 4], 0xa
call fcn.00540880
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1d4]
mov esi, 0x10
cmp dword [ebp - 0x1c0], esi
jae 0x49341c
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x208]
push ecx
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6c70
mov edx, dword [ebp - 0x204]
cmp dword [ebp - 0x1f0], esi
jae 0x493447
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x208]
call fcn.004c8030
mov eax, dword [ebp - 0x1d4]
cmp dword [ebp - 0x1c0], esi
jae 0x493466
lea eax, [ebp - 0x1d4]
push eax
lea edx, [ebp - 0x238]
push edx
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6c70
mov edx, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x493491
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x238]
call fcn.004c8030
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004126e0
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0xa
call fcn.00412410
mov byte [ebp - 4], 9
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4936d9
lea esi, [ebp - 0x134]
jmp 0x493219
lea esi, [ebp - 0x174]
jmp 0x493380
mov eax, dword [ebp - 0x154]
mov esi, 0x10
cmp dword [ebp - 0x140], esi
jae 0x4934fe
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x208]
push ecx
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6c70
mov edx, dword [ebp - 0x204]
cmp dword [ebp - 0x1f0], esi
jae 0x493529
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x208]
call fcn.004c8030
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x1b8]
call fcn.004126e0
jmp 0x4936d9
cmp dword [ebp - 0x144], ebx
jne 0x49363d
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [ebp - 0x1d8]
mov byte [ebp - 4], 0xc
call fcn.00540880
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x1d4]
mov esi, 0x10
cmp dword [ebp - 0x1c0], esi
jae 0x49358d
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x208]
push eax
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6c70
mov edx, dword [ebp - 0x204]
cmp dword [ebp - 0x1f0], esi
jae 0x4935b8
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x208]
call fcn.004c8030
mov eax, dword [ebp - 0x1d4]
cmp dword [ebp - 0x1c0], esi
jae 0x4935d7
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x238]
push ecx
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6c70
mov edx, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x493602
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x238]
call fcn.004c8030
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x1d8]
push edx
lea ecx, [ebp - 0x158]
call fcn.004126e0
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0xc
call fcn.00412410
mov byte [ebp - 4], 9
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x493642
mov esi, 0x10
mov eax, dword [ebp - 0x154]
cmp dword [ebp - 0x140], esi
jae 0x493656
lea eax, [ebp - 0x154]
mov edi, dword [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x1a4]
lea ebx, [ebp - 0x1b8]
call fcn.004127d0
test eax, eax
je 0x4936d7
mov eax, dword [ebp - 0x154]
mov esi, 0x10
cmp dword [ebp - 0x140], esi
jae 0x49368b
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x208]
push eax
mov edx, str.UUID
mov ecx, 0x675f88
call fcn.004c6c70
mov edx, dword [ebp - 0x204]
cmp dword [ebp - 0x1f0], esi
jae 0x4936b6
lea edx, [ebp - 0x204]
lea ecx, [ebp - 0x208]
call fcn.004c8030
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x1b8]
call fcn.004126e0
xor ebx, ebx
cmp dword [ebp - 0x1a0], 0x10
mov esi, dword [ebp - 0x1b4]
jae 0x4936ee
lea esi, [ebp - 0x1b4]
mov ecx, 8
mov edi, 0x6c4df4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp dword [0x6c4df0], ebx
je 0x49371e
call fcn.00461c80
mov ecx, dword [0x6c4df0]
push 0xffffffffffffffff
push ebx
add ecx, 0x4c
push 0x6c5944
call fcn.004126e0
cmp dword [ebp - 0x1a0], 0x10
jb 0x493736
mov edx, dword [ebp - 0x1b4]
push edx
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x1a4], ebx
mov byte [ebp - 0x1b4], bl
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xe
call fcn.0040ed70
mov eax, dword [ebp - 0x1b8]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1b8], ebx
mov byte [ebp - 4], 8
call fcn.0040ed70
mov edi, 0x10
cmp dword [ebp - 0x160], edi
jb 0x49379c
mov ecx, dword [ebp - 0x174]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x164], ebx
mov byte [ebp - 0x174], bl
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xf
call fcn.0040ed70
mov edx, dword [ebp - 0x178]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x178], ebx
mov byte [ebp - 4], 6
call fcn.0040ed70
lea eax, [ebp - 0x208]
push eax
mov byte [ebp - 4], 5
call fcn.004c5220
cmp dword [ebp - 0x180], edi
jb 0x493808
mov ecx, dword [ebp - 0x194]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x184], ebx
mov byte [ebp - 0x194], bl
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x10
call fcn.0040ed70
mov edx, dword [ebp - 0x198]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x198], ebx
mov byte [ebp - 4], 3
call fcn.0040ed70
cmp dword [ebp - 0x140], edi
jb 0x493864
mov eax, dword [ebp - 0x154]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x144], ebx
mov byte [ebp - 0x154], bl
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x11
call fcn.0040ed70
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x158], ebx
mov byte [ebp - 4], 2
call fcn.0040ed70
lea edx, [ebp - 0x238]
push edx
mov byte [ebp - 4], 1
call fcn.004c5220
cmp dword [ebp - 0x120], edi
jb 0x4938d0
mov eax, dword [ebp - 0x134]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0x12
call fcn.0040ed70
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x244]
push edx
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x244], ebx
call fcn.005f41f0
push 0x6a361c
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x250]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x23c], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x25c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3