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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1306a55c
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x9dc
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x12f0d9be
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x9dc]
mov dword fs:[0], ecx
add esp, 0x9e8
ret
cmp dword [0x131c4448], ebx
jne 0x12f0d9de
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x9dc]
mov dword fs:[0], ecx
add esp, 0x9e8
ret
cmp dword [0x131c3460], ebx
jne 0x12f0da0a
mov ecx, 0x131c12e0
call fcn.12ed6390
test eax, eax
jne 0x12f0da0a
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 0x131986a4
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
xor ebp, ebp
call fcn.12f560a0
mov edi, dword [esp + 0x9fc]
lea eax, [esp + 0x27c]
push eax
push edi
mov ecx, 0x13198688
mov dword [esp + 0x9fc], ebx
call fcn.12d9f870
mov esi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12f0daab
mov ecx, dword [esp + 0xa04]
mov edx, dword [esp + 0xa00]
push ecx
push edx
call fcn.12f03600
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x12f0dde7
cmp dword [0x13198f68], ebx
je 0x12f0daab
push ebp
push esi
push edi
push 0x13166e64
push str.TUploadCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
cmp esi, ebx
jne 0x12f0dcaf
push 1
push 0x131986e4
lea ecx, [esp + 0x34]
call fcn.12f560a0
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, 0x131986c8
call fcn.12da0440
test eax, eax
je 0x12f0dc76
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov esi, 1
push ecx
push edx
mov ecx, 0x131986c8
mov dword [esp + 0x40], esi
call fcn.12da0220
cmp dword [esp + 0x70], esi
jne 0x12f0ddd7
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.12f5c88f
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 0x12f0dbfb
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 0x12f0dc63
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.12f56100
cmp esi, ebx
jne 0x12f0dcaf
mov esi, dword [esp + 0x9fc]
mov ecx, 0x13198688
push esi
call fcn.12d9eec0
lea eax, [esp + 0x27c]
mov ecx, 0x13198688
push eax
push esi
call fcn.12d9f870
mov eax, dword [esp + 0x288]
mov edi, 3
cmp eax, edi
jne 0x12f0dcfe
cmp ebp, ebx
jne 0x12f0dce5
mov ecx, dword [esp + 0xa04]
mov edx, dword [esp + 0xa00]
push ecx
push edx
call fcn.12f03600
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x12f0dde7
mov ecx, dword [esp + 0xa04]
lea eax, [esp + 0x27c]
push eax
push ecx
push ebp
call fcn.12e65230
add esp, 0xc
mov ecx, dword [esp + 0x288]
mov eax, 2
cmp ecx, eax
jne 0x12f0dd1a
cmp dword [0x13199d48], eax
je 0x12f0de51
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.12f0d6a0
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp ecx, ebx
mov dword [esp + 0x10], eax
jne 0x12f0ddfb
cmp eax, ebx
jne 0x12f0dde7
mov eax, dword [esp + 0x288]
push eax
call fcn.12d81010
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x12f0de51
cmp ebp, ebx
jne 0x12f0dd97
mov ecx, dword [esp + 0xa04]
mov edx, dword [esp + 0xa00]
push ecx
push edx
call fcn.12f03600
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x12f0dde7
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 0x12f0ded1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9f4], bl
call fcn.12f56100
mov dword [esp + 0x9f4], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x12f0ded1
cmp dword [0x13198f68], ebx
je 0x12f0de17
push 0x13166e20
push str.TUploadCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
push 1
push 0x131986a4
lea ecx, [esp + 0x34]
call fcn.12f560a0
lea eax, [esp + 0x27c]
mov ecx, 0x13198688
push eax
mov byte [esp + 0x9f8], 2
call fcn.12d9f520
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9f4], bl
call fcn.12f56100
lea ecx, [esp + 0x18]
mov dword [esp + 0x9f4], 0xffffffff
call fcn.12f56100
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, 0x131b679c
call fcn.12e5af40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x12f0ded6
push 1
push 0x131986a4
lea ecx, [esp + 0x34]
call fcn.12f560a0
lea edx, [esp + 0x27c]
mov ecx, 0x13198688
push edx
mov dword [esp + 0x9f8], edi
call fcn.12d9f520
mov dword [esp + 0x9f4], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.12f56100
cmp dword [0x13198f68], ebx
je 0x12f0def7
mov eax, dword [esp + 0x10]
push eax
push 0x13166dec
push str.TUploadCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp ebp, ebx
je 0x12f0df0d
cmp ebp, dword [esp + 0xa00]
je 0x12f0df0d
push ebp
call fcn.12f5bf80
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