Function at 0x1000855c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1001d4da
call fcn.1001cf00
sub esp, 0xc08
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.10007f56
test eax, eax
jne 0x100087a3
lea ebx, [esi + 0x310]
push 2
mov edi, 0x10031e14
push edi
mov ecx, ebx
call fcn.100040ed
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100087aa
mov ecx, ebx
call fcn.100041a7
test eax, eax
jl 0x100085c8
mov ecx, esi
call fcn.1000e895
test al, al
jne 0x100085c8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 2
jmp 0x1000858d
mov ecx, ebx
call fcn.1000444c
cmp eax, 0x191
jne 0x100087a3
mov ebx, dword [esi + 0x314]
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x100087a3
mov ecx, ebx
call fcn.1000383b
test eax, eax
je 0x100087a3
call fcn.1000886e
mov al, byte [0x10031e10]
mov ecx, 0xff
mov byte [ebp - 0x414], al
xor eax, eax
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
stosb byte es:[edi], al
call fcn.1000383b
test eax, eax
je 0x100086db
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov al, byte [0x10031e10]
mov ecx, 0x1ff
mov byte [ebp - 0xc14], al
xor eax, eax
lea edi, [ebp - 0xc13]
push 0x800
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x14]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc14]
push eax
call fcn.10003954
cmp byte [ebp - 0xc14], 0
je 0x100086cb
lea eax, [ebp - 0xc14]
push str.WWW_Authenticate:
push eax
call ebx
pop ecx
test eax, eax
pop ecx
je 0x100086cb
cmp byte [eax], 0
je 0x100086cb
mov edi, 0x100228d0
push edi
push eax
call ebx
pop ecx
test eax, eax
pop ecx
je 0x100086cb
cmp byte [eax], 0
je 0x100086cb
inc eax
mov dword [ebp - 0x10], eax
cmp byte [eax], 0
je 0x100086cb
push edi
push eax
call ebx
pop ecx
test eax, eax
pop ecx
je 0x100086cb
cmp byte [eax], 0
je 0x100086cb
push dword [ebp - 0x10]
and byte [eax], 0
lea eax, [ebp - 0x414]
push 0x100228cc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
call fcn.1000383b
test eax, eax
jne 0x10008631
cmp byte [ebp - 0x414], 0
je 0x100087a3
cmp byte [esi + 0x574], 0
lea edi, [esi + 0x574]
mov ebx, str.HTTP_AUTH
jne 0x1000871f
push 0x1003230c
push 0x100
push edi
lea eax, [ebp - 0x414]
push 0x10031e10
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], 0
je 0x10008731
cmp byte [esi + 0x474], 0
jne 0x10008731
cmp byte [esi + 0x674], 0
je 0x1000878d
lea eax, [ebp - 0x414]
push 0xff
push eax
lea eax, [esi + 0x374]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [esi + 0x473], 0
add esp, 0xc
push esi
push 0x10009062
push dword [0x10022fa0]
push 0x80
push dword [0x10022fa4]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jne 0x10008779
and byte [edi], al
jmp 0x1000878d
push 0x1003230c
lea eax, [ebp - 0x414]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.Authentication_Required
mov ecx, esi
call fcn.1000e882
mov dword [esi + 0x370], 1
xor al, al
jmp 0x1000885f
push str.content_length
mov ecx, ebx
call fcn.100040fa
xor edi, edi
cmp eax, edi
je 0x100087c6
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
jmp 0x100087c8
xor eax, eax
push str.ice_name
mov ecx, ebx
mov dword [esi + 0x358], eax
call fcn.100040fa
cmp eax, edi
je 0x100087f4
cmp dword [esi + 0x38], edi
lea ecx, [esi + 0x30]
jbe 0x100087ee
mov edx, dword [ecx]
mov dword [ecx + 8], edi
and byte [edx], 0
push eax
call fcn.10004aac
cmp dword [0x10031fc8], edi
je 0x1000880e
cmp dword [esi + 0x358], edi
je 0x1000880e
mov dword [esi + 0x364], 1
xor eax, eax
cmp eax, dword [esi + 0x358]
sbb al, al
or dword [esi + 0x360], 0xffffffff
inc al
mov byte [esi + 0x36c], al
cmp dword [0x10031e98], edi
je 0x1000885d
cmp dword [esi + 0x364], edi
jne 0x1000885d
push 0x368
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x10008855
mov ecx, eax
call fcn.100088a7
jmp 0x10008857
xor eax, eax
mov dword [esi + 0x368], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret