Function at 0x402190
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5c
push edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x1fc], eax
call fcn.00409f07
mov esi, eax
add esp, 8
test esi, esi
jne 0x4021cd
mov esi, edi
jmp 0x4021ce
inc esi
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call ebx
push str.ClientServicesServlet
push esi
call fcn.00409317
add esp, 8
test eax, eax
je 0x402203
push str.OK__read_URL_from_history_cache
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409472
mov esp, ebp
pop ebp
ret
push str..exe
push esi
call fcn.00409317
add esp, 8
test eax, eax
je 0x402507
push 0x28
mov byte [eax], 0
call fcn.00409a19
mov ebx, eax
push 0x41793c
push esi
mov dword [ebp - 0x204], ebx
call fcn.0040934f
add esp, 0xc
xor esi, esi
test eax, eax
je 0x4024d3
cmp esi, 0xa
jge 0x40225f
push 0x41793c
push 0
mov dword [ebx + esi*4], eax
call fcn.0040934f
add esp, 8
inc esi
test eax, eax
jne 0x402243
cmp esi, 1
jle 0x4024d3
mov ecx, dword [ebx + esi*4 - 4]
cmp byte [ecx], 0x24
jne 0x40229b
mov edx, dword [str.https:__]
mov edi, dword [ebp - 0x1fc]
mov dword [edi], edx
mov eax, dword [0x417934]
mov dword [edi + 4], eax
mov cl, byte [0x417938]
add esi, 0xfffffffe
mov byte [edi + 8], cl
mov dword [ebp - 0x208], esi
jmp 0x4022bb
mov eax, dword [ebp - 0x1fc]
mov edx, dword [str.http:__]
mov dword [eax], edx
mov ecx, dword [0x41792c]
dec esi
mov dword [ebp - 0x208], esi
mov dword [eax + 4], ecx
mov edi, eax
cmp esi, 1
jge 0x4022df
push ebx
call fcn.0040a0ba
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409472
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + esi*4 - 4]
push eax
mov dword [ebp - 0x20c], 0xffffffff
call fcn.00409f34
add esp, 4
test eax, eax
jle 0x4024a0
cmp esi, 5
jne 0x40248e
mov edx, dword [ebx + 0xc]
push edx
call fcn.00409f34
add esp, 4
test eax, eax
jle 0x40248e
push str.OK__found_dotted_IP
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x200], 4
mov ebx, dword [ebx + 4]
push 0x417910
push ebx
call fcn.0040934f
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402343
sub eax, ecx
mov esi, ecx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402350
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov ebx, 2
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x200], ebx
jl 0x4023d1
mov eax, dword [ebp - 0x1fc]
push 1
push 0x41793c
push eax
call fcn.004090e6
mov ecx, dword [ebp - 0x204]
mov eax, dword [ecx + ebx*4]
push 0x417910
push eax
call fcn.0040934f
add esp, 0x14
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4023a0
mov edi, dword [ebp - 0x1fc]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4023b2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
cmp ebx, dword [ebp - 0x200]
jle 0x402373
mov esi, dword [ebp - 0x20c]
mov ebx, dword [ebp - 0x1fc]
test esi, esi
jle 0x402429
push 1
push 0x41790c
push ebx
call fcn.004090e6
mov edx, dword [ebp - 0x204]
mov eax, dword [edx + esi*4]
push 0x417910
push eax
call fcn.0040934f
add esp, 0x14
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402407
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402413
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push 0x417908
push ebx
call fcn.004090e6
mov ecx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x208]
mov eax, dword [ecx + eax*4]
push 0x417910
push eax
call fcn.0040934f
add esp, 0x14
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402455
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402461
mov edx, dword [ebp - 0x204]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0040a0ba
mov edi, dword [ebp - 0x210]
add esp, 4
jmp 0x4024de
lea eax, [esi - 1]
mov dword [ebp - 0x20c], eax
dec eax
mov dword [ebp - 0x200], eax
jmp 0x4024a7
dec esi
mov dword [ebp - 0x200], esi
cmp dword [ebp - 0x200], 1
jge 0x402330
push ebx
call fcn.0040a0ba
add esp, 4
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409472
mov esp, ebp
pop ebp
ret
push str.Cant_find_tokens_in_name_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1fc]
push edi
push eax
lea ecx, [ebp - 0x1f8]
push str.ServerUrl:__s__launcher_file:__s_n
push ecx
call fcn.004093d0
add esp, 0x10
lea edx, [ebp - 0x1f8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00409472
mov esp, ebp
pop ebp
ret