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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40559c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x1d0
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x124], 1
lea ecx, [ebp - 0x170]
mov dword [ebp - 4], 0
call fcn.00401d30
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 1
call fcn.00401ab0
xorps xmm0, xmm0
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x148], edi
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x144], esi
mov byte [ebp - 0x158], 0
push edi
push edi
push edi
push 1
mov byte [ebp - 4], 3
push 0x4063bc
mov dword [ebp - 0x124], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x401ec8
mov dword [ebp - 4], 2
jmp 0x401f78
push 0
push 0x80000000
push 0
push 0
push str.http:__api.ipify.org
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x401f5d
lea eax, [ebp - 0x128]
push eax
push 0xff
lea eax, [ebp - 0x120]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401f52
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x401f52
cmp eax, 0x100
jae 0x402648
lea ecx, [ebp - 0x120]
mov byte [ebp + eax - 0x120], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401f30
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.004038a0
mov esi, dword [ebp - 0x144]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
jmp 0x401f63
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x174]
call edi
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x148]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x160], 0
je 0x402571
cmp dword [ebp - 0x130], 0
je 0x402571
test edi, edi
je 0x402571
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 5
push eax
call dword [sym.imp.mysqlcppconn_9_vs14.dll_void___cdecl_check_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 4
add esp, 4
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x402017
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40200d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40200d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404791
add esp, 8
push 0x40
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
call fcn.00404761
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 6
push eax
call dword [sym.imp.mysqlcppconn_9_vs14.dll__check__YAXABV__map_V__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__V12_U__less_V__b]
mov byte [ebp - 4], 4
add esp, 4
mov eax, dword [ebp - 0x178]
push dword [eax + 4]
lea eax, [ebp - 0x178]
push eax
mov ecx, eax
call fcn.00404140
push 0x40
push dword [ebp - 0x178]
call fcn.00404791
push 0x4062e4
call dword [sym.imp.mysqlcppconn_9_vs14.dll_class_sql::mysql::MySQL_Driver____cdecl_sql::mysql::_get_driver_instance_by_name_char_const__const_]
mov esi, eax
lea ecx, [ebp - 0x1a8]
add esp, 0xc
mov eax, dword [esi]
push str.1234
mov edi, dword [eax + 8]
call fcn.00403560
push str.root
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 7
call fcn.00403560
push str.tcp:__127.0.0.1:3306
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 8
call fcn.00403560
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x1d8]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c0]
push eax
call edi
mov edi, eax
mov dword [ebp - 0x128], edi
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x402150
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402146
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021f0
push ecx
push edx
call fcn.00404791
add esp, 8
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0xf
mov byte [ebp - 0x1c0], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c4]
cmp ecx, 0xf
jbe 0x4021a5
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40219b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4021f0
push ecx
push edx
call fcn.00404791
add esp, 8
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x402200
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4021f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4021f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404791
add esp, 8
mov eax, dword [edi]
lea ecx, [ebp - 0x190]
push str.testtest
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov esi, dword [eax + 0x7c]
mov byte [ebp - 0x1a8], 0
call fcn.00403560
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xe
push eax
mov ecx, edi
call esi
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x40227f
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402275
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402275
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404791
add esp, 8
mov eax, dword [edi]
lea ecx, [ebp - 0x190]
push str.INSERT_INTO_client_ips__mac_address__gpu_id__ip_address__VALUES__________
mov esi, dword [eax + 0x64]
call fcn.00403560
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xf
push eax
mov ecx, edi
call esi
mov esi, eax
mov dword [ebp - 0x124], esi
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0xf
jbe 0x4022eb
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4022e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4022e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404791
add esp, 8
mov eax, dword [esi]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x170]
push eax
call fcn.004012e0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x12
push eax
push 1
mov ecx, esi
call dword [ebp - 0x174]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x40237b
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402371
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402371
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404791
add esp, 8
mov eax, dword [esi]
lea ecx, [ebp - 0x1a8]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x140]
push eax
call fcn.004012e0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x13
push eax
push 2
mov ecx, esi
call dword [ebp - 0x174]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x4023f0
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4023e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404791
add esp, 8
mov eax, dword [esi]
lea ecx, [ebp - 0x1a8]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x158]
push eax
call fcn.004012e0
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x14
push eax
push 3
mov ecx, esi
call dword [ebp - 0x174]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x402465
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40245b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40245b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404791
add esp, 8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
test esi, esi
je 0x40247b
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test edi, edi
je 0x402487
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x144]
cmp ecx, 0xf
jbe 0x4024c1
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4024b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402630
push ecx
push edx
call fcn.00404791
add esp, 8
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x4024fb
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4024f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402630
push ecx
push edx
call fcn.00404791
add esp, 8
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp ecx, 0xf
jbe 0x402550
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402546
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402630
push ecx
push edx
call fcn.00404791
add esp, 8
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00404556
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp esi, 0xf
jbe 0x4025a7
mov edx, dword [ebp - 0x158]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40259d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402630
push ecx
push edx
call fcn.00404791
add esp, 8
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x4025dd
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4025d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402630
push ecx
push edx
call fcn.00404791
add esp, 8
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp ecx, 0xf
jbe 0x402550
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402546
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402546
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ebx, dword [ebp - 0x14]
mov eax, 0x402550
ret
call fcn.00404686
int3