Function at 0x10002a20
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013a62
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x15c], ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x160], edi
mov byte [edi], bl
mov ecx, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x15c], 1
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10002a80
sub ecx, esi
mov esi, ecx
mov ecx, edi
call fcn.10002e00
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x148]
movzx edx, word [ebp - 0x14a]
movzx eax, word [ebp - 0x14c]
push ecx
push edx
push eax
lea ecx, [ebp - 0x144]
push str.__02d__02d__02d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x144]
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10002ad5
sub eax, ecx
push eax
lea eax, [ebp - 0x144]
mov ecx, edi
call fcn.10002d20
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov eax, dword [0x1012700c]
mov ecx, 0xe8c260
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x2c], bl
cmp eax, ebx
jne 0x10002b24
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
jmp 0x10002b3a
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov dx, word [eax + 8]
mov word [ebp - 0x18], dx
mov al, byte [eax + 0xa]
mov byte [ebp - 0x16], al
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
movzx edx, word [ecx + 8]
mov word [ebp - 0x18], dx
movzx eax, byte [ecx + 0xa]
mov ecx, dword [0x10127010]
mov byte [ebp - 0x16], al
mov eax, dword [ecx]
mov edx, dword [eax]
mov dword [ebp - 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
movzx edx, word [eax + 8]
mov word [ebp - 0x24], dx
movzx eax, byte [eax + 0xa]
mov byte [ebp - 0x22], al
lea eax, [ebp - 0x20]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002b80
sub eax, edx
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.10002d20
lea eax, [ebp - 0x2c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002ba0
sub eax, edx
cmp eax, ebx
push 1
mov ecx, edi
mov eax, 0x1001673c
jbe 0x10002bd0
call fcn.10002d20
lea eax, [ebp - 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002bc1
sub eax, edx
push eax
lea eax, [ebp - 0x2c]
jmp 0x10002c32
call fcn.10002d20
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push closesocket
push ebx
push ebx
mov esi, eax
push str.http:__icanhazip.com_
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
je 0x10002c1f
lea ecx, [ebp - 0x158]
push ecx
push 0xf
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x158]
push esi
mov byte [ebp + eax - 0x3c], bl
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002c25
sub eax, edx
push eax
lea eax, [ebp - 0x3c]
mov ecx, edi
call fcn.10002d20
push 5
mov eax, str._.jpg
mov ecx, edi
call fcn.10002d20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10012a74
mov esp, ebp
pop ebp
ret 4