Function at 0x40137e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x10
call fcn.00407113
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x474864
push ebx
add ebx, 4
push ebx
push 8
call fcn.00407113
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
add ebx, 4
push ebx
push 8
call fcn.00407113
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.00406051
pop ebx
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 eax, str.http:__www.afreesms.com_intl_china
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40145e
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4743ff
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.hidden__name_token__value_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0x496288
call fcn.00401faa
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4014af
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4014bf
push ebx
call fcn.00407107
add esp, 4
push 0x474421
push dword [ebp - 0x38]
mov ecx, 2
call fcn.0040131a
add esp, 8
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4014e7
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4014fb
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 1
push 1
push 1
push 1
push 0
push 0x496288
mov eax, str._td__input_type_hidden__name__.___value__.______input_type_hidden__name__.___value__.______input_type_hidden__name__.___value__._______td_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401543
push ebx
call fcn.00407107
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x4017e7
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
push 0x4744bf
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040131a
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4015b1
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4015c5
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 2
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
push 0x474421
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040131a
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40161c
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401630
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 3
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
push 0x4744bf
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040131a
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401687
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40169b
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 4
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
push 0x474421
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040131a
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4016f2
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401706
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 5
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
push 0x4744bf
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040131a
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40175d
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401771
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 6
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
push str._3C_2Fq_3E_3C_2Fxjxquery_3E
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.0040131a
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4017c8
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4017dc
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
pop eax
pop ecx
jmp 0x401553
add esp, 8
push dword [ebp - 0x10]
push dword [ebp - 8]
mov ecx, 2
call fcn.0040131a
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401814
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 1
push 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 0xc]
call fcn.0040228b
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40184a
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.00401376
push VariantClear
push 0
push 0x4744df
push VariantClear
push 0
push 0x4744e3
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40188f
mov eax, 0x4743b4
push eax
push 6
mov ebx, 0x407b00
call fcn.0040710d
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4018b9
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push str._26token_3D
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._26msgLen_3D149_26imgcode_3D
push dword [ebp - 0x18]
push str._26message_3D
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.xajaxprocessMsgxajaxr1359212479343xajaxargs___3Cxjxquery_3E_3Cq_3Ecountrycode_3D86_26smsto_3D
mov ecx, 8
call fcn.0040131a
add esp, 0x20
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401905
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, str.Accept:___r_nAccept_Language:_zh_cn_r_nReferer:_http:__www.afreesms.com_intl_china_r_nmethod:_POST_http:__www.afreesms.com_intl_china_HTTP_1.1_r_nContent_Type:_application_x_www_form_urlencoded_r_nAccept_Encoding:_gzip__deflate_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_5.1__Trident_4.0__.NET_CLR_2.0.50727__r_nHost:_www.afreesms.com_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
push 0x49628c
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00402d13
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401994
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4019a4
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4019b4
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4019c4
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4019d4
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4019e4
push ebx
call fcn.00407107
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4019f7
mov eax, 0x474705
push eax
push 1
mov ebx, 0x4080c0
call fcn.0040710d
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401a1d
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401a31
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Your__span_class_highlight__Message__span__is
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401a66
mov eax, 0x4743b4
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401ac0
call fcn.00405537
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x47473c
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x401eed
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Invalid__span_class_highlight__Verification
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401af1
mov eax, 0x4743b4
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401b4b
call fcn.00405537
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x474781
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x401eed
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.window.location
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401b7c
mov eax, 0x4743b4
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401eb3
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4747a7
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, str.CDATA_window.location___
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401faa
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401be8
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401bf8
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401c0c
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push str.http:__www.afreesms.com
mov ecx, 2
call fcn.0040131a
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401c3c
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00402d13
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401cd7
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401ce7
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401cf7
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401d07
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401d17
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401d27
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401d37
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401d47
push ebx
call fcn.00407107
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x401d5a
mov eax, 0x474705
push eax
push 1
mov ebx, 0x4080c0
call fcn.0040710d
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401d80
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401d94
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Your_message_could_not_be_delivered_at_this_time
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401dc9
mov eax, 0x4743b4
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401e23
call fcn.00405537
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x47480f
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x401eed
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push VariantClear
push 0
push str.Date_Sent
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401e54
mov eax, 0x4743b4
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401eae
call fcn.00405537
push 0
push 0
push 0
push 0x80000301
push 0
push 0x40
push VariantClear
push 0
push 0x474833
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x401eed
jmp 0x401eed
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x474843
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
call fcn.00405537
jmp 0x401eed
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401efd
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f0d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401f2d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401f3d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401f4d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401f5d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401f6d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f7d
push ebx
call fcn.00407107
add esp, 4
mov esp, ebp
pop ebp
ret 0x10