Function at 0x40f250
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x482f15
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x49c0a4]
xor eax, esp
mov dword [esp + 0x6e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c0a4]
xor eax, esp
push eax
lea eax, [esp + 0x700]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x710]
lea esi, [ebp + 4]
push esi
mov dword [esp + 0x1c], ebp
mov dword [ebp], method.ServiceWrapper.virtual_0
call fcn.0040a6b0
mov dword [esp + 0x708], 0
lea ebx, [ebp + 8]
push ebx
call fcn.0040a6b0
mov byte [esp + 0x708], 1
lea eax, [ebp + 0xc]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 2
lea eax, [ebp + 0x10]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 3
lea eax, [ebp + 0x14]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 4
lea eax, [ebp + 0x18]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 5
lea eax, [ebp + 0x1c]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 6
lea eax, [ebp + 0x20]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 7
lea eax, [ebp + 0x24]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 8
lea eax, [ebp + 0x28]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 9
lea eax, [ebp + 0x2c]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0xa
lea eax, [ebp + 0x30]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0xb
lea eax, [ebp + 0x34]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0xc
lea eax, [ebp + 0x38]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0xd
lea eax, [ebp + 0x3c]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0xe
lea eax, [ebp + 0x40]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0xf
lea eax, [ebp + 0x44]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x10
lea eax, [ebp + 0x48]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x11
lea eax, [ebp + 0x4c]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x12
lea eax, [ebp + 0x50]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x13
lea eax, [ebp + 0x54]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x14
lea eax, [ebp + 0x58]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x15
lea eax, [ebp + 0x5c]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x16
lea eax, [ebp + 0x60]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x17
lea eax, [ebp + 0x64]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x18
lea eax, [ebp + 0x68]
push eax
call fcn.0040b360
mov byte [esp + 0x708], 0x19
lea eax, [ebp + 0x80]
push eax
call fcn.0040b360
mov byte [esp + 0x708], 0x1a
lea eax, [ebp + 0x98]
push eax
call fcn.0040a6b0
mov byte [esp + 0x708], 0x1b
push 0x1a
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x1c
mov edi, esi
call fcn.00404b00
mov byte [esp + 0x708], 0x1b
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x23
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x1d
mov edi, ebx
call fcn.00404b00
mov byte [esp + 0x708], 0x1b
lea ecx, [esp + 0x14]
call fcn.00402880
push 0xb
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x1e
lea edi, [ebp + 0x20]
call fcn.00404b00
mov byte [esp + 0x708], 0x1b
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x16
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x1f
lea edi, [ebp + 0x24]
call fcn.00404b00
mov byte [esp + 0x708], 0x1b
lea ecx, [esp + 0x14]
call fcn.00402880
mov eax, 0x4aec6c
lea edi, [ebp + 0xc]
call fcn.00404b00
mov eax, 0x4aec68
lea edi, [ebp + 0x10]
call fcn.00404b00
mov eax, 0x4aec58
lea edi, [ebp + 0x14]
call fcn.00404b00
mov eax, 0x4aec5c
lea edi, [ebp + 0x18]
call fcn.00404b00
mov eax, 0x4aec64
lea edi, [ebp + 0x1c]
call fcn.00404b00
lea eax, [esp + 0x14]
push 0x4aec6c
push eax
mov ebx, str.Common_Files
call fcn.0040b030
add esp, 8
mov byte [esp + 0x708], 0x20
lea edi, [ebp + 0x28]
call fcn.00404b00
mov byte [esp + 0x708], 0x1b
lea ecx, [esp + 0x14]
call fcn.00402880
lea ecx, [esp + 0x14]
push 0x4aec68
push ecx
call fcn.0040b030
add esp, 8
mov byte [esp + 0x708], 0x21
lea edi, [ebp + 0x2c]
call fcn.00404b00
mov bl, 0x1b
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 0
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x22
lea edi, [ebp + 0x30]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x19
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x23
lea edi, [ebp + 0x34]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 7
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x24
lea edi, [ebp + 0x38]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x18
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x25
lea edi, [ebp + 0x3c]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x1c
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x26
lea edi, [ebp + 0x40]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 5
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x27
lea edi, [ebp + 0x44]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x2e
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x28
lea edi, [ebp + 0x48]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 2
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x29
lea edi, [ebp + 0x4c]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x17
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x2a
lea edi, [ebp + 0x50]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
lea edx, [esp + 0x14]
push esi
push edx
mov ebx, str.MicrosoftInternet_ExplorerQuick_Launch
call fcn.0040b030
add esp, 8
mov byte [esp + 0x708], 0x2b
lea edi, [ebp + 0x54]
call fcn.00404b00
mov bl, 0x1b
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 6
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x2c
lea edi, [ebp + 0x58]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4fe]
push ecx
mov word [esp + 0x500], ax
call fcn.00466e30
add esp, 0xc
lea edx, [esp + 0x4f4]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x4f4]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40f827
sub eax, ecx
sar eax, 1
lea ecx, [esp + 0x4f4]
mov ebx, eax
lea edi, [ebp + 0x5c]
push ecx
mov eax, edi
call fcn.00403b20
push 0x492050
mov eax, edi
call fcn.0040ad00
lea eax, [ebp + 0x1c]
push eax
lea edx, [esp + 0x18]
push edx
mov ebx, str.Temp
call fcn.0040b030
add esp, 8
mov byte [esp + 0x708], 0x2d
lea edi, [ebp + 0x60]
call fcn.00404b00
mov byte [esp + 0x708], 0x1b
lea ecx, [esp + 0x14]
call fcn.00402880
lea eax, [ebp + 0x40]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040b030
add esp, 8
mov byte [esp + 0x708], 0x2e
lea edi, [ebp + 0x64]
call fcn.00404b00
mov bl, 0x1b
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
push 0x28
lea edi, [esp + 0x18]
call fcn.00407d70
add esp, 4
mov byte [esp + 0x708], 0x2f
lea edi, [ebp + 0x98]
call fcn.00404b00
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
lea ecx, [esp + 0x14]
push esi
push ecx
mov ebx, str.MozillaFirefoxProfiles.
call fcn.0040b030
add esp, 8
mov byte [esp + 0x708], 0x30
mov eax, dword [eax]
lea edx, [esp + 0x290]
push edx
mov ecx, eax
call fcn.00404eb0
mov bl, 0x32
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x14]
call fcn.00402880
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x294]
push ecx
call fcn.00405070
mov byte [esp + 0x708], 0x33
mov edx, dword [esp + 0x28c]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x40fa12
lea eax, [esp + 0x28c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x40f9bb
test al, 0x10
je 0x40f9bb
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0x40]
call fcn.0040ef70
mov byte [esp + 0x708], 0x34
mov ebx, eax
lea edi, [ebp + 0x68]
call fcn.004029e0
mov byte [esp + 0x708], 0x33
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f9bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0x32
mov byte [esp + 0x708], bl
mov eax, dword [esp + 0x28c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f9e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x294]
push edx
call fcn.00405070
mov byte [esp + 0x708], 0x33
mov eax, dword [esp + 0x28c]
cmp dword [eax - 0xc], 0
jne 0x40f966
mov byte [esp + 0x708], bl
lea ecx, [esp + 0x28c]
call fcn.00402880
xor ecx, ecx
push ecx
mov ebx, 0x400
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], cx
call fcn.0040c940
mov byte [esp + 0x708], 0x39
mov eax, dword [esp + 0x24]
mov edi, 8
cmp dword [esp + 0x38], edi
jae 0x40fa66
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x34]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x38], edi
jae 0x40fa80
lea esi, [esp + 0x24]
cmp word [esi], 0
je 0x40fb56
lea ebx, [ebx]
mov eax, dword [0x4ae040]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ae040
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x708], 0x3b
push esi
push 0x492924
lea edi, [esp + 0x1c]
call fcn.0040c610
mov edi, dword [esp + 0x1c]
add esp, 8
cmp dword [edi - 4], 1
jle 0x40fadc
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00404300
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x40fb09
push 0x492050
lea eax, [esp + 0x18]
call fcn.0040ad00
lea ebx, [esp + 0x14]
lea edi, [ebp + 0x80]
call fcn.004029e0
mov edi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fb10
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov byte [esp + 0x708], 0x39
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fb47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi], 0
jne 0x40fa90
mov edi, 8
mov byte [esp + 0x708], 0x32
cmp dword [esp + 0x38], edi
jb 0x40fb71
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00464c85
add esp, 4
xor edx, edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
mov byte [esp + 0x708], 0x1b
lea eax, [esp + 0x290]
push eax
call fcn.00404fe0
mov dword [esp + 0x708], 0xffffffff
mov eax, ebp
mov ecx, dword [esp + 0x700]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6e8]
xor ecx, esp
call fcn.00464c90
add esp, 0x6f8
ret 4