Function at 0x403030
Capabilities:
Check mutex on windows
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x46f020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x476bbc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x64
mov dword [0x46fad4], 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword fs:[0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [eax]
mov eax, dword [0x471184]
mov dword [ebp - 0x48], ecx
cmp eax, dword [ecx + 4]
jle 0x4030c8
push 0x471184
call fcn.0040c420
add esp, 4
cmp dword [0x471184], 0xffffffff
jne 0x4030c8
push 0
push 0
push 0
mov dword [0x471180], 0
call esi
push 0x453de0
mov dword [0x47117c], eax
call fcn.0040ca60
add esp, 4
push 0x471184
call fcn.0040c3d0
add esp, 4
push edi
push str.FileName:__s
push 0x47117c
call fcn.00402b00
add esp, 0xc
push 0x5c
push edi
call fcn.0040f840
add esp, 8
test eax, eax
je 0x4030f2
lea edx, [eax + 1]
mov dword [ebp - 0x44], edx
jmp 0x4030f5
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x471184]
cmp eax, dword [ecx + 4]
jle 0x40314c
push 0x471184
call fcn.0040c420
add esp, 4
cmp dword [0x471184], 0xffffffff
jne 0x40314c
push 0
push 0
push 0
mov dword [0x471180], 0
call esi
push 0x453de0
mov dword [0x47117c], eax
call fcn.0040ca60
add esp, 4
push 0x471184
call fcn.0040c3d0
add esp, 4
push dword [ebp - 0x44]
push str.Extracted_FileName:__s
push 0x47117c
call fcn.00402b00
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x3c
push 0
push eax
call fcn.00410bf0
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x3b
push dword [ebp - 0x44]
push 0x3c
push eax
call fcn.00416bb0
add esp, 0x10
lea eax, [ebp - 0x40]
mov ecx, str.DOWNLOAD_PROGRESS
push eax
call fcn.00402c30
push eax
push 0xffffffffffffffff
push 0x400
push 0x476748
call fcn.00402a70
add esp, 0x14
mov dword [0x476b4c], 0
mov dword [0x476b48], 0
push 1
push 0
push 0
push dword [0x476344]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [0x476bbc]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x471184]
cmp eax, dword [ecx + 4]
jle 0x403239
push 0x471184
call fcn.0040c420
add esp, 4
cmp dword [0x471184], 0xffffffff
jne 0x403239
push 0
push 0
push 0
mov dword [0x471180], 0
call esi
push 0x453de0
mov dword [0x47117c], eax
call fcn.0040ca60
add esp, 4
push 0x471184
call fcn.0040c3d0
add esp, 4
push ebx
push str.Iniciando_download_de:__s
push 0x47117c
call fcn.00402b00
add esp, 0xc
push 0x46fac8
push 0
push edi
push ebx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x403276
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c1e0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x471184]
cmp eax, dword [ecx + 4]
jle 0x4032cd
push 0x471184
call fcn.0040c420
add esp, 4
cmp dword [0x471184], 0xffffffff
jne 0x4032cd
push 0
push 0
push 0
mov dword [0x471180], 0
call esi
push 0x453de0
mov dword [0x47117c], eax
call fcn.0040ca60
add esp, 4
push 0x471184
call fcn.0040c3d0
add esp, 4
push ebx
push str.ERRO_ao_baixar_:__s
push 0x47117c
call fcn.00402b00
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.0040c1e0
mov esp, ebp
pop ebp
ret 8