Function at 0x403ca0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451477
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x13a4
call fcn.00442260
mov eax, dword [0x467e60]
xor eax, esp
mov dword [esp + 0x13a0], eax
push ebx
push esi
push edi
mov eax, dword [0x467e60]
xor eax, esp
push eax
lea eax, [esp + 0x13b8]
mov dword fs:[0], eax
mov dword [esp + 0x18], edx
mov ebx, ecx
mov dword [esp + 0x14], ebx
call fcn.00412398
mov esi, eax
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
cmp word [esi], ax
jne 0x403d1c
xor ecx, ecx
jmp 0x403d30
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d21
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x84]
call fcn.004018a0
mov dword [esp + 0x13c0], 0
cmp dword [esp + 0x8c], 0
jne 0x403d5a
xor bl, bl
jmp 0x4040d0
xor eax, eax
mov dword [ebx + 0x210], 1
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
lea ecx, [ebx + 0x84]
mov byte [esp + 0x13c0], 2
call fcn.00412398
mov edx, eax
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
cmp word [edx], ax
jne 0x403dc1
xor ecx, ecx
jmp 0x403dd5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403dc6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.004018a0
sub esp, 8
lea eax, [esp + 0x18]
mov byte [esp + 0x13c8], 3
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], 0x5c
call fcn.00404250
mov esi, eax
cmp esi, 0xffffffff
jne 0x403e1a
push str.MiniDownloadUrlFile_pszFileLocalFullPath
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor bl, bl
jmp 0x404052
lea ebx, [esi + 1]
push ebx
push 0
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x70]
call fcn.00404120
mov edi, eax
lea eax, [esp + 0x34]
cmp eax, edi
je 0x403e6f
cmp dword [esp + 0x48], 8
jb 0x403e4e
push dword [esp + 0x34]
call fcn.0043d6b8
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.00401830
cmp dword [esp + 0xa8], 8
jb 0x403e88
push dword [esp + 0x94]
call fcn.0043d6b8
add esp, 4
mov eax, dword [esp + 0x74]
sub eax, esi
dec eax
push eax
push ebx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x70]
call fcn.00404120
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x403ee0
cmp dword [esp + 0x30], 8
jb 0x403ebf
push dword [esp + 0x1c]
call fcn.0043d6b8
add esp, 4
xor eax, eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00401830
cmp dword [esp + 0xa8], 8
jb 0x403ef9
push dword [esp + 0x94]
call fcn.0043d6b8
add esp, 4
cmp dword [esp + 0x30], 8
lea edx, [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
cmp dword [esp + 0x90], 8
lea esi, [esp + 0x10]
push esi
push edx
lea ecx, [esp + 0x84]
cmovae ecx, dword [esp + 0x84]
push eax
push ecx
call fcn.00403220
mov ecx, dword [0x46abfc]
mov edi, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
add esp, 0x10
cmp eax, ecx
je 0x403f62
nop
mov edx, dword [eax]
cmp edi, dword [edx + 4]
je 0x40410c
add eax, 4
cmp eax, ecx
jne 0x403f50
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
lea edx, [esp + 0xac]
mov ecx, edi
call fcn.00403630
push 0x1f4
mov esi, eax
call ebx
test esi, esi
je 0x403f70
mov eax, dword [esp + 0x14]
push 0
push eax
push 0x5f4
push dword [esp + 0x24]
mov dword [eax + 0x210], 2
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [0x46abfc]
test ecx, ecx
je 0x403fd1
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
test eax, 0xfffffffc
jne 0x403fd1
push ecx
call fcn.004036f0
mov dword [0x46abfc], 0
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
call fcn.004019a0
push 5
push 0x460754
lea ecx, [esp + 0x54]
mov byte [esp + 0x13c8], 4
call fcn.004042f0
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x4c]
cmovae eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x60], 8
mov bl, 1
jb 0x40403b
push dword [esp + 0x4c]
call fcn.0043d6b8
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
cmp dword [esp + 0x78], 8
jb 0x404065
push dword [esp + 0x64]
call fcn.0043d6b8
add esp, 4
xor eax, eax
cmp dword [esp + 0x30], 8
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
jb 0x40408f
push dword [esp + 0x1c]
call fcn.0043d6b8
add esp, 4
xor eax, eax
cmp dword [esp + 0x48], 8
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jb 0x4040b9
push dword [esp + 0x34]
call fcn.0043d6b8
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
cmp dword [esp + 0x90], 8
jb 0x4040e6
push dword [esp + 0x7c]
call fcn.0043d6b8
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x13b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13a0]
xor ecx, esp
call fcn.0043cefb
mov esp, ebp
pop ebp
ret
mov ecx, edx
jmp 0x403f64