Function at 0x408150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4245e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x42d5a0]
push ebx
push esi
push edi
mov dword [esp + 0x22c], eax
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov word [esp + 0x20], bx
mov ecx, 0x81
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
push 0x23
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.004080a0
push str.DroppixDroppix.mdb
mov dword [esp + 0x240], ebx
call fcn.00419e1e
add esp, 4
push eax
push str.DroppixDroppix.mdb
lea ecx, [esp + 0x24]
call fcn.00405580
mov edx, dword [0x42e734]
mov ecx, 0x42e734
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push str.ProviderMicrosoft.Jet.OLEDB.4.0_Data_Source_s__t_t_t_t_t_t_t_t_t_t_t___ModeReadWriteShare_Deny_None_Jet_OLEDB:Engine_Type5__t_t_t_t_t_t_t_t_t_t_t_tJet_OLEDB:Database_Locking_Mode1_Jet_OLEDB:Global_Partial_Bulk_Ops2__t_t_t_t_t_t_t_t_t_t_t_tJet_OLEDB:Global_Bulk_Transactions1_
push ecx
mov byte [esp + 0x248], 1
call fcn.00406390
mov edx, dword [esp + 0x24]
add esp, 0xc
lea edi, [esi + 4]
push 0
lea ebx, [edi + 4]
push edx
mov ecx, ebx
call fcn.004035d0
test eax, eax
mov dword [esp + 0x10], eax
jne 0x408269
mov ebx, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
push 0x42695c
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
push ebx
call dword [eax]
mov ebx, eax
test ebx, ebx
mov eax, dword [esp + 0x14]
jl 0x40825b
mov ecx, dword [eax]
push edi
push 0x42694c
push 0
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x408265
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x40832a
lea ebx, [esi + 0x10]
push ebx
call fcn.00405140
mov eax, dword [ebx]
test eax, eax
je 0x40828f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ebx, dword [ebx]
mov dword [ebx + 8], edi
lea ebx, [esi + 0x14]
push ebx
call 0x405c50
mov eax, dword [ebx]
test eax, eax
je 0x4082c2
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebx - 4], edi
je 0x4082c2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx]
test eax, eax
je 0x4082c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx], esi
lea ebx, [esi + 0x18]
push ebx
call fcn.00405d10
mov eax, dword [ebx]
test eax, eax
je 0x4082f5
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebx - 4], edi
je 0x4082f5
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebx]
test eax, eax
je 0x4082f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx], esi
lea ebx, [esi + 0x1c]
push ebx
call fcn.00405dd0
mov eax, dword [ebx]
test eax, eax
je 0x40832a
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ebx, dword [ebx]
mov dword [ebx + 8], edi
lea edi, [ebx + 0xc]
test edi, edi
je 0x40832a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi]
test eax, eax
je 0x408328
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x23c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408350
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
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 0x408379
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 0x10]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x22c]
call fcn.00419c7e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret