Function at 0x487711
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
push edi
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 2
mov byte [ebp - 0x468], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x467]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x428], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xbfb]
sub ecx, 0x20
mov dword [ebp - 0x418], ecx
cmp dword [0x672ce4], 0
je 0x48778b
mov eax, 1
jmp 0x487d39
mov edx, dword [ebp + 8]
mov dword [edx + 0xc10], 0x36
mov eax, dword [ebp + 8]
mov dword [eax + 0xc18], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc24], 0
push str.Download_MPISP
mov edx, dword [ebp + 8]
add edx, 0x81b
push edx
call fcn.004e894d
add esp, 8
cmp dword [0x56cd4c], 0
jle 0x487827
mov eax, dword [ebp + 8]
cmp dword [eax + 0xef4], 0
je 0x487827
mov ecx, dword [0x56cd4c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x773]
push eax
push 6
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xef4]
call fcn.0040848c
mov edx, dword [ebp + 8]
add edx, 0x81b
push edx
mov eax, dword [0x56cd4c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x773]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xef4]
call fcn.00504bdd
cmp dword [0x673014], 1
je 0x487839
cmp dword [0x672ff8], 0
je 0x48784f
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x232]
push edx
call fcn.004b3a45
add esp, 0xc
mov dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x418]
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x418]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x418]
and eax, 0x8000ffff
jns 0x48789d
dec eax
or eax, 0xffff0000
inc eax
test eax, eax
je 0x4878d6
mov ecx, dword [ebp - 0x428]
add ecx, 1
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x414], 1
mov edx, dword [ebp - 0x418]
and edx, 0x8000ffff
jns 0x4878d0
dec edx
or edx, 0xffff0000
inc edx
mov dword [ebp - 0x208], edx
push 0x200
push 0
lea eax, [ebp - 0x408]
push eax
call fcn.004e8440
add esp, 0xc
push 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xbef]
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x41c], 0
mov ecx, dword [ebp - 0x3ff]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp - 0x400]
and edx, 0xff
shl edx, 0x10
add ecx, edx
mov eax, dword [ebp - 0x401]
and eax, 0xff
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0x402]
and edx, 0xff
add ecx, edx
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp - 0x3ff]
and eax, 0xff
shl eax, 0x18
mov ecx, dword [ebp - 0x400]
and ecx, 0xff
shl ecx, 0x10
add eax, ecx
mov edx, dword [ebp - 0x401]
and edx, 0xff
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0x402]
and ecx, 0xff
add eax, ecx
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x428], 1
jbe 0x487bdd
mov dword [ebp - 0x41c], 0
jmp 0x4879d5
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x428]
jae 0x487bdb
mov ecx, dword [ebp - 0x428]
sub ecx, 1
cmp dword [ebp - 0x41c], ecx
jne 0x487b05
mov edx, dword [ebp - 0x40c]
and edx, 0xff
mov byte [ebp - 0x402], dl
mov eax, dword [ebp - 0x40c]
shr eax, 8
and eax, 0xff
mov byte [ebp - 0x401], al
mov ecx, dword [ebp - 0x40c]
shr ecx, 0x10
and ecx, 0xff
mov byte [ebp - 0x400], cl
mov edx, dword [ebp - 0x40c]
shr edx, 0x18
and edx, 0xff
mov byte [ebp - 0x3ff], dl
cmp dword [ebp - 0x414], 0
je 0x487a91
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xbef]
mov eax, dword [ebp - 0x41c]
shl eax, 6
shl eax, 0xa
lea ecx, [edx + eax + 0x20]
push ecx
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00482cd8
add esp, 0x10
mov dword [ebp - 0x420], eax
jmp 0x487ac9
push 0x10000
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xbef]
mov eax, dword [ebp - 0x41c]
shl eax, 6
shl eax, 0xa
lea ecx, [edx + eax + 0x20]
push ecx
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00482cd8
add esp, 0x10
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x487b00
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc24], 0xb4
mov edx, dword [ebp + 8]
mov dword [edx + 0xc2c], 0xb4
mov eax, dword [ebp + 8]
mov dword [eax + 0xc18], 2
xor eax, eax
jmp 0x487d39
jmp 0x487bc4
mov ecx, dword [ebp - 0x40c]
and ecx, 0xff
mov byte [ebp - 0x402], cl
mov edx, dword [ebp - 0x40c]
shr edx, 8
and edx, 0xff
mov byte [ebp - 0x401], dl
mov eax, dword [ebp - 0x40c]
shr eax, 0x10
and eax, 0xff
mov byte [ebp - 0x400], al
mov ecx, dword [ebp - 0x40c]
shr ecx, 0x18
and ecx, 0xff
mov byte [ebp - 0x3ff], cl
push 0x10000
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xbef]
mov ecx, dword [ebp - 0x41c]
shl ecx, 6
shl ecx, 0xa
lea edx, [eax + ecx + 0x20]
push edx
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00482cd8
add esp, 0x10
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x487bc4
mov edx, dword [ebp + 8]
mov dword [edx + 0xc24], 0xb4
mov eax, dword [ebp + 8]
mov dword [eax + 0xc2c], 0xb4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc18], 3
xor eax, eax
jmp 0x487d39
mov edx, dword [ebp - 0x40c]
add edx, 0x10000
mov dword [ebp - 0x40c], edx
jmp 0x4879c6
jmp 0x487c0d
mov eax, dword [ebp - 0x204]
shl eax, 9
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xbef]
add edx, 0x20
push edx
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00482cd8
add esp, 0x10
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x487c44
mov edx, dword [ebp + 8]
mov dword [edx + 0xc24], 0xb4
mov eax, dword [ebp + 8]
mov dword [eax + 0xc2c], 0xb4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc18], 4
xor eax, eax
jmp 0x487d39
mov byte [ebp - 0x407], 0x28
mov edx, dword [ebp - 0x424]
and edx, 0xff
mov byte [ebp - 0x402], dl
mov eax, dword [ebp - 0x424]
shr eax, 8
and eax, 0xff
mov byte [ebp - 0x401], al
mov ecx, dword [ebp - 0x424]
shr ecx, 0x10
and ecx, 0xff
mov byte [ebp - 0x400], cl
mov edx, dword [ebp - 0x424]
shr edx, 0x18
and edx, 0xff
mov byte [ebp - 0x3ff], dl
push 0x200
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00482cd8
add esp, 0x10
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x487cf4
mov eax, dword [ebp + 8]
mov dword [eax + 0xc24], 0xb5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc2c], 0xb5
mov edx, dword [ebp + 8]
mov dword [edx + 0xc18], 5
xor eax, eax
jmp 0x487d39
push 0x560204
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x673014], 1
je 0x487d11
cmp dword [0x672ff8], 0
je 0x487d27
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x232]
push ecx
call fcn.004b3a45
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0xc2c], 0
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret