Function at 0x528985
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575b11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x18]
call fcn.00401420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401420
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.00561ff7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00529060
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.0056249c
push eax
call fcn.0054c7e0
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.005624eb
mov ecx, dword [ebp + 0x10]
call fcn.00528130
and eax, 0xff
test eax, eax
jne 0x528abc
mov ecx, dword [ebp + 0x10]
call fcn.00529070
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x10]
call fcn.00529090
push eax
call sub.WSOCK32.dll_ntohs
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x1c]
call fcn.00401420
mov byte [ebp - 4], 2
movsx ecx, word [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
xor eax, eax
mov al, byte [edx + 3]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [eax + 1]
push ecx
mov edx, dword [ebp - 0x20]
xor eax, eax
mov al, byte [edx]
push eax
push str._u._u._u._u___d__
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0055f827
add esp, 0x1c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0056229b
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x18]
call fcn.005621a5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.0056206c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0056206c
lea ecx, [ebp - 0x18]
call fcn.005287a0
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.00528d4a
lea ecx, [ebp - 0x18]
call fcn.00401440
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x528d1f
lea ecx, [ebp - 0x2c]
call fcn.00401420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00401420
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00401420
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00401420
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x18]
call fcn.00401440
push eax
lea ecx, [ebp - 0x18]
call fcn.0056249c
push eax
call fcn.004b74bd
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x2c]
call fcn.005621a5
push 0x685894
lea ecx, [ebp - 0x14]
call fcn.005621f5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00562484
lea ecx, [ebp - 0x14]
call fcn.005287a0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.005621a5
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x38]
call fcn.005621a5
push 0x20
lea ecx, [ebp - 0x14]
call fcn.00562533
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x528cd5
lea ecx, [ebp - 0x3c]
call fcn.00401440
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0055f0c6
push 0
push str.START_TEST
lea ecx, [ebp - 0x3c]
call fcn.0055f4af
test eax, eax
jl 0x528c5e
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00561de1
mov byte [ebp - 4], 8
push 0x20
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.0054bf90
add esp, 0xc
mov eax, dword [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x64]
call fcn.0055f0c6
lea ecx, [ebp - 0x64]
call fcn.005287a0
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0054be90
add esp, 8
mov dword [ebp - 0x40], 1
jmp 0x528c19
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x11
jae 0x528c44
mov eax, dword [ebp - 0x40]
movsx ecx, byte [ebp + eax - 0x60]
cmp ecx, 0x31
jne 0x528c38
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x5e9180], 1
jmp 0x528c42
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x5e9180], 0
jmp 0x528c10
push 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.0055f0c6
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.0056206c
jmp 0x528cd5
push 0
push str.DOWNLOADINI
lea ecx, [ebp - 0x3c]
call fcn.0055f4af
test eax, eax
jge 0x528c84
push 0
push str.AUTO_DOWNLOAD
lea ecx, [ebp - 0x3c]
call fcn.0055f4af
test eax, eax
jl 0x528ca3
mov ecx, dword [ebp - 0x30]
add ecx, 1
push ecx
push 0
lea ecx, [ebp - 0x38]
call fcn.0055f0c6
push 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.0055f0c6
jmp 0x528cd5
push 0
push 0x5cb040
lea ecx, [ebp - 0x38]
call fcn.0055f4af
test eax, eax
jl 0x528cd5
push 0
push 0x5cb044
lea ecx, [ebp - 0x38]
call fcn.0055f4af
test eax, eax
jle 0x528cd5
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x3c]
call fcn.005621a5
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x432
mov edx, dword [0x5e8c30]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.0056206c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.0056206c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.0056206c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0056206c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0056206c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0056206c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc