Function at 0x43d590
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x2c
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
push ebx
mov ebx, dword [esp + 0x38]
mov ecx, ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
or ebp, 0xffffffff
push edi
mov edi, dword [esp + 0x40]
lea edx, [ecx + 1]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d5d1
sub ecx, edx
cmp ecx, 7
jb 0x43d638
lea eax, [ebx + ecx]
mov dword [esp + 0x14], eax
add eax, 0xfffffffa
push 0x5566ac
push eax
call fcn.0043a000
add esp, 8
test eax, eax
jne 0x43d614
mov eax, dword [esp + 0x14]
add eax, 0xfffffff9
push 0x5566b4
push eax
call fcn.0043a000
add esp, 8
test eax, eax
je 0x43d638
push 0x5566bc
push edi
call fcn.004335f0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00472312
add esp, 0x2c
ret
mov eax, dword [esp + 0x24]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
mov byte [eax + 0x259], 0
cmp dword [edi + 0x84], 0
je 0x43d663
push 2
push 3
push edi
call fcn.0043b150
add esp, 0xc
push esi
push ebx
push edi
call fcn.0043db60
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x43d68e
push ebx
push 0x5566e4
push edi
call fcn.004336c0
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc dword [eax + 0x10]
xor ebp, ebp
cmp dword [edi + 0x84], 0
je 0x43d6a2
push 3
push edi
call fcn.0043b190
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x43d87d
cmp dword [edi + 0x64c], 0
mov dword [esp + 0x14], 0
je 0x43d6f5
push 1
push edi
call fcn.00421b70
push dword [edi + 0x650]
mov eax, dword [edi + 0x64c]
push 0
push dword [edi + 0x920]
call eax
push 0
push edi
mov esi, eax
call fcn.00421b70
add esp, 0x1c
test esi, esi
jne 0x43d622
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push ebx
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x43d738
push esi
push ebx
lea eax, [esp + 0x24]
push eax
push 2
call fcn.00446bb0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43d81f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00472312
add esp, 0x2c
ret
lea eax, [esp + 0x28]
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x43d755
push esi
push ebx
lea eax, [esp + 0x30]
push eax
push 0x17
jmp 0x43d710
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x4d3], 2
jne 0x43d773
push edi
call fcn.0043d030
add esp, 4
test al, al
je 0x43d622
push 0x553b7c
push ebx
call fcn.0043a000
add esp, 8
test eax, eax
jne 0x43d7de
push 0x556708
push ebx
call fcn.0043e150
add esp, 8
test al, al
jne 0x43d7de
cmp byte [esp + 0x4c], al
je 0x43d7b7
cmp byte [edi + 0x6af], al
je 0x43d7b7
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push edi
call fcn.0045ff90
add esp, 0x10
jmp 0x43d7e8
push dword [esp + 0x18]
push edi
call fcn.00468e80
add esp, 8
test al, al
je 0x43d622
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push edi
call fcn.00446e60
add esp, 0x10
jmp 0x43d7e8
push ebx
push esi
call fcn.0043dd10
add esp, 8
mov esi, eax
test esi, esi
jne 0x43d81f
cmp dword [esp + 0x14], eax
je 0x43d87d
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0043d8a0
add esp, 8
test eax, eax
jne 0x43d622
xor ecx, ecx
cmp dword [esp + 0x10], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ebp, ecx
jmp 0x43d87d
cmp dword [edi + 0x84], 0
je 0x43d835
push 2
push 3
push edi
call fcn.0043b150
add esp, 0xc
push dword [esp + 0x20]
push 0
push ebx
push esi
push edi
call fcn.0043cca0
add esp, 0x14
mov dword [esp + 0x10], eax
cmp dword [edi + 0x84], 0
je 0x43d862
push 3
push edi
call fcn.0043b190
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x43d871
push esi
call fcn.00446a30
add esp, 4
jmp 0x43d87d
push eax
push edi
xor ebp, ebp
call fcn.0043df60
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov eax, ebp
mov ecx, dword [esp + 0x30]
pop ebp
pop ebx
xor ecx, esp
call fcn.00472312
add esp, 0x2c
ret