joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4594e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x459546
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x459546
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x459527
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4598d0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x459908
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45a540
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45a589
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45aa00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4917a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045a5b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045a630
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045a630
lea ecx, [esi + 0xc]
call fcn.00480cf2
lea ecx, [esi + 0x10]
call fcn.00480cf2
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045bbc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045bbc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045bbc0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00480d67
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00480d67
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x462dd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x462e1c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x462e1c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x462e06
push eax
call ebp
test ax, ax
jl 0x462e14
inc esi
add edi, 4
cmp esi, 6
jb 0x462df8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00462ad0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x466bd0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x466c30
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x466c30
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x466c30
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x466c30
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x466c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x483181
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4831b9
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.0048120e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004811e6
jmp 0x4831c5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48486f
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 0x4848b1
call fcn.0048a9a4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4848b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4848a8
xor eax, eax
jmp 0x4848b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004848bf
pop edi
pop esi
pop ebx
ret 4

Function at 0x48aed4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48af02
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48af20
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048ae3a
jmp 0x48af20
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48af20
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048ae3a
test edi, edi
mov eax, edi
jne 0x48af0a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401140
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x40e96d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 8]
mov ecx, ebp
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 1
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 2
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 3
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 4
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 5
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 6
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 7
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 8
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 9
call sub.MFC42u.DLL_CString::CString_2
lea edi, [esi + 0x34]
mov byte [esp + 0x1c], 0xa
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_2
lea ebx, [esi + 0x38]
mov byte [esp + 0x1c], 0xb
mov ecx, ebx
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 0xc
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 0xd
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 0xe
test eax, eax
mov dword [esi], 0x410538
je 0x401242
push eax
mov ecx, ebp
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40124d
push eax
jmp 0x401252
push str.MTKK
mov ecx, edi
call sub.MFC42u.DLL_CString::operator_2
push 0x4141bc
mov ecx, ebx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [edi]
push str.MTKK
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
xor edi, edi
add esp, 8
cmp eax, edi
jne 0x4012c0
push str.Meitukankan
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x30]
push 0x80000001
push ecx
call fcn.004067b0
add esp, 0x10
mov edx, dword [esp + 0x28]
mov byte [esp + 0x1c], 0xf
cmp dword [edx - 8], edi
je 0x4012b2
push 0x414140
mov ecx, ebx
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0xe
call sub.MFC42u.DLL_CString::CString
push str.DebugView
push str.SoftwareMeiTuKanKan
push 0x80000001
mov dword [esi + 0x44], edi
call fcn.004066d0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 0x48], eax
mov dword [esi + 4], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x401320
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40ea1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x410538
lea ecx, [esi + 0x40]
mov dword [esp + 0x10], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xb
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4014b0
Capabilities:
Create thread
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40ea60
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004066a0
test eax, eax
jne 0x40157d
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
test eax, eax
je 0x4014fd
mov eax, dword [esp + 0x20]
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
mov ecx, ebp
call fcn.004017c0
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x401510
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x40161b
push esi
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::CString_3
push eax
lea ecx, [esp + 0x24]
push str.gQ
push ecx
mov dword [esp + 0x24], 0
call sub.MFC42u.DLL_operator_1
push 0x4141d0
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x24], 1
call sub.MFC42u.DLL_operator_2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
jmp 0x40161b
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x40161b
cmp word [ebx], 0
je 0x40161b
push 0x1210
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x40161b
mov ecx, 0x484
xor eax, eax
mov edi, esi
push 0x800
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll_wcsncpy]
push ebx
push esi
call edi
mov eax, dword [esp + 0x2c]
push 0x104
lea ecx, [esi + 0x1008]
push eax
push ecx
call edi
mov edx, dword [esp + 0x44]
add esp, 0x18
mov dword [esi + 0x1000], edx
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x1004], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4015f7
mov dword [esi + 0x1004], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x401615
push 0
push 0
push esi
push fcn.004018f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x40161b
push esi
call fcn.004018f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x14
Function at 0x4018f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40eb03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x10], esp
call fcn.0040a300
xor ebx, ebx
lea ecx, [ebp - 0x11c]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
push str.meitukankan
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
call fcn.0040a820
push ebx
lea ecx, [ebp - 0x11c]
call fcn.0040a7f0
mov edi, dword [ebp + 8]
push ebx
push edi
lea ecx, [ebp - 0x11c]
call fcn.0040b2f0
mov esi, eax
mov eax, dword [edi + 0x1004]
cmp eax, ebx
mov dword [ebp - 0x18], esi
je 0x401a40
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString_3
push str._____Succeeded__r_n
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call sub.MFC42u.DLL_operator_2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
jmp 0x401a40
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00401420
add esp, 8
cmp esi, ebx
mov dword [eax + 4], 1
je 0x401a60
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x11c]
call fcn.0040a530
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4028a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40ed50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
mov esi, ecx
push 0
push 0
mov dword [esp + 0x50], 0
call fcn.00401420
add esp, 8
mov edi, eax
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push 0x414300
push eax
push ecx
call sub.MFC42u.DLL_operator_2
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
mov ecx, edi
mov byte [esp + 0x54], 1
call fcn.004014a0
push eax
lea ecx, [esp + 0x30]
call fcn.00406a90
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call sub.MFC42u.DLL_CString::CString_2
push 0x104
lea eax, [esp + 0x14]
push 0x4185c0
push eax
push str.LastUnStat
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 3
call fcn.00406bf0
lea ecx, [esp + 0x18]
push ecx
call sub.MFC42u.DLL_CTime::GetTickCount
lea edx, [esp + 0xc]
push str._Y__m__d
push edx
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CTime::Format_1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x50], 4
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x402a25
test edi, edi
je 0x402a12
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x48], 5
call fcn.00401e10
push eax
mov ecx, esi
call fcn.00401e20
push eax
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42u.DLL_CString::CString_1
mov ecx, esi
call fcn.00402130
push eax
push ecx
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42u.DLL_CString::CString_1
mov ecx, esi
call fcn.00401c80
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x4185b4]
push eax
push ecx
push edx
push str.http:__data.meitu.com_
lea eax, [esp + 0x24]
push str._s_ssoftware_sversion_spartner_sclient_sstartup_s
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
add esp, 0x24
push 0
push 1
push 1
push ecx
push edx
mov ecx, esi
call fcn.004014b0
lea ecx, [esp + 8]
mov byte [esp + 0x48], 4
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push str.LastUnStat
call fcn.00406cb0
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 1
call fcn.00406b80
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x44
ret 4
Function at 0x403450
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x40ef60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push str.MTKK
push eax
mov dword [esp + 0x28], 0
call edi
add esp, 8
test eax, eax
jne 0x4035cd
push 0x4145bc
mov ecx, esi
call fcn.004020b0
push eax
call edi
add esp, 8
test eax, eax
jne 0x4035cd
push str.uniondataauth
push str.SoftwareMeiTuKanKan
push 0x80000001
call fcn.004066d0
add esp, 0xc
test eax, eax
jne 0x4035cd
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_2
push str.SetupDay
push str.SoftwareMeiTuKanKan
lea ecx, [esp + 0x18]
push 0x80000001
push ecx
mov byte [esp + 0x30], 1
call fcn.004067b0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00406fe2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x14]
push edx
call sub.MFC42u.DLL_CTime::GetTickCount
lea eax, [esp + 8]
push str._Y_m_d
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CTime::Format
mov eax, dword [esp + 0xc]
mov byte [esp + 0x20], 3
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4035b1
mov ecx, dword [esp + 8]
mov edx, dword [ecx - 8]
test edx, edx
je 0x4035b1
mov esi, dword [sym.imp.MSVCRT.dll__wtol]
push eax
call esi
mov edx, dword [esp + 0xc]
mov edi, eax
push edx
call esi
add esp, 8
sub eax, edi
je 0x4035b1
cmp eax, 6
ja 0x4035b1
mov eax, dword [esp + 0x28]
push 2
mov edi, dword [eax - 8]
call sub.MFC42u.DLL_operatornew
add esp, 4
test eax, eax
je 0x403586
lea ecx, [edi + 2]
mov esi, eax
mov word [eax], cx
jmp 0x403588
xor esi, esi
mov edx, dword [esp + 0x28]
push edx
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov word [esi + edi*2], 0
push 0
push 0
push esi
push 0x402ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x404000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40f100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x1c]
push ecx
test eax, eax
mov byte [esp + 0x14], 1
mov ecx, esp
je 0x404057
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], esp
push eax
call sub.MFC42u.DLL_CString::CString_1
mov ecx, esi
call fcn.00401c80
push eax
push str.sinasuccess
jmp 0x404072
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], esp
push eax
call sub.MFC42u.DLL_CString::CString_1
mov ecx, esi
call fcn.00401c80
push eax
push str.sinafailure
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xc]
push ecx
push str.http:__data.meitu.com_
push str._sparts.php_software_scontent_sversion_s
push edx
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
add esp, 0x18
push 0
push 1
push 1
push eax
push ecx
mov ecx, esi
call fcn.004014b0
lea ecx, [esp + 4]
mov byte [esp + 0x10], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4047e0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push edi
mov ecx, pe_nt_image_headers32
xor eax, eax
mov edi, 0x418c38
rep stosd dword es:[edi], eax
push 0x280
call esi
add esp, 4
mov ebp, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x280
push eax
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x404832
push ebp
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x14]
push ecx
call esi
add esp, 8
mov ebp, eax
lea edx, [esp + 0x10]
push edx
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x4049bb
test ebp, ebp
je 0x4049c9
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp + 0x10c]
push str.VMware_Virtual
push eax
mov esi, ebp
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 8
test eax, eax
je 0x40488f
mov esi, dword [esi]
test esi, esi
je 0x404919
lea ecx, [esi + 0x10c]
push str.VMware_Virtual
push ecx
call edi
add esp, 8
test eax, eax
jne 0x404870
test esi, esi
je 0x404919
xor edx, edx
xor eax, eax
mov dl, byte [esi + 0x199]
mov al, byte [esi + 0x198]
xor ecx, ecx
push edx
mov cl, byte [esi + 0x197]
push eax
xor edx, edx
push ecx
mov dl, byte [esi + 0x196]
xor eax, eax
mov al, byte [esi + 0x195]
xor ecx, ecx
mov cl, byte [esi + 0x194]
push edx
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X
push 0x20
push 0x418c38
call ebx
add esp, 0x24
mov esi, str.00_00_00_00_00_00
mov eax, 0x418c38
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40490c
test cl, cl
je 0x404908
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40490c
add eax, 2
add esi, 2
test cl, cl
jne 0x4048e8
xor eax, eax
jmp 0x404911
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4049bb
mov ecx, pe_nt_image_headers32
xor eax, eax
mov edi, 0x418c38
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x4049bb
mov ecx, dword [esp + 0x23]
mov edx, dword [esp + 0x22]
mov eax, dword [esp + 0x21]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x24]
and edx, 0xff
and eax, 0xff
push edx
mov edx, dword [esp + 0x27]
and ecx, 0xff
push eax
mov eax, dword [esp + 0x2a]
push ecx
mov ecx, dword [esp + 0x2d]
and edx, 0xff
and eax, 0xff
push edx
mov edx, dword [esp + 0x30]
and ecx, 0xff
push eax
mov eax, dword [esp + 0x32]
push ecx
mov ecx, dword [esp + 0x34]
and edx, 0xff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x34]
and ecx, 0xffff
push eax
push ecx
push edx
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push 0x20
push 0x418c38
call ebx
add esp, 0x38
test ebp, ebp
je 0x4049c9
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x418c38
pop ebx
add esp, 0x18
ret

Function at 0x404c30
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x4185c8
mov eax, edx
mov esi, 8
test al, 1
je 0x404c4c
shr eax, 1
xor eax, 0xedb88320
jmp 0x404c4e
shr eax, 1
dec esi
jne 0x404c3f
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x4189c8
jl 0x404c38
pop esi
ret