Function at 0x43d7fa
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push ebx
push esi
push edi
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [eax + 4], 0
mov word [eax + 8], 0
mov eax, dword [ebp + 0x1c]
mov byte [eax], 0
mov eax, dword [ebp + 0x20]
mov byte [eax], 0
mov eax, dword [ebp + 0x24]
mov byte [eax], 0
mov eax, dword [ebp + 0x28]
mov byte [eax], 0
cmp dword [0x46209c], 0
jne 0x43d886
jmp 0x43dddb
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xbe
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x108]
push eax
push 5
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [0x46209c]
movzx eax, ax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x43d91b
cmp dword [ebp - 0x108], 0
je 0x43d91b
mov edi, dword [ebp - 0x108]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp + 0x18]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x108]
push eax
call dword [0x4620a0]
jmp 0x43d94e
cmp dword [0x45e03c], 0
je 0x43d94e
mov eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 0xc]
push eax
push str._n_rSessID__d_Get_User_Name_failed___d___x.rc_d
call fcn.00452380
add esp, 0x14
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0x78
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x108]
push eax
push 0xe
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [0x46209c]
movzx eax, ax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xf4], 0x5dfaa0
cmp dword [ebp - 0x110], 0
je 0x43d9c9
cmp dword [ebp - 0x108], 0
jne 0x43d9c9
mov dword [ebp - 0xf4], 0x5acc00
mov dword [ebp - 0x100], 1
cmp dword [ebp - 0x110], 0
je 0x43db47
cmp dword [ebp - 0x108], 0
je 0x43db47
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x1a0], eax
jmp 0x43db11
mov dword [ebp - 0xf4], 0x5acc00
mov dword [ebp - 0x100], 1
jmp 0x43db30
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 9]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 8]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 7]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 6]
push ecx
push 0x47be6c
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x194]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x100], 1
jmp 0x43db30
cmp dword [ebp - 0x104], 9
jbe 0x43db07
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 9]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 8]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 7]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 6]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 5]
push ecx
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
mov cl, byte [eax + 4]
push ecx
push 0x47be90
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp - 0x194]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x100], 1
jmp 0x43db30
cmp dword [ebp - 0x1a0], 0
je 0x43da0e
cmp dword [ebp - 0x1a0], 2
je 0x43da27
jmp 0x43da87
mov eax, dword [ebp - 0x108]
push eax
call dword [0x4620a0]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0x100
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x108]
push eax
push 0xa
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [0x46209c]
movzx eax, ax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x43dbc6
cmp dword [ebp - 0x104], 1
jne 0x43dbc6
mov edi, 0x9854e0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp + 0x14]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43dc4e
cmp dword [ebp - 0x110], 0
je 0x43dc0d
cmp dword [ebp - 0x108], 0
je 0x43dc0d
mov edi, dword [ebp - 0x108]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp + 0x14]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43dc4e
cmp dword [ebp - 0x110], 0
je 0x43dc4e
cmp dword [ebp - 0x108], 0
jne 0x43dc4e
mov edi, 0x9854e0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp + 0x14]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x100], 0
jne 0x43dd26
cmp dword [ebp - 0x110], 0
je 0x43dd26
cmp dword [ebp - 0x108], 0
je 0x43dd26
cmp dword [ebp - 0x104], 1
jbe 0x43dd26
mov eax, dword [ebp - 0x108]
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x43dd0f
mov eax, dword [ebp - 0x198]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
xor eax, eax
mov al, byte [ebp - 0x191]
push eax
xor eax, eax
mov al, byte [ebp - 0x192]
push eax
xor eax, eax
mov al, byte [ebp - 0x193]
push eax
xor eax, eax
mov al, byte [ebp - 0x194]
push eax
push 0x47bec8
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x100], 1
mov eax, dword [ebp - 0x108]
push eax
call dword [0x4620a0]
mov dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0
je 0x43dd40
mov eax, dword [ebp - 0x108]
push eax
call dword [0x4620a0]
mov dword [ebp - 0x108], 0
cmp dword [ebp - 0x100], 0
je 0x43dd8c
cmp dword [ebp - 0xf4], 0
je 0x43dd8c
mov edi, dword [ebp - 0xf4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
mov edi, dword [ebp + 0x10]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x2c], 0
jne 0x43ddb7
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043d4f6
add esp, 0x14
jmp 0x43dddb
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043cfb7
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret