Function at 0x4421f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x581249
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x23c]
test ebp, ebp
mov dword [esp + 0x234], 5
je 0x442509
cmp dword [ebp + 0x20], 0
je 0x442509
lea ebx, [esp + 0x24c]
call fcn.00409830
mov edi, eax
call fcn.004098b0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x442279
lea edx, [esp + 0x240]
push edx
mov ecx, ebx
call fcn.00402310
cmp byte [esp + 0x254], 0
je 0x4422a8
lea eax, [esp + 0x1c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4422a8
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24c]
call fcn.004021d0
push 0x54
call fcn.005308cb
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x234], 6
je 0x4422f4
lea edx, [esp + 0x24c]
push edx
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x250]
push edx
lea ecx, [esp + 0x250]
push ecx
lea edx, [esp + 0x250]
push edx
push eax
call fcn.0043f240
mov ebx, eax
jmp 0x4422f6
xor ebx, ebx
mov byte [esp + 0x234], 5
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x442318
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x250]
push ecx
lea edx, [esp + 0x250]
push edx
mov byte [esp + 0x23c], 7
call fcn.00405270
add esp, 8
test al, al
je 0x442394
lea eax, [esp + 0x250]
push str.index.htm
push eax
call fcn.00443480
add esp, 8
test al, al
je 0x442394
mov ecx, dword [esp + 0x258]
mov edx, dword [esp + 0x248]
mov eax, dword [esp + 0x250]
push ecx
mov ecx, dword [esp + 0x248]
push edx
mov edx, dword [esp + 0x248]
push eax
push ecx
push edx
push str.URL:_s_r_nRefer:_s_r_nFile:_s_r_nDirectory:_s_r_nThreads:_s_r_nMakeNewFile:TRUE
jmp 0x4423c1
mov ecx, dword [esp + 0x258]
mov edx, dword [esp + 0x248]
mov eax, dword [esp + 0x24c]
push ecx
mov ecx, dword [esp + 0x248]
push edx
mov edx, dword [esp + 0x248]
push eax
push ecx
push edx
push str.URL:_s_r_nRefer:_s_r_nFileName:_s_r_nDirectory:_s_r_nThreads:_s
lea eax, [esp + 0x2c]
push eax
call fcn.00405480
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push 0x37
push ebx
push 0x5f3148
call fcn.0051fce0
mov edi, eax
test edi, edi
je 0x4423f8
push edi
mov esi, 0x5f3148
call fcn.00522060
push esi
mov ecx, eax
call fcn.00520ed0
call fcn.0051df90
fldz
mov ecx, dword [esp + 0x25c]
fstp dword [ebx + 0x24]
movzx edx, byte [esp + 0x254]
mov eax, 1
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 8], edi
lea eax, [esp + 0x258]
mov dword [ebx + 0x20], ecx
xor edi, edi
lea ecx, [ebx + 0x34]
push eax
mov byte [ebx + 0x2c], 0
mov byte [ebx + 0x38], 0
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x40], edx
call fcn.00402310
mov eax, dword [ebp + 0x568]
lea esi, [ebp + 0x560]
mov dword [ebx + 4], eax
mov byte [ebx + 0x50], 0
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x4c], edi
mov eax, dword [esi + 8]
cmp eax, edi
mov dword [esp + 0x18], eax
jge 0x44246b
call fcn.00530cad
lea edi, [eax + 1]
call fcn.00459ef0
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov esi, ebp
mov dword [ecx + edx*4], ebx
call fcn.004426c0
mov esi, ebx
call fcn.00442c90
mov eax, dword [ebx + 8]
test eax, eax
je 0x4424b6
push eax
mov esi, 0x5f3148
call fcn.00522060
mov esi, 0x5f30b0
mov dword [0x5f3144], 0
mov dword [0x5f3104], eax
call fcn.005270b0
mov eax, dword [ebx + 4]
push 0
push eax
mov eax, dword [ebp + 0x2b8]
push 0x103c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 4]
push 3
push 3
push ecx
lea ecx, [ebp + 0x298]
call fcn.0053c626
mov byte [esp + 0x234], 5
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 0x442509
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 4
mov eax, dword [esp + 0x240]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442534
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 3
mov eax, dword [esp + 0x244]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44255f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 2
mov eax, dword [esp + 0x248]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44258a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 1
mov eax, dword [esp + 0x24c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4425b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 0
mov eax, dword [esp + 0x250]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4425e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x258]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44260e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00552101
add esp, 0x224
ret 0x24