Function at 0x432a1d
Capabilities:
Create thread

Disassembly:
push 0x854
mov eax, 0x5084df
call fcn.004da01f
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 0x432df8
cmp eax, 0xffffffff
je 0x432df8
cmp ecx, ebx
je 0x432dce
mov eax, ecx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432a6d
sub eax, esi
sar eax, 1
cmp eax, 1
jb 0x432dce
cmp dword [ebp + 0x10], ebx
jg 0x432ad2
cmp dword [0x550334], ebx
je 0x432aaf
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.00427e2f
add esp, 0xc
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x432e19
cmp eax, 0xffffffff
je 0x432e19
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
jmp 0x432e19
mov eax, edx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432ad7
sub eax, edx
sar eax, 1
jne 0x432b05
cmp dword [0x550334], ebx
je 0x432e19
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___download_url_is_empty.
jmp 0x432e0c
push dword [ebp - 0x850]
lea eax, [edi + 0x3c]
push eax
call fcn.00404350
mov eax, dword [ebp - 0x84c]
cmp eax, ebx
jne 0x432b23
mov eax, 0x52dd10
push eax
lea eax, [edi + 0x40]
push eax
call fcn.00404350
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.004d92e0
mov ecx, dword [ebp - 0x860]
add esp, 0xc
lea esi, [ebp - 0x810]
call fcn.0043101f
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x84c]
push eax
lea edx, [ebp - 0x850]
mov ecx, esi
call fcn.0042a0e3
pop ecx
pop ecx
test al, al
jne 0x432c15
cmp dword [0x550334], ebx
je 0x432bdc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___parse_url_diy_failed_
mov ecx, dword [0x550334]
call fcn.00427e2f
pop ecx
pop ecx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x432bf2
cmp eax, 0xffffffff
je 0x432bf2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x84c]
add eax, 0xfffffff0
call fcn.0040442d
mov eax, dword [ebp - 0x850]
add eax, 0xfffffff0
call fcn.0040442d
mov al, bl
jmp 0x432e1b
lea eax, [ebp - 0x810]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.00404350
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x550334], ebx
je 0x432cbc
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.00404501
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 2
call fcn.00428aca
pop ecx
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x432c85
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [0x550334]
push eax
push str._INFO___d___download_url__s_.
call fcn.00427e2f
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00402566
push ebx
push 1
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], 1
call fcn.0040482f
xor ebx, ebx
inc ebx
call fcn.00432e23
xor ebx, ebx
mov dword [edi + 0x54], eax
cmp eax, ebx
jne 0x432d1e
cmp dword [0x550334], ebx
je 0x432cea
call esi
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___create_download_pub_info_failed_
call fcn.00427e2f
pop ecx
pop ecx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x432d00
cmp eax, 0xffffffff
je 0x432d00
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.004346a9
mov bl, al
jmp 0x432bf2
mov ecx, dword [edi + 0xa0]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x54]
push ebx
xor eax, eax
call fcn.00437400
mov eax, dword [edi + 0x54]
mov dword [eax + 0xc], edi
mov edi, dword [edi + 0x54]
lea eax, [ebp - 0x810]
call fcn.00437796
cmp dword [0x550334], ebx
je 0x432d63
call esi
mov ecx, dword [0x550334]
push eax
push str._INFO___d___create_download_main_thread.
call fcn.00427e2f
pop ecx
pop ecx
mov edi, dword [ebp - 0x85c]
lea eax, [ebp - 0x858]
push eax
push ebx
push edi
push 0x43271d
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 0x432db5
cmp eax, 0xffffffff
je 0x432db5
mov eax, dword [ebp - 0x84c]
add eax, 0xfffffff0
call fcn.0040442d
mov eax, dword [ebp - 0x850]
add eax, 0xfffffff0
call fcn.0040442d
mov al, 1
jmp 0x432e1b
cmp dword [0x550334], ebx
je 0x432bdc
call esi
push eax
push 0x52ddb4
jmp 0x432bcf
cmp dword [0x550334], ebx
je 0x432aaf
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._ERROR___d___save_file_path_is_empty.
call fcn.00427e2f
pop ecx
pop ecx
jmp 0x432aaf
cmp dword [0x550334], ebx
je 0x432e19
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._ERROR___d___end_event_is_invalid.
mov ecx, dword [0x550334]
call fcn.00427e2f
pop ecx
pop ecx
xor al, al
call fcn.004da0a2
ret 0x10