Function at 0x418c3d
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x418c5b
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a8302
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418cbf
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418ccf
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x418d02
push getpeername
push 0
push 0x18a8302
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41941e
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x418d17
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a8307
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418d7b
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418d8b
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x418dbe
push getpeername
push 0
push 0x18a8307
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41941e
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x418dd3
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a830e
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418e37
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418e47
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x418e7a
push getpeername
push 0
push 0x18a830e
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41941e
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x418e8f
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a831a
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418ef3
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418f03
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x418f36
push getpeername
push 0
push 0x18a831a
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41941e
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x418f4b
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a832a
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418faf
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x418fbf
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x418ff2
push getpeername
push 0
push 0x18a832a
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41941e
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x419007
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a8337
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41906b
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41907b
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4190ae
push getpeername
push 0
push 0x18a8337
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41941e
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4190c3
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a834a
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419127
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419137
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x41916a
push getpeername
push 0
push 0x18a834a
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41941e
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41917f
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a8356
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4191e3
push ebx
call fcn.0043cd3a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4191f3
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4192f9
push getpeername
push 0
push 0x18a835f
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 4], eax
push getpeername
push 0
push 0x18a835f
push 1
mov ebx, 0x43d510
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x51308c
push getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x419270
mov eax, 0x4fc5c3
push eax
push 4
mov ebx, 0x43d8c0
call fcn.0043cd34
add esp, 0x34
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419296
push ebx
call fcn.0043cd3a
add esp, 4
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x512f11]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
call fcn.0040382c
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4192cb
mov eax, 0x4fc5c3
push eax
push 2
mov ebx, 0x43d5b0
call fcn.0043cd34
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4192f1
push ebx
call fcn.0043cd3a
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x41941e
push 0x80000301
push 0
push 6
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41931a
mov eax, 0x4fc5c3
push eax
push 2
mov ebx, 0x43d5b0
call fcn.0043cd34
add esp, 0x1c
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x419343
mov eax, 0x4fc5c3
push eax
push 1
mov ebx, 0x43da70
call fcn.0043cd34
add esp, 0x10
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x419369
push ebx
call fcn.0043cd3a
add esp, 4
push 0x18a8367
push dword [ebp - 8]
call fcn.004060ab
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x419397
push ebx
call fcn.0043cd3a
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x4193ab
mov eax, 4
jmp 0x4193b0
mov eax, 3
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x18a836e
mov ecx, 2
call fcn.00401cc4
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4193e6
mov eax, 0x4fc5c3
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov ebx, 0x43f520
call fcn.0043cd34
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x419416
push ebx
call fcn.0043cd3a
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x41941e
mov esp, ebp
pop ebp
ret 8