Function at 0x404c47
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], 0x477daa
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.004061b8
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 0x404d27
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, 0x47794d
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 0x49a2b8
call fcn.00401e4b
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x404d78
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404d88
push ebx
call fcn.00407107
add esp, 4
push 0x47796f
push dword [ebp - 0x38]
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404db0
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404dc4
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 0x49a2b8
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 0x404e0c
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 0x4050b0
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 0x477a0d
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404e7a
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404e8e
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 0x47796f
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404ee5
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404ef9
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 0x477a0d
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404f50
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404f64
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 0x47796f
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404fbb
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404fcf
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 0x477a0d
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
mov ecx, 3
call fcn.00401090
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405026
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40503a
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.00401090
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405091
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4050a5
push ebx
call fcn.00407107
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
pop eax
pop ecx
jmp 0x404e1c
add esp, 8
push dword [ebp - 0x10]
push dword [ebp - 8]
mov ecx, 2
call fcn.00401090
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4050dd
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.0040584c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405113
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.00401e43
push VariantClear
push 0
push 0x477a2d
push VariantClear
push 0
push 0x477a31
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405158
mov eax, 0x477779
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 0x405182
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.00401090
add esp, 0x20
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4051ce
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 0x49a2bc
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040337c
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40525d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40526d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40527d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40528d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40529d
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4052ad
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 0x4052c0
mov eax, 0x477704
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 0x4052e6
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4052fa
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 0x40532f
mov eax, 0x477779
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x405389
call fcn.004010ec
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x477c82
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x4057b6
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 0x4053ba
mov eax, 0x477779
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x405414
call fcn.004010ec
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x477cc7
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x4057b6
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 0x405445
mov eax, 0x477779
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x40577c
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x477ced
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.00401e4b
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4054b1
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4054c1
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4054d5
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.00401090
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405505
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.0040337c
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4055a0
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4055b0
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4055c0
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4055d0
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4055e0
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4055f0
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405600
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405610
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 0x405623
mov eax, 0x477704
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 0x405649
push ebx
call fcn.00407107
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40565d
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 0x405692
mov eax, 0x477779
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x4056ec
call fcn.004010ec
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x477d55
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x4057b6
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 0x40571d
mov eax, 0x477779
push eax
push 4
mov ebx, 0x407600
call fcn.0040710d
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x405777
call fcn.004010ec
push 0
push 0
push 0
push 0x80000301
push 0
push 0x40
push VariantClear
push 0
push 0x477d79
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
jmp 0x4057b6
jmp 0x4057b6
push 0
push 0
push 0
push 0x80000301
push 0
push 0x10
push VariantClear
push 0
push 0x477d89
push 3
mov ebx, 0x408220
call fcn.0040710d
add esp, 0x28
call fcn.004010ec
jmp 0x4057b6
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4057c6
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4057d6
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 0x4057f6
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405806
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405816
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x405826
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x405836
push ebx
call fcn.00407107
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405846
push ebx
call fcn.00407107
add esp, 4
mov esp, ebp
pop ebp
ret 0x10