Function at 0x4b0910
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x53273c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov eax, dword [edi + 0x10]
mov dword [0x544ab0], eax
mov dword [0x544ab4], 1
mov dword [0x544aac], 0
mov eax, dword [edi + 4]
mov ebx, eax
test eax, eax
jne 0x4b095d
mov dword [0x544aac], 4
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push ecx
push 0x544aac
push 0
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x4b0b2f
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x4b0b2c
mov ecx, dword [ebp - 0x38]
mov eax, dword [edi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x10]
push eax
mov dword [ecx + 8], eax
push dword [edi + 0x18]
push esi
call fcn.004cfba0
add esp, 0xc
test ebx, ebx
je 0x4b0a8e
cmp dword [edi + 4], 2
lea esi, [ebp - 0x2c]
mov edx, dword [edi + 0x18]
jne 0x4b0a06
movzx eax, byte [edx + 4]
lea edi, [edx + 4]
push eax
push 0x4fcca4
mov eax, esi
lea ebx, [edi + 4]
push 0x28
push eax
call fcn.004085b0
inc edi
add esp, 0x10
add esi, eax
cmp edi, ebx
jae 0x4b0a79
mov byte [esi], 0x2e
inc esi
movzx eax, byte [edi]
push eax
lea eax, [ebp - 4]
push 0x4fcca4
sub eax, esi
push eax
push esi
call fcn.004085b0
inc edi
add esp, 0x10
add esi, eax
cmp edi, ebx
jb 0x4b09e1
jmp 0x4b0a79
lea eax, [edx + 8]
xor edi, edi
add edx, 0x18
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], edi
xor ebx, ebx
cmp byte [eax], 0
jne 0x4b0a49
cmp byte [eax + 1], 0
jne 0x4b0a49
mov edi, eax
add eax, 2
cmp eax, edx
jae 0x4b0a35
cmp byte [eax], 0
jne 0x4b0a35
cmp byte [eax + 1], 0
je 0x4b0a23
mov ecx, eax
sub ecx, edi
cmp ecx, 2
jle 0x4b0a4e
cmp ebx, ecx
jge 0x4b0a4e
mov dword [ebp - 0x30], edi
mov ebx, ecx
jmp 0x4b0a51
add eax, 2
jmp 0x4b0a51
mov edi, dword [ebp - 0x30]
cmp eax, edx
jb 0x4b0a16
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
nop word [eax + eax]
cmp eax, edi
jne 0x4b0aa8
cmp eax, ecx
jne 0x4b0a6c
mov byte [esi], 0x3a
inc esi
mov byte [esi], 0x3a
add eax, ebx
inc esi
cmp eax, edx
jb 0x4b0a60
mov byte [esi], 0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004b01a0
mov ecx, dword [ebp - 0x38]
add esp, 8
mov edi, dword [ebp - 0x34]
mov dword [ecx], eax
push edi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax]
lea edi, [eax + 1]
test ecx, ecx
je 0x4b0af1
mov eax, ecx
shr eax, 4
test eax, eax
je 0x4b0ac4
mov al, byte [eax + str.0123456789ABCDEFMaintenance_expires_with_version]
mov byte [esi], al
inc esi
and ecx, 0xf
movzx eax, byte [ecx + str.0123456789ABCDEFMaintenance_expires_with_version]
mov byte [esi], al
movzx ecx, byte [edi]
mov eax, ecx
shr eax, 4
movzx eax, byte [eax + str.0123456789ABCDEFMaintenance_expires_with_version]
mov byte [esi + 1], al
add esi, 2
and ecx, 0xf
movzx eax, byte [ecx + str.0123456789ABCDEFMaintenance_expires_with_version]
jmp 0x4b0b0f
movzx ecx, byte [edi]
mov eax, ecx
shr eax, 4
test eax, eax
je 0x4b0b06
mov al, byte [eax + str.0123456789ABCDEFMaintenance_expires_with_version]
mov byte [esi], al
inc esi
and ecx, 0xf
mov al, byte [ecx + str.0123456789ABCDEFMaintenance_expires_with_version]
mov byte [esi], al
lea eax, [edi + 1]
inc esi
cmp eax, edx
jae 0x4b0a76
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov byte [esi], 0x3a
inc esi
jmp 0x4b0a60
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov eax, 1
mov dword [edi], 0x531f10
xor ecx, ebp
mov dword [edi + 0x10], 2
pop edi
pop esi
pop ebx
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret