Function at 0x403af0
Capabilities:
Create bits job
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424cac
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x433610]
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
test byte [0x434778], 1
mov edi, ecx
jne 0x403b50
or dword [0x434778], 1
mov ecx, 0x434744
mov dword [ebp - 4], ebx
call fcn.00408630
push 0x426160
call fcn.00417f35
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x434744
call fcn.00409030
cmp eax, ebx
je 0x403b79
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push str.BitsJob:_RunWorkerThread
push eax
mov dword [ebp - 0x40], 4
call fcn.00408ee0
add esp, 8
mov dword [ebp - 0x30], ebx
mov ecx, dword [edi + 0x38]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x34], ecx
push edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.00402480
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00402500
cmp esi, ebx
jl 0x403c66
cmp dword [ebp - 0x30], ebx
jne 0x403c24
test byte [0x434778], 1
jne 0x403bdb
or dword [0x434778], 1
mov ecx, 0x434744
mov byte [ebp - 4], 2
call fcn.00408630
push 0x426160
call fcn.00417f35
add esp, 4
mov byte [ebp - 4], 1
mov ecx, 0x434744
call fcn.00409030
cmp eax, ebx
je 0x403c04
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push str.BitsJob:_failed_to_get_job_interface_pointer
push eax
mov dword [ebp - 0x40], 0xfffffffe
call fcn.00408ee0
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x403c1a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004003
jmp 0x404360
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x403c3b
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x403d09
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00401bc0
mov esi, eax
cmp esi, ebx
jge 0x403c83
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403c66
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x403c7c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
jmp 0x404360
cmp dword [ebp - 0x2c], ebx
je 0x403ceb
call fcn.00401810
mov ecx, eax
call fcn.00409030
cmp eax, ebx
je 0x403cb3
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push str.BitsJob:_ERROR:_job_already_exists.
push eax
mov dword [ebp - 0x40], 0xfffffffe
call fcn.00408ee0
add esp, 8
mov ecx, dword [0x434ac4]
push ecx
push ebx
push 0x42a4f0
push ebx
push ebx
push 0x202
push 0x427450
call fcn.00402600
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403c66
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x403c66
mov ecx, edi
call fcn.00401880
test al, al
je 0x403d29
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403d09
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov dword [ebp - 4], 0xffffffff
je 0x403d1f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
jmp 0x404360
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00416e70
mov edx, dword [0x4335d8]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x4335d8
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
movzx ecx, word [ebp - 0x12]
movzx edx, word [ebp - 0x14]
movzx eax, word [ebp - 0x16]
push ecx
movzx ecx, word [ebp - 0x18]
push edx
push eax
push ecx
lea edx, [ebp - 0x34]
push str._d._d._d._d
push edx
mov byte [ebp - 4], 4
call fcn.00403440
add esp, 0x18
mov ecx, edi
call fcn.00401880
test al, al
je 0x403d94
lea ecx, [ebp - 0x34]
call fcn.00401ad0
jmp 0x403cf6
mov eax, dword [0x4335d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4335d8
call edx
lea ecx, [eax + 0x10]
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
mov byte [ebp - 4], 5
mov dword [ebp - 0x54], 0xffffffff
jge 0x403dde
push 0x104
lea ecx, [ebp - 0x38]
call fcn.00401af0
mov ecx, dword [ebp - 0x38]
push ecx
push 0x104
mov dword [ebp - 0x58], ecx
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
lea ecx, [ebp - 0x5c]
sete bl
call fcn.00402430
test bl, bl
je 0x403e5e
call fcn.00401260
mov esi, eax
call fcn.00401810
mov ecx, eax
call fcn.00409030
test eax, eax
je 0x403e31
push esi
lea ecx, [ebp - 0x44]
push str.BitsJob:_failed_to_GetTempPath__0x_x_
push ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0xfffffffe
call fcn.00408ee0
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x403e54
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x30]
test eax, eax
jmp 0x403c6b
mov ecx, edi
call fcn.00401880
test al, al
je 0x403e96
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x403e8c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
test eax, eax
jmp 0x403d0e
mov eax, dword [0x4335d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4335d8
call edx
lea edx, [eax + 0x10]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
or esi, 0xffffffff
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x54], esi
jge 0x403edf
push 0x104
lea ecx, [ebp - 0x3c]
call fcn.00401af0
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
push edx
push 0
push 0x42799c
push ecx
mov dword [ebp - 0x58], edx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
lea ecx, [ebp - 0x5c]
sete bl
call fcn.00402430
test bl, bl
je 0x403f7c
call fcn.00401260
mov edi, eax
call fcn.00401810
mov ecx, eax
call fcn.00409030
test eax, eax
je 0x403f38
push edi
lea edx, [ebp - 0x44]
push str.BitsJob:_failed_to_GetTempFileName__0x_x_
push edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0xfffffffe
call fcn.00408ee0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x403f63
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x403f75
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
jmp 0x404360
mov ecx, edi
call fcn.00401880
test al, al
je 0x403fbf
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x403fb2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], esi
test eax, eax
jmp 0x403d15
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 0x427490
push 4
push 0
push 0x4274e4
mov byte [ebp - 4], 7
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
jns 0x40403f
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 6
test eax, eax
je 0x403ffb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x404026
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], esi
test eax, eax
je 0x404038
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
jmp 0x404360
mov ecx, edi
call fcn.00401880
test al, al
mov eax, dword [ebp - 0x48]
je 0x404066
mov byte [ebp - 4], 6
test eax, eax
je 0x403f87
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x403f87
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x28]
push edx
push 0
push str.SkypeUpdate
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
test edi, edi
jns 0x40409f
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 6
test eax, eax
je 0x403f38
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x403f38
call fcn.00401810
mov ecx, eax
call fcn.00409030
mov esi, eax
test esi, esi
je 0x404108
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x50]
push eax
call fcn.004170e0
mov ecx, dword [ebp - 0x3c]
push ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 3
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x44]
push str.BitsJob:_job_created_guid_s_file_s
push eax
mov byte [ebp - 4], 8
call fcn.00408ee0
add esp, 0x24
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00401ad0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x50]
push str.http:__ui.skype.com_ui_0_
push edx
call fcn.00403360
push str._en_upgrade
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 9
call fcn.00403280
add esp, 0x18
mov bl, 0xb
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00401ad0
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x2c]
test eax, eax
jne 0x4041bf
xor esi, esi
mov dword [ebp - 0x40], esi
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x10]
push esi
push edx
push edi
mov byte [ebp - 4], 0xc
call eax
push esi
mov edi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x4041dd
lea ecx, [ebp - 0x4c]
call fcn.00401ad0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 6
test eax, eax
je 0x404188
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x4041b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
jmp 0x403f66
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x40414c
push 0x8007000e
call fcn.004010d0
call fcn.00401810
mov ecx, eax
call fcn.00409030
test eax, eax
je 0x40420c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
push str.BitsJob:_job_added__s
push ecx
mov dword [ebp - 0x40], 4
call fcn.00408ee0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
push 0x15180
push eax
mov eax, dword [edx + 0x74]
call eax
mov esi, eax
test esi, esi
jns 0x404272
lea ecx, [ebp - 0x4c]
call fcn.00401ad0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 6
test eax, eax
je 0x40423d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x404268
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
test eax, eax
jmp 0x403c6b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push 0xe10
push eax
call edx
mov esi, eax
test esi, esi
js 0x404222
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov esi, eax
test esi, esi
js 0x404222
call fcn.00401810
mov ecx, eax
call fcn.00409030
test eax, eax
je 0x4042c4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push str.BitsJob:_job_resumed
push eax
mov dword [ebp - 0x54], 4
call fcn.00408ee0
add esp, 8
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
mov ecx, 0x43477c
mov dword [eax + 0xc], edx
call fcn.00401080
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x43477c
call fcn.004035b0
mov ecx, 0x43477c
call fcn.004021e0
lea ecx, [ebp - 0x4c]
call fcn.00401ad0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 6
test eax, eax
je 0x40431d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x3c]
call fcn.00401ad0
lea ecx, [ebp - 0x38]
call fcn.00401ad0
lea ecx, [ebp - 0x34]
call fcn.00401ad0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x404348
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x40435e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
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.00418330
mov esp, ebp
pop ebp
ret