Function at 0x418550
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0xd04
mov al, byte [0x4325fc]
push ebx
push esi
push edi
mov byte [esp + 0x140], al
mov ecx, 0x2f3
xor eax, eax
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xc
mov esi, str.http:__www.leverit_server.com_dlic_GetNounce.aspx
lea edi, [esp + 0x14]
mov edx, dword [esp + 0xd18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x46]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xd14]
push ebx
push ebx
push ebx
push ebx
mov byte [ecx], bl
push str.InetURL_1.0
mov dword [esp + 0x20], ebx
stosw word es:[edi], ax
mov byte [edx], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
cmp esi, ebx
jne 0x4185d2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xd04
ret
mov eax, dword [esp + 0xd20]
mov ecx, dword [esp + 0xd1c]
push ebp
push eax
push ecx
lea edx, [esp + 0x20]
push str.http:__www.leverit_server.com_dlic_infipsglob.aspx_COUNT_dEMPRE_d
push edx
call fcn.00418db9
lea eax, [esp + 0x28]
push eax
push str.f0_s
push 2
call fcn.0040d050
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], bl
push ebx
push ebx
push ebx
push ebx
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
cmp edi, ebx
jne 0x41863a
push str._hf1
push 2
call fcn.0040d050
add esp, 8
jmp 0x418661
lea edx, [esp + 0x14]
lea eax, [esp + 0x144]
push edx
push 0xbcf
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x14]
push edi
mov byte [esp + ecx + 0x148], bl
call ebp
push esi
call ebp
lea edx, [esp + 0x144]
push edx
push str.f1_s
push 2
call fcn.0040d050
lea eax, [esp + 0x150]
push str.IN__FO
push eax
call fcn.00419e10
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x418844
push 0x42e44c
push 2
call fcn.0040d050
lea ecx, [esp + 0x14c]
push 0x42ee4c
push ecx
mov byte [esi], bl
call fcn.00419e10
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x418844
push 0x42eed4
push 2
call fcn.0040d050
mov al, byte [esi + 6]
add esi, 6
add esp, 8
cmp al, 0x4f
jne 0x418844
cmp byte [esi + 1], 0x4b
jne 0x418844
push 0x42eed0
push 2
call fcn.0040d050
push 0x42eecc
push esi
mov dword [esp + 0x20], 1
call fcn.00419e10
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x418844
push 0x42eec8
push 2
call fcn.0040d050
add esi, 2
push 0x3d
push esi
call fcn.00418920
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
je 0x418844
push 0x42eec4
push 2
call fcn.0040d050
add esp, 8
mov byte [ebp], bl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x50
jae 0x4187ba
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0xd18]
push 0x3a
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00418920
add esp, 8
test eax, eax
jne 0x4187ba
mov edi, str.:443
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x42eeb8
push 2
call fcn.0040d050
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x50
jae 0x418835
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0xd1c]
push 0x3a
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00418920
add esp, 8
test eax, eax
jne 0x418835
mov edi, str.:443_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x42eeac
push 2
call fcn.0040d050
add esp, 8
push 0x42ee90
push 2
call fcn.0040d050
mov eax, dword [esp + 0x18]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd04
ret