Function at 0x405b90
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x466007
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov eax, dword [0x47b790]
mov edi, ecx
lea esi, [esp + 0x38]
mov dword [esp + 0x14], edi
call fcn.00403450
xor ebp, ebp
push eax
mov ebx, str.InstallScript.XML
lea esi, [esp + 0x20]
mov dword [esp + 0x2a4], ebp
call fcn.004026f0
add esp, 4
push 0xffffffffffffffff
lea esi, [edi + 0x3c]
push ebp
mov ecx, esi
mov byte [esp + 0x2a8], 1
call fcn.00401110
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x405c27
mov eax, dword [esp + 0x20]
push eax
call fcn.0044ec2b
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
jb 0x405c4b
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0044ec2b
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x469ff8
call ebx
cmp dword [esi + 0x18], edi
jb 0x405c62
mov esi, dword [esi + 4]
jmp 0x405c65
add esi, 4
push esi
call ebx
push 0x206
lea edx, [esp + 0x92]
push ebp
push edx
mov word [esp + 0x98], bp
call fcn.00452a60
mov eax, dword [0x47b790]
mov eax, dword [eax + 8]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x90]
push ecx
push 0x69
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 7
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
mov ebx, 2
lea eax, [esp + 0x8c]
mov dword [esp + 0x2a0], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
cmp cx, bp
jne 0x405cd2
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
lea esi, [esp + 0x78]
call fcn.00401070
mov eax, dword [esp + 0x84]
push 0x469ffc
mov ecx, esi
call fcn.00401de0
test eax, eax
jne 0x405db1
mov eax, dword [0x47b790]
lea esi, [esp + 0x38]
call fcn.00403480
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x2a8], 3
call fcn.00401110
mov edi, 8
mov byte [esp + 0x2a0], bl
cmp dword [esp + 0x50], edi
jb 0x405d4e
mov eax, dword [esp + 0x3c]
push eax
call fcn.0044ec2b
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x94]
mov word [ecx + 4], bp
call fcn.00401110
lea ecx, [esp + 0x70]
push ecx
call fcn.0040b5a0
add esp, 0x20
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x2a8], 4
call fcn.00401110
mov byte [esp + 0x2a0], bl
cmp dword [esp + 0x6c], edi
jb 0x405db6
mov edx, dword [esp + 0x58]
push edx
call fcn.0044ec2b
add esp, 4
jmp 0x405db6
mov edi, 8
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
lea ecx, [esi + 0xcc]
lea eax, [esp + 0x78]
call fcn.00401110
push esi
call fcn.00406820
test eax, eax
jne 0x405df0
cmp dword [esp + 0x88], edi
jb 0x405dec
mov eax, dword [esp + 0x74]
push eax
call fcn.0044ec2b
add esp, 4
xor eax, eax
jmp 0x405e1d
push str.DOWNLOAD_SUCCESS___________
mov dword [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x88], edi
jb 0x405e18
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0044ec2b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0044eeec
add esp, 0x290
ret