Function at 0x12f0da50
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1306a64c
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x9dc
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x12f0da8e
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x9dc]
mov dword fs:[0], ecx
add esp, 0x9e8
ret
cmp dword [0x131c4548], ebx
jne 0x12f0daae
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x9dc]
mov dword fs:[0], ecx
add esp, 0x9e8
ret
cmp dword [0x131c3560], ebx
jne 0x12f0dada
mov ecx, 0x131c13e0
call fcn.12ed63a0
test eax, eax
jne 0x12f0dada
pop ebx
mov ecx, dword [esp + 0x9dc]
mov dword fs:[0], ecx
add esp, 0x9e8
ret
push ebp
push esi
push edi
mov ecx, 0x1db
xor eax, eax
lea edi, [esp + 0x280]
mov dword [esp + 0x27c], ebx
push 1
rep stosd dword es:[edi], eax
push 0x131987a4
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
xor ebp, ebp
call fcn.12f56170
mov edi, dword [esp + 0x9fc]
lea eax, [esp + 0x27c]
push eax
push edi
mov ecx, 0x13198788
mov dword [esp + 0x9fc], ebx
call fcn.12d9f870
mov esi, eax
mov eax, dword [0x13199068]
cmp eax, ebx
je 0x12f0db7b
mov ecx, dword [esp + 0xa04]
mov edx, dword [esp + 0xa00]
push ecx
push edx
call fcn.12f036d0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x12f0deb7
cmp dword [0x13199068], ebx
je 0x12f0db7b
push ebp
push esi
push edi
push str.CUploadCtrl::UCsend__1__08x__d__S
push str.TUploadCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
cmp esi, ebx
jne 0x12f0dd7f
push 1
push 0x131987e4
lea ecx, [esp + 0x34]
call fcn.12f56170
mov byte [esp + 0x9f4], 1
mov ecx, 0x86
xor eax, eax
lea edi, [esp + 0x64]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x9fc]
lea eax, [esp + 0x5c]
push eax
push edi
mov ecx, 0x131987c8
call fcn.12da0440
test eax, eax
je 0x12f0dd46
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov esi, 1
push ecx
push edx
mov ecx, 0x131987c8
mov dword [esp + 0x40], esi
call fcn.12da0220
cmp dword [esp + 0x70], esi
jne 0x12f0dea7
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x2a4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x288], edx
mov dword [esp + 0x2b4], eax
lea edx, [esp + 0x74]
mov dword [esp + 0x2a8], ecx
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x2bc]
push edx
push eax
mov dword [esp + 0x284], edi
mov dword [esp + 0x2a0], esi
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x288], esi
mov dword [esp + 0x294], ebx
mov dword [esp + 0x2c0], ecx
mov dword [esp + 0x2a4], 2
mov dword [esp + 0x28c], esi
mov dword [esp + 0x298], ebx
call fcn.12f5c95f
xor ecx, ecx
add esp, 8
mov dword [esp + 0x4e], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x52], ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x56], ecx
push edx
mov word [esp + 0x5e], cx
mov ecx, dword [esp + 0x280]
mov esi, 0x10
push eax
push ecx
mov dword [esp + 0x20], esi
mov word [esp + 0x58], bx
xor edi, edi
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x12f0dccb
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edi, eax
xor eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3e], eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x42], eax
push ecx
mov dword [esp + 0x4a], eax
push edx
mov word [esp + 0x52], ax
mov eax, dword [esp + 0x284]
mov dword [esp + 0x9dc], edi
mov dword [esp + 0x1c], esi
push eax
mov word [esp + 0x9e4], 0x15
mov word [esp + 0x48], bx
xor edi, edi
xor esi, esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x12f0dd33
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
mov edx, dword [esp + 0x3e]
mov edi, eax
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
mov esi, eax
mov word [esp + 0x9e0], si
mov esi, dword [esp + 0x38]
mov dword [esp + 0x9dc], edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9f4], bl
call fcn.12f561d0
cmp esi, ebx
jne 0x12f0dd7f
mov esi, dword [esp + 0x9fc]
mov ecx, 0x13198788
push esi
call fcn.12d9eec0
lea eax, [esp + 0x27c]
mov ecx, 0x13198788
push eax
push esi
call fcn.12d9f870
mov eax, dword [esp + 0x288]
mov edi, 3
cmp eax, edi
jne 0x12f0ddce
cmp ebp, ebx
jne 0x12f0ddb5
mov ecx, dword [esp + 0xa04]
mov edx, dword [esp + 0xa00]
push ecx
push edx
call fcn.12f036d0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x12f0deb7
mov ecx, dword [esp + 0xa04]
lea eax, [esp + 0x27c]
push eax
push ecx
push ebp
call fcn.12e65240
add esp, 0xc
mov ecx, dword [esp + 0x288]
mov eax, 2
cmp ecx, eax
jne 0x12f0ddea
cmp dword [0x13199e48], eax
je 0x12f0df21
mov ecx, dword [esp + 0xa04]
lea edx, [esp + 0x28]
lea eax, [esp + 0x27c]
push edx
mov edx, dword [esp + 0xa04]
push eax
push ecx
push edx
mov dword [esp + 0x38], ebx
call fcn.12f0d770
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp ecx, ebx
mov dword [esp + 0x10], eax
jne 0x12f0decb
cmp eax, ebx
jne 0x12f0deb7
mov eax, dword [esp + 0x288]
push eax
call fcn.12d81010
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x12f0df21
cmp ebp, ebx
jne 0x12f0de67
mov ecx, dword [esp + 0xa04]
mov edx, dword [esp + 0xa00]
push ecx
push edx
call fcn.12f036d0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x12f0deb7
mov edx, dword [esp + 0xa04]
mov eax, dword [esi]
lea ecx, [esp + 0x27c]
push ecx
mov ecx, dword [esp + 0xa00]
push edx
push ebp
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x14], eax
call dword [edx]
mov dword [esp + 0x9f4], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x12f0dfa1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9f4], bl
call fcn.12f561d0
mov dword [esp + 0x9f4], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x12f0dfa1
cmp dword [0x13199068], ebx
je 0x12f0dee7
push str.CUploadCtrl::UCsend__vpn_Connect
push str.TUploadCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
push 1
push 0x131987a4
lea ecx, [esp + 0x34]
call fcn.12f56170
lea eax, [esp + 0x27c]
mov ecx, 0x13198788
push eax
mov byte [esp + 0x9f8], 2
call fcn.12d9f520
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9f4], bl
call fcn.12f561d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x9f4], 0xffffffff
call fcn.12f561d0
mov eax, dword [esp + 0xa04]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x27c]
push ecx
mov ecx, dword [esp + 0xa00]
push edx
push eax
push ebx
push ecx
mov ecx, 0x131b689c
call fcn.12e5af40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x12f0dfa6
push 1
push 0x131987a4
lea ecx, [esp + 0x34]
call fcn.12f56170
lea edx, [esp + 0x27c]
mov ecx, 0x13198788
push edx
mov dword [esp + 0x9f8], edi
call fcn.12d9f520
mov dword [esp + 0x9f4], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.12f561d0
cmp dword [0x13199068], ebx
je 0x12f0dfc7
mov eax, dword [esp + 0x10]
push eax
push str.CUploadCtrl::UCsend__2__d
push str.TUploadCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp ebp, ebx
je 0x12f0dfdd
cmp ebp, dword [esp + 0xa00]
je 0x12f0dfdd
push ebp
call fcn.12f5c050
add esp, 4
mov ecx, dword [esp + 0x9ec]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9e8
ret