Function at 0x401420
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x10
call fcn.004078c8
add esp, 4
mov dword [ebp - 0x10], 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], 0x474862
push ebx
add ebx, 4
push ebx
push 8
call fcn.004078c8
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.004078c8
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.00406786
pop ebx
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 0x401500
push ebx
call fcn.004078bc
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, 0x474480
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 0x495288
call fcn.00401e2c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401551
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401561
push ebx
call fcn.004078bc
add esp, 4
push 0x4744a2
push dword [ebp - 0x38]
mov ecx, 2
call fcn.004013bc
add esp, 8
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401589
push ebx
call fcn.004078bc
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40159d
push ebx
call fcn.004078bc
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 1
push 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push dword [ebp + 0xc]
call fcn.0040210d
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4015d3
push ebx
call fcn.004078bc
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
mov ebx, 6
call fcn.00401418
push VariantClear
push 0
push 0x4744a6
push VariantClear
push 0
push 0x4744aa
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401618
mov eax, 0x474435
push eax
push 6
mov ebx, 0x4082b0
call fcn.004078c2
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401642
push ebx
call fcn.004078bc
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
push 1
push 1
push 1
push 1
push 0
push 0x495288
mov eax, str._input_typehidden_name__.___value__.______a_href_javascript
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401696
push ebx
call fcn.004078bc
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40173f
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4016f5
push ebx
call fcn.004078bc
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401733
push ebx
call fcn.004078bc
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
pop eax
pop ebx
pop ecx
jmp 0x4016ad
add esp, 0xc
push str._3C_2Fq_3E_3C_2Fxjxquery_3E
push dword [ebp - 0x18]
push 0x47450a
push dword [ebp - 8]
push 0x4744a2
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._26msgLen_3D154_26imgcode_3D
push dword [ebp - 0xc]
push str._26message_3D
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.xajaxprocessMsgxajaxr1364826532250xajaxargs___3Cxjxquery_3E_3Cq_3Ecountrycode_3D86_26smsto_3D
mov ecx, 0xb
call fcn.004013bc
add esp, 0x2c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401797
push ebx
call fcn.004078bc
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 0x49528c
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00402b95
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401826
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401836
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401846
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401856
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401866
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401876
push ebx
call fcn.004078bc
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x401889
mov eax, 0x474722
push eax
push 1
mov ebx, 0x4089a0
call fcn.004078c2
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4018af
push ebx
call fcn.004078bc
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4018c3
push ebx
call fcn.004078bc
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 0x4018f8
mov eax, 0x474435
push eax
push 4
mov ebx, 0x407db0
call fcn.004078c2
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401952
call fcn.00405c6c
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x474759
push 3
mov ebx, 0x408b00
call fcn.004078c2
add esp, 0x28
jmp 0x401d7f
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 0x401983
mov eax, 0x474435
push eax
push 4
mov ebx, 0x407db0
call fcn.004078c2
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x4019dd
call fcn.00405c6c
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x47479a
push 3
mov ebx, 0x408b00
call fcn.004078c2
add esp, 0x28
jmp 0x401d7f
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 0x401a0e
mov eax, 0x474435
push eax
push 4
mov ebx, 0x407db0
call fcn.004078c2
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401d45
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x4747c0
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.00401e2c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401a7a
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401a8a
push ebx
call fcn.004078bc
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401a9e
push ebx
call fcn.004078bc
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.004013bc
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401ace
push ebx
call fcn.004078bc
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.00402b95
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401b69
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401b79
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401b89
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401b99
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401ba9
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401bb9
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401bc9
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401bd9
push ebx
call fcn.004078bc
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x401bec
mov eax, 0x474722
push eax
push 1
mov ebx, 0x4089a0
call fcn.004078c2
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401c12
push ebx
call fcn.004078bc
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401c26
push ebx
call fcn.004078bc
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 0x401c5b
mov eax, 0x474435
push eax
push 4
mov ebx, 0x407db0
call fcn.004078c2
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401cb5
call fcn.00405c6c
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x474828
push 3
mov ebx, 0x408b00
call fcn.004078c2
add esp, 0x28
jmp 0x401d7f
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 0x401ce6
mov eax, 0x474435
push eax
push 4
mov ebx, 0x407db0
call fcn.004078c2
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401d40
call fcn.00405c6c
push 0
push 0
push 0
push 0x80000301
push 0
push 0x40
push VariantClear
push 0
push 0x474848
push 3
mov ebx, 0x408b00
call fcn.004078c2
add esp, 0x28
jmp 0x401d7f
jmp 0x401d7f
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x474851
push 3
mov ebx, 0x408b00
call fcn.004078c2
add esp, 0x28
call fcn.00405c6c
jmp 0x401d7f
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401d8f
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401d9f
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401daf
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401dcf
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401ddf
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401def
push ebx
call fcn.004078bc
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401dff
push ebx
call fcn.004078bc
add esp, 4
mov esp, ebp
pop ebp
ret 0xc