Function at 0x407960
Capabilities:
Download url
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428a6b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040e253
mov esi, eax
lea eax, [ebp - 0x34]
push esi
push 0x430f48
push 0x10
push eax
call fcn.00407070
push esi
lea eax, [ebp - 0x34]
push eax
push str.http:__43.198.91.248:8887_gx.txt_abc_snocache_d
lea eax, [ebp - 0x238]
push pe_nt_image_headers32
push eax
call fcn.00407070
add esp, 0x24
lea eax, [ebp - 0x238]
push 0
push 0
push str.gx.txt
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x407c08
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
push 0xb8
lea eax, [ebp - 0x308]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0040b0c0
push str.gx.txt
lea ecx, [ebp - 0x308]
call fcn.00408740
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x308]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2fc], 6
jne 0x407ace
mov eax, dword [ebp + eax - 0x2d0]
lea ecx, [ebp - 0x250]
mov word [ebp - 0x310], 1
test eax, eax
push dword [ebp - 0x310]
sete byte [ebp - 0x318]
mov byte [ebp - 0x317], 0
push 0
push dword [ebp - 0x318]
push eax
call fcn.004089f0
lea ecx, [ebp - 0x2f8]
call fcn.00405af0
test eax, eax
jne 0x407ace
mov eax, dword [ebp - 0x308]
lea ecx, [ebp - 0x308]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402360
cmp dword [ebp - 0x23c], 0xf
lea ecx, [ebp - 0x250]
mov esi, dword [ebp - 0x240]
cmova ecx, dword [ebp - 0x250]
cmp esi, 4
jne 0x407b4d
mov edx, str.1.03
sub esi, esi
jb 0x407b07
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x407b0c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x407af6
cmp esi, 0xfffffffc
je 0x407b40
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x407b39
cmp esi, 0xfffffffd
je 0x407b40
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x407b39
cmp esi, 0xfffffffe
je 0x407b40
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x407b39
cmp esi, 0xffffffff
je 0x407b40
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x407b40
sbb eax, eax
or eax, 1
jmp 0x407b42
xor eax, eax
mov byte [ebp - 0x309], 1
test eax, eax
je 0x407b54
mov byte [ebp - 0x309], 0
mov eax, dword [ebp - 0x308]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x308]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x30c], eax
lea ecx, [ebp - 0x2f8]
call fcn.00404f30
mov eax, dword [ebp - 0x308]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x308]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x30c], eax
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040a0db
mov ecx, dword [ebp - 0x23c]
add esp, 4
cmp ecx, 0xf
jbe 0x407c00
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407bf6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407c27
push ecx
push edx
call fcn.004090af
add esp, 8
mov al, byte [ebp - 0x309]
jmp 0x407c0a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00408e6f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040fc4a
int3