Function at 0x408b48
Capabilities:
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b5cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov dword [ebp - 0x70], ecx
push 0x64
push 0
mov ecx, dword [ebp - 0x70]
add ecx, 0x1a0
call fcn.00409400
lea ecx, [ebp - 0x28]
call fcn.004072f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x70]
call fcn.004081a0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0xac
push eax
lea ecx, [ebp - 0x28]
call fcn.0042d2a2
push 0x44c6cc
lea ecx, [ebp - 0x38]
call fcn.0042d1d7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x70]
add edx, 0x5c
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040e350
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0042d169
push 0x44c6d0
mov ecx, dword [ebp - 0x70]
add ecx, 0x164
call fcn.00431a0e
lea ecx, [ebp - 0x34]
call fcn.004072f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
push ecx
call fcn.00409b80
add esp, 4
push str._temp
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0042d3fe
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 0x124
call fcn.0042d2a2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.0042d169
push 0
mov ecx, dword [ebp - 0x70]
add ecx, 0x124
call fcn.00407310
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x124
call fcn.0042d599
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x24]
call fcn.0042c401
mov byte [ebp - 4], 4
push str._piz
lea ecx, [ebp - 0x40]
call fcn.0042d1d7
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 0x5c
call fcn.004092f0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0040e350
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.0042d169
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0042d169
push 0x44c6ec
mov ecx, dword [ebp - 0x70]
add ecx, 0x124
call fcn.0042d545
lea ecx, [ebp - 0x24]
call fcn.004092d0
sub eax, 1
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.004092f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10]
call fcn.0042d66b
push 1
lea ecx, [ebp - 0x10]
call fcn.00407310
sub eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cf20
push eax
lea ecx, [ebp - 0x50]
call fcn.0042b65a
mov byte [ebp - 4], 8
push 0x44c6f0
lea ecx, [ebp - 0x4c]
call fcn.0042d1d7
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00407380
and eax, 0xff
test eax, eax
je 0x408e74
push 1
lea ecx, [ebp - 0x10]
call fcn.00407310
sub eax, 2
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cf20
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042b65a
mov byte [ebp - 4], 0xa
push 0x44c6f4
lea ecx, [ebp - 0x58]
call fcn.0042d1d7
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x90]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.00407380
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.0042d169
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.0042d169
mov eax, dword [ebp - 0x54]
and eax, 0xff
test eax, eax
je 0x408e74
push 1
lea ecx, [ebp - 0x10]
call fcn.00407310
sub eax, 3
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cf20
push eax
lea ecx, [ebp - 0x68]
call fcn.0042b65a
mov byte [ebp - 4], 0xc
push 0x44c6f8
lea ecx, [ebp - 0x64]
call fcn.0042d1d7
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.00407380
mov byte [ebp - 0x60], al
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x64]
call fcn.0042d169
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.0042d169
mov ecx, dword [ebp - 0x60]
and ecx, 0xff
test ecx, ecx
je 0x408e74
mov dword [ebp - 0x9c], 1
jmp 0x408e7e
mov dword [ebp - 0x9c], 0
mov dl, byte [ebp - 0x9c]
mov byte [ebp - 0x48], dl
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x4c]
call fcn.0042d169
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.0042d169
mov eax, dword [ebp - 0x48]
and eax, 0xff
test eax, eax
je 0x408efc
lea ecx, [ebp - 0x24]
call fcn.004092d0
sub eax, 1
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004092f0
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x124
call fcn.0042d581
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.0042d169
jmp 0x408f0f
push 0x44c6fc
mov ecx, dword [ebp - 0x70]
add ecx, 0x124
call fcn.0042d545
push 1
push 0x7e9
mov ecx, dword [ebp - 0x70]
call fcn.00409330
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x74
call sub.ftinet.dll_public:_void___thiscall_CHttpDownload::SetNotifyWnd_struct_HWND_____unsigned_int__int_
lea ecx, [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x70]
push edx
push 0x4086b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.0042d169
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0042c434
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0042d169
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0042d169
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret