Function at 0x40b507
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
push 0xc
call fcn.00466c0f
add esp, 4
mov dword [ebp - 0x44], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x511369
push ebx
add ebx, 8
push ebx
push 8
call fcn.00466c0f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040ed79
pop ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
call fcn.00404391
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4d0f00
call fcn.00466c33
add esp, 0x28
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b687
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4d0f00
call fcn.00466c33
add esp, 0x28
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40b6e4
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4d0f00
call fcn.00466c33
add esp, 0x28
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b741
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4d0f00
call fcn.00466c33
add esp, 0x28
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b79e
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4d0f00
call fcn.00466c33
add esp, 0x28
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b7fb
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 9
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4d0f00
call fcn.00466c33
add esp, 0x28
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b858
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 2
mov eax, 1
mov ebx, 0x4d1290
call fcn.00466c33
add esp, 0x1c
push 0xffffffffffffffff
push 8
push 0x1605df96
push 0x52010001
call fcn.00466c39
add esp, 0x10
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b8bf
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 1
push 1
call fcn.0040a95c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b8ec
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 1
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0x3e7
jg 0x40ce45
push 0xffffffffffffffff
push 0x12
push 0x1605df94
push 0x52010001
call fcn.00466c39
add esp, 0x10
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jne 0x40b935
jmp 0x40ce45
push 0xffffffffffffffff
push 0x12
push 0x16061eb7
push 0x52010001
call fcn.00466c39
add esp, 0x10
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jne 0x40ba52
push 0x660b2c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0xffffffffffffffff
push 8
push 0x16061ec6
push 0x52010001
call fcn.00466c39
add esp, 0x10
mov dword [ebp - 0x70], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40b99f
mov eax, 0x510a44
push eax
push 1
mov ebx, 0x4679e0
call fcn.00466c27
add esp, 0x10
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40b9cb
push ebx
call fcn.00466c15
add esp, 4
push dword [ebp - 0x74]
call fcn.004048c6
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b9f3
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push 0x510b65
mov ecx, 2
call fcn.00401c29
add esp, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call fcn.00409cab
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40ba43
push ebx
call fcn.00466c15
add esp, 4
push 0x660b2c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
push 0xffffffffffffffff
push 0x12
push 0x16061eb7
push 0x52010001
call fcn.00466c39
add esp, 0x10
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x40ba95
mov eax, 0x510a44
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ba91
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x14]
push str.orderNo
push dword [ebp - 0x10]
push str.https:__www.redcave.com_api_redcave_order_app_order_payOrder_agreementNo
mov ecx, 4
call fcn.00401c29
add esp, 0x10
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40bacf
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 1
push str._r_nsec_ch_ua_mobile:__0_r_nAuthorization:_Basic_YXBwOmFwcF9zZWNyZXQ_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_114.0.0.0_Safari_537.36_r_nsec_ch_ua_platform:__Windows__r_nAccept:___r_nOrigin:_https:__www.redcave.com_r_nSec_Fetch_Site:_same_origin_r_nSec_Fetch_Mode:_cors_r_nSec_Fetch_Dest:_empty_r_nReferer:_https:__www.redcave.com__r_nAccept_Language:_zh_CN_zh_q0.9_r_nCookie:_UM_distinctid188bde3221aa1d_0bd142abdfabd4_26031d51_190140_188bde3221b4d7__CNZZDATA1280701144765176076_1686848552__7C1686899649
push dword [ebp - 0xc]
push str.Host:_www.redcave.com_r_nConnection:_keep_alive_r_nContent_Length:_0_r_nsec_ch_ua:__Not.A_Brand__v_8____Chromium__v_114____Google_Chrome__v_114__r_ncontent_type:_application_json_charsetUTF_8_r_nBlade_Auth:_bearer
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40bb11
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push 0
push dword [ebp - 0x78]
push 8
call fcn.00466c0f
add esp, 4
mov dword [ebp - 0x7c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
mov dword [ebp - 0x84], 0
push 0
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x88], 0
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push 0x1e
push 1
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x8c], 0
push 0
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x90], 0
push 0
push dword [ebp - 0x90]
mov dword [ebp - 0x94], 0
push 0
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x98], 0
push 0
lea eax, [ebp - 0x98]
push eax
push 1
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x9c], 0
push 0
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0xa0], 0
push 0
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa4], 0
push 0
lea eax, [ebp - 0xa4]
push eax
push 1
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
call fcn.00404e57
mov dword [ebp - 0xa8], eax
mov ebx, dword [ebp - 0xa4]
test ebx, ebx
je 0x40bc6c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0xa0]
test ebx, ebx
je 0x40bc7f
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x9c]
test ebx, ebx
je 0x40bc92
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x98]
test ebx, ebx
je 0x40bca5
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x40bcb8
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x40bccb
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x40bcde
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x7c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x46c4e0
call fcn.00466c27
add esp, 0x10
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0xa8]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40bd1b
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004095ff
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40bd79
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40bd8c
push ebx
call fcn.00466c15
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x40bda2
mov eax, 0x510e87
push eax
push 1
mov ebx, 0x468870
call fcn.00466c27
add esp, 0x10
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40bdce
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x80]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40bde5
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
push 0x20
call fcn.00466c0f
add esp, 4
mov dword [ebp - 0x70], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x70]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40be50
push ebx
call fcn.00466c15
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40be64
push ebx
call fcn.00466c15
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40be78
push ebx
call fcn.00466c15
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40be8c
push ebx
call fcn.00466c15
add esp, 4
pop ebx
call fcn.00466c15
add esp, 4
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
push 1
mov eax, 0x510e8f
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40bee2
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40bef9
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
push 1
mov eax, str.code
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40bf38
push ebx
call fcn.00466c15
add esp, 4
lea eax, [ebp - 0x74]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40bf79
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
push 1
mov eax, 0x522c32
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40bfca
push ebx
call fcn.00466c15
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40bfe1
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x84], 0
push 0
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x88], 0
push 0
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x8c], 0
push 0
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x90], 0
push 0
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x94], 0
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x522c37
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
push eax
call fcn.0040a4cf
mov ebx, dword [ebp - 0x98]
test ebx, ebx
je 0x40c0d1
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x94]
test ebx, ebx
je 0x40c0e4
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x90]
test ebx, ebx
je 0x40c0f7
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x40c10a
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x40c11d
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x40c130
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40c143
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40c156
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40c169
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40c17c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c18f
push ebx
call fcn.00466c15
add esp, 4
push 0x511319
push dword [ebp - 0x4c]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40c931
push 0x510a44
push dword [ebp - 0x10]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40c1db
mov eax, 0x522c44
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c1d7
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
push 0x510a44
push dword [ebp - 0x10]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40c37e
cmp dword [0x660b4c], 1
jne 0x40c295
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040cf9d
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jne 0x40c25a
mov eax, 0x522c51
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c237
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
mov eax, 0x522c51
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c251
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x40c295
push 0x522c5a
push dword [ebp - 0x5c]
push 0x522c64
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c291
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
cmp dword [0x660b50], 1
jne 0x40c336
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040edbe
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jne 0x40c2fb
mov eax, 0x522c51
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c2d8
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
mov eax, 0x522c51
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c2f2
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
jmp 0x40c336
push 0x522c5a
push dword [ebp - 0x5c]
push 0x522c64
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c332
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
cmp dword [0x660b4c], 0
jne 0x40c357
cmp dword [0x660b50], 0
jne 0x40c357
mov eax, 1
jmp 0x40c35c
mov eax, 0
test eax, eax
je 0x40c37e
mov eax, 0x522c44
push eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40c37a
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x84], 0
push 0
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x88], 0
push 0
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x8c], 0
push 0
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x90], 0
push 0
lea eax, [ebp - 0x90]
push eax
push 1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 8]
push eax
mov eax, 0x522c70
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040a4cf
mov ebx, dword [ebp - 0x94]
test ebx, ebx
je 0x40c45d
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x90]
test ebx, ebx
je 0x40c470
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x40c483
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x40c496
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x40c4a9
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40c4bc
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40c4cf
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40c4e2
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40c4f5
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c508
push ebx
call fcn.00466c15
add esp, 4
push 0x510a44
push dword [ebp - 0x1c]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40c66b
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0
push 0
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x84], 0
push 0
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x88], 0
push 0
lea eax, [ebp - 0x88]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, 0x522c81
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040b045
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x40c5e6
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x40c5f9
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x40c60c
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x40c61f
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x40c632
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x40c645
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40c658
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c66b
push ebx
call fcn.00466c15
add esp, 4
push dword [ebp - 0x54]
push 0x522c99
push dword [ebp - 8]
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call fcn.00409cab
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c6ba
push ebx
call fcn.00466c15
add esp, 4
lea eax, [ebp - 0x54]
push eax
call fcn.0040fa8e
mov dword [ebp - 0x70], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40c6df
mov eax, 0x510a44
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4d10d0
call fcn.00466c33
add esp, 0x34
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c72f
push ebx
call fcn.00466c15
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40c742
mov eax, 0x510a44
push eax
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4d10d0
call fcn.00466c33
add esp, 0x34
cmp dword [0x660b30], 1
jne 0x40c7ac
push 0x510a44
push dword [ebp - 0x1c]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40c7ac
mov eax, 1
jmp 0x40c7b1
mov eax, 0
test eax, eax
je 0x40c837
push dword [ebp - 0x1c]
push 0x5116ed
push dword [ebp - 0x50]
push 0x522c9b
push dword [ebp - 0x54]
push 0x511618
push dword [ebp - 8]
push 0x510f30
mov ecx, 8
call fcn.00401c29
add esp, 0x20
mov dword [ebp - 0x70], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40c802
mov eax, 0x510a44
push eax
push 0x10025
push 0x16064a35
push 0x52010001
push 2
mov ebx, 0x46ace0
call fcn.00466c27
add esp, 0x1c
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c837
push ebx
call fcn.00466c15
add esp, 4
push 0x660b2c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 0x54]
push eax
call fcn.0040fa8e
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410235
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c87c
push ebx
call fcn.00466c15
add esp, 4
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 0x660b54
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 8]
push eax
mov eax, 0x522ca1
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
call fcn.004108ae
mov ebx, eax
test ebx, ebx
je 0x40c8bd
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c8d0
push ebx
call fcn.00466c15
add esp, 4
push 0x660b2c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x60], 1
push 0x510b63
push dword [ebp - 0x18]
push dword [0x660b58]
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [0x660b58]
test ebx, ebx
je 0x40c921
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [0x660b58], eax
jmp 0x40ce45
push 0x510a44
push dword [ebp - 0x48]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40ca1a
push dword [ebp - 0x40]
push 0x522ca6
push dword [ebp - 8]
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call fcn.00409cab
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40c999
push ebx
call fcn.00466c15
add esp, 4
push dword [ebp - 0x40]
push 0x522cb6
mov ecx, 2
call fcn.00401c29
add esp, 8
mov dword [ebp - 0x70], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40c9ca
mov eax, 0x510a44
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4d10d0
call fcn.00466c33
add esp, 0x34
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40ca1a
push ebx
call fcn.00466c15
add esp, 4
push 0x510a44
push dword [ebp - 0x48]
call fcn.00401004
add esp, 8
cmp eax, 0
je 0x40cb03
push dword [ebp - 0x48]
push 0x522ca6
push dword [ebp - 8]
mov ecx, 3
call fcn.00401c29
add esp, 0xc
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call fcn.00409cab
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40ca82
push ebx
call fcn.00466c15
add esp, 4
push dword [ebp - 0x48]
push 0x522cb6
mov ecx, 2
call fcn.00401c29
add esp, 8
mov dword [ebp - 0x70], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40cab3
mov eax, 0x510a44
push eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4d10d0
call fcn.00466c33
add esp, 0x34
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40cb03
push ebx
call fcn.00466c15
add esp, 4
cmp dword [ebp - 0x28], 1
jne 0x40cb1e
cmp dword [ebp - 0x64], 0
jne 0x40cb1e
mov eax, 1
jmp 0x40cb23
mov eax, 0
test eax, eax
je 0x40cd3e
push 1
push 1
call fcn.0040a95c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40cb54
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov dword [ebp - 0x68], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x40cb6b
mov eax, 0x510a44
push eax
push 1
mov ebx, 0x4679e0
call fcn.00466c27
add esp, 0x10
mov dword [ebp - 0x70], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40cb97
mov eax, 0x510a44
push eax
push 1
mov ebx, 0x467780
call fcn.00466c27
add esp, 0x10
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
fild dword [ebp - 0x70]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fsub qword [ebp - 0x78]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.0040191e
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3c
jle 0x40cd3e
push 0x522cc8
push dword [ebp - 8]
mov ecx, 2
call fcn.00401c29
add esp, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call fcn.00409cab
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40cc38
push ebx
call fcn.00466c15
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push 0x522ce7
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4d10d0
call fcn.00466c33
add esp, 0x34
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
push 1
push 0x64
call fcn.00410646
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0
push 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
mov dword [ebp - 0x84], 0
push 0
push dword [ebp - 0x84]
mov dword [ebp - 0x88], 0
push 0
lea eax, [ebp - 0x88]
push eax
push 1
push dword [ebp + 8]
push 0x414e81
push 0x660b5c
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x64], 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40cd63
mov eax, 0x510a44
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x660b58]
test eax, eax
jne 0x40cd79
mov eax, 0x510a44
push eax
push 4
mov ebx, 0x467550
call fcn.00466c27
add esp, 0x34
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
je 0x40ce3f
push 0x522d08
push dword [ebp - 8]
mov ecx, 2
call fcn.00401c29
add esp, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call fcn.00409cab
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40cdeb
push ebx
call fcn.00466c15
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push 0x522d16
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 0x20004
push 0x16012392
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x4d10d0
call fcn.00466c33
add esp, 0x34
mov dword [ebp - 0x60], 1
jmp 0x40ce45
pop ecx
jmp 0x40b8f9
add esp, 4
call fcn.004095c9
mov eax, dword [ebp - 0x60]
jmp 0x40ce55
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ce66
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ce76
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ce86
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ce96
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40cea6
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40ceb6
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40cec6
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ced6
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40cee6
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40cef6
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40cf06
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40cf16
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40cf26
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x44]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40cf46
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40cf56
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40cf66
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40cf76
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40cf86
push ebx
call fcn.00466c15
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40cf96
push ebx
call fcn.00466c15
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4