Function at 0x432ab0
Capabilities:
Create thread

Disassembly:
push 0x854
mov eax, 0x50850f
call fcn.004da051
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x84c], eax
mov eax, dword [edi + 8]
xor ebx, ebx
mov dword [ebp - 0x85c], edi
mov dword [ebp - 0x860], edx
mov dword [ebp - 0x850], ecx
cmp eax, ebx
je 0x432e8b
cmp eax, 0xffffffff
je 0x432e8b
cmp ecx, ebx
je 0x432e61
mov eax, ecx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432b00
sub eax, esi
sar eax, 1
cmp eax, 1
jb 0x432e61
cmp dword [ebp + 0x10], ebx
jg 0x432b65
cmp dword [0x550334], ebx
je 0x432b42
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___pid__d__error.
call fcn.00427dfb
add esp, 0xc
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x432eac
cmp eax, 0xffffffff
je 0x432eac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
jmp 0x432eac
mov eax, edx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432b6a
sub eax, edx
sar eax, 1
jne 0x432b98
cmp dword [0x550334], ebx
je 0x432eac
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___download_url_is_empty.
jmp 0x432e9f
push dword [ebp - 0x850]
lea eax, [edi + 0x3c]
push eax
call fcn.00404290
mov eax, dword [ebp - 0x84c]
cmp eax, ebx
jne 0x432bb6
mov eax, 0x52dce0
push eax
lea eax, [edi + 0x40]
push eax
call fcn.00404290
mov al, byte [ebp + 0x14]
mov byte [edi + 0x30], al
mov eax, dword [0x54b064]
mov esi, 0x54b064
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x850], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x54b064]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84c], eax
xor eax, eax
mov byte [ebp - 4], 1
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
mov dword [ebp - 0x854], ebx
call fcn.004d9310
mov ecx, dword [ebp - 0x860]
add esp, 0xc
lea esi, [ebp - 0x810]
call fcn.004310b2
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x84c]
push eax
lea edx, [ebp - 0x850]
mov ecx, esi
call fcn.0042a070
pop ecx
pop ecx
test al, al
jne 0x432ca8
cmp dword [0x550334], ebx
je 0x432c6f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___parse_url_diy_failed_
mov ecx, dword [0x550334]
call fcn.00427dfb
pop ecx
pop ecx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x432c85
cmp eax, 0xffffffff
je 0x432c85
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x84c]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, dword [ebp - 0x850]
add eax, 0xfffffff0
call fcn.0040436d
mov al, bl
jmp 0x432eae
lea eax, [ebp - 0x810]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.00404290
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x550334], ebx
je 0x432d4f
xor eax, eax
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
call fcn.00404441
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 2
call fcn.00428a57
pop ecx
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x432d18
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [0x550334]
push eax
push str._INFO___d___download_url__s_.
call fcn.00427dfb
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402476
push ebx
push 1
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 1
call fcn.0040476f
xor ebx, ebx
inc ebx
call fcn.00432eb6
xor ebx, ebx
mov dword [edi + 0x54], eax
cmp eax, ebx
jne 0x432db1
cmp dword [0x550334], ebx
je 0x432d7d
call esi
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___create_download_pub_info_failed_
call fcn.00427dfb
pop ecx
pop ecx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x432d93
cmp eax, 0xffffffff
je 0x432d93
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
lea edx, [ebp - 0x854]
mov ecx, edi
mov dword [ebp - 0x854], 5
call fcn.00434765
mov bl, al
jmp 0x432c85
mov ecx, dword [edi + 0xa0]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x54]
push ebx
xor eax, eax
call fcn.0043736d
mov eax, dword [edi + 0x54]
mov dword [eax + 0xc], edi
mov edi, dword [edi + 0x54]
lea eax, [ebp - 0x810]
call fcn.00437703
cmp dword [0x550334], ebx
je 0x432df6
call esi
mov ecx, dword [0x550334]
push eax
push str._INFO___d___create_download_main_thread.
call fcn.00427dfb
pop ecx
pop ecx
mov edi, dword [ebp - 0x85c]
lea eax, [ebp - 0x858]
push eax
push ebx
push edi
push 0x4327b0
push 0xa00000
push ebx
mov dword [ebp - 0x858], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x34], eax
cmp eax, ebx
je 0x432e48
cmp eax, 0xffffffff
je 0x432e48
mov eax, dword [ebp - 0x84c]
add eax, 0xfffffff0
call fcn.0040436d
mov eax, dword [ebp - 0x850]
add eax, 0xfffffff0
call fcn.0040436d
mov al, 1
jmp 0x432eae
cmp dword [0x550334], ebx
je 0x432c6f
call esi
push eax
push 0x52dd84
jmp 0x432c62
cmp dword [0x550334], ebx
je 0x432b42
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___save_file_path_is_empty.
call fcn.00427dfb
pop ecx
pop ecx
jmp 0x432b42
cmp dword [0x550334], ebx
je 0x432eac
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___end_event_is_invalid.
mov ecx, dword [0x550334]
call fcn.00427dfb
pop ecx
pop ecx
xor al, al
call fcn.004da0d4
ret 0x10