joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4152aa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c2d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004138c9
mov dword [ebp - 0x14], eax
cmp dword [0x41ddb4], edi
jne 0x41539b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x415328
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41547b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41547b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41547b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41ddb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41ddb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41ddbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41ddc4], eax
test eax, eax
je 0x415398
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41ddc0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4153c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4153b3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4153d5
push 4
pop eax
jmp 0x41547d
cmp dword [ebp - 0x14], edi
je 0x4153d5
push dword [0x41ddb4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4153ba
mov eax, dword [0x41ddc0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x415433
cmp dword [0x41ddc4], esi
je 0x415433
push eax
call ebx
push dword [0x41ddc4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x415433
test eax, eax
je 0x415433
call ecx
test eax, eax
je 0x415428
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x415428
test byte [ebp - 8], 1
jne 0x415433
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x415463
mov eax, dword [0x41ddb8]
cmp eax, esi
je 0x415460
push eax
call ebx
test eax, eax
je 0x415460
call eax
mov edi, eax
test edi, edi
je 0x415460
mov eax, dword [0x41ddbc]
cmp eax, esi
je 0x415460
push eax
call ebx
test eax, eax
je 0x415460
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41ddb4]
call ebx
test eax, eax
je 0x41547b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41547d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041241e
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x9ef7de1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4e322420
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407d61
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a9398]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00407ca0
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00408550
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x407db0
cmp dword [ebp - 0x1c], 5
jb 0x407dc8
jmp 0x407dc4
cmp dword [ebp - 0x10], 1
jne 0x407dc8
cmp dword [ebp - 0x1c], 4
ja 0x407dc4
jne 0x407dc8
cmp dword [ebp - 0x18], 0
jbe 0x407dc8
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4942fc
call fcn.00407b53
test eax, eax
jge 0x407de9
mov byte [0x4ad798], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040806d
add ebp, 0x78
leave
ret

Function at 0x40806d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9398]
jne 0x408077
repz ret
jmp fcn.0040dda4
Function at 0x40f95b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4a9558]
je 0x40f976
inc edi
cmp edi, 0x17
jb 0x40f967
cmp edi, 0x17
jae 0x40faf6
push ebp
push 3
call fcn.00415a0e
cmp eax, 1
pop ecx
je 0x40fac2
push 3
call fcn.00415a0e
test eax, eax
pop ecx
jne 0x40f9aa
cmp dword [0x4a9390], 1
je 0x40fac2
cmp ebx, 0xfc
je 0x40faf5
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4aadb0
push ebp
call fcn.0040fea5
add esp, 0xc
test eax, eax
je 0x40f9e0
push esi
push esi
push esi
push esi
push esi
call fcn.004081b5
add esp, 0x14
push 0x104
mov esi, 0x4aadc9
push esi
push 0
mov byte [0x4aaecd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40fa24
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040fea5
add esp, 0xc
test eax, eax
je 0x40fa24
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004081b5
add esp, 0x14
push esi
call fcn.00408120
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40fa69
push esi
call fcn.00408120
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4ab0c4
push 0x4952bc
sub ecx, eax
push ecx
push eax
call fcn.004149c6
add esp, 0x14
test eax, eax
je 0x40fa69
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004081b5
add esp, 0x14
jmp 0x40fa6b
xor esi, esi
push 0x4952b8
push ebx
push ebp
call fcn.00414955
add esp, 0xc
test eax, eax
je 0x40fa8b
push esi
push esi
push esi
push esi
push esi
call fcn.004081b5
add esp, 0x14
push dword [edi*8 + 0x4a955c]
push ebx
push ebp
call fcn.00414955
add esp, 0xc
test eax, eax
je 0x40faad
push esi
push esi
push esi
push esi
push esi
call fcn.004081b5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00415851
add esp, 0xc
jmp 0x40faf5
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40faf5
cmp ebp, 0xffffffff
je 0x40faf5
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4a955c]
push dword [esi]
call fcn.00408120
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x415851
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040f479
xor ebx, ebx
cmp dword [0x4ab3ec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x415927
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x415a07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x415a07
push eax
call fcn.0040f40b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ab3ec], eax
call esi
push eax
call fcn.0040f40b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ab3f0], eax
call esi
push eax
call fcn.0040f40b
mov dword [0x4ab3f4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040afb4
test eax, eax
pop ecx
pop ecx
je 0x4158f5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004081b5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x415927
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040f40b
cmp eax, ebx
pop ecx
mov dword [0x4ab3fc], eax
je 0x415927
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040f40b
pop ecx
mov dword [0x4ab3f8], eax
mov eax, dword [0x4ab3f8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4159ac
cmp dword [0x4ab3fc], ecx
je 0x4159ac
push eax
call fcn.0040f482
push dword [0x4ab3fc]
mov esi, eax
call fcn.0040f482
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4159ac
cmp edi, ebx
je 0x4159ac
call esi
cmp eax, ebx
je 0x415979
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415979
test byte [ebp - 0x18], 1
jne 0x4159ac
lea eax, [ebp - 0x10]
push eax
call fcn.0040afeb
test eax, eax
pop ecx
je 0x415994
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004081b5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4159a3
or dword [ebp + 0x10], 0x200000
jmp 0x4159e7
or dword [ebp + 0x10], 0x40000
jmp 0x4159e7
mov eax, dword [0x4ab3f0]
cmp eax, dword [ebp - 8]
je 0x4159e7
push eax
call fcn.0040f482
cmp eax, ebx
pop ecx
je 0x4159e7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4159e7
mov eax, dword [0x4ab3f4]
cmp eax, dword [ebp - 8]
je 0x4159e7
push eax
call fcn.0040f482
cmp eax, ebx
pop ecx
je 0x4159e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ab3ec]
call fcn.0040f482
cmp eax, ebx
pop ecx
je 0x415a07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415a09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4190a0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4a9398]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x4190df
xor eax, eax
jmp 0x4191c7
mov word [ebp - 0x48], 0
push 0x3e
push 0
lea ecx, [ebp - 0x46]
push ecx
call fcn.00408550
add esp, 0xc
mov dword [ebp - 0x150], 0
push 0xf4
push 0
lea edx, [ebp - 0x14c]
push edx
call fcn.00408550
add esp, 0xc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 0x40
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41914e
cmp dword [ebp - 0x54], 0x40
jne 0x41914e
movzx eax, word [ebp - 0x48]
cmp eax, 0x5a4d
je 0x419152
jmp 0x4191ad
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0xc], eax
je 0x41916d
jmp 0x4191ad
push 0
lea eax, [ebp - 0x54]
push eax
push 0xf8
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4191a2
cmp dword [ebp - 0x54], 0xf8
jne 0x4191a2
cmp dword [ebp - 0x150], 0x4550
je 0x4191a6
jmp 0x4191ad
mov dword [ebp - 0x50], 1
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4191c4
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040806d
mov esp, ebp
pop ebp
ret
Function at 0x4191e0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00419050
add esp, 4
test eax, eax
jne 0x419217
jmp 0x4192a7
mov ecx, dword [ebp + 8]
push ecx
call fcn.004190a0
add esp, 4
test eax, eax
jne 0x419229
jmp 0x4192a7
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x419250
jmp 0x4192a7
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41926f
jmp 0x4192a7
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41928c
jmp 0x4192a7
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00418ff0
add esp, 8
mov dword [ebp - 0xc], eax
xor ecx, ecx
jne 0x419202
cmp dword [ebp - 0x10], 0
je 0x4192be
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x10], 0
cmp dword [ebp - 4], 0
je 0x4192d5
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0xffffffff
je 0x4192ec
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41d290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x41d2ab
xor eax, eax
jmp 0x41d333
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x41d2c6
mov dword [ebp - 0x14], 0x400000
jmp 0x41d2cc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x41d323
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41d333
cmp dword [ebp - 0x10], 0
jne 0x41d32b
jmp 0x41d331
cmp dword [ebp - 4], 0
ja 0x41d2b4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41d340
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x41d35b
xor eax, eax
jmp 0x41d3e3
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [ebp - 4], 0x400000
jbe 0x41d376
mov dword [ebp - 0x14], 0x400000
jmp 0x41d37c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 8], 0
jne 0x41d3d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41d3e3
cmp dword [ebp - 0x10], 0
jne 0x41d3db
jmp 0x41d3e1
cmp dword [ebp - 4], 0
ja 0x41d364
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41fc10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x41fc28
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x41fc7b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x41fc49
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x41fc6c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x41fc40
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x4ab4c8], eax
jmp 0x41fc1f
jmp 0x41fc86
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x41fcbe
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4ab0c8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x4ab4c8]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x4ab4c8], edx
jmp 0x41fc7d
mov dword [0x4ad4c8], fcn.0041ce80
call fcn.0041ecc0
test eax, eax
jne 0x41fcdb
mov dword [0x4ad4c8], 0x41de20
mov esp, ebp
pop ebp
ret
Function at 0x423d30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x48c890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
call fcn.00424870
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00408550
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x48c8f1
xor eax, eax
jmp 0x48c902
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x48cb80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4a9398]
xor eax, ebp
mov dword [ebp - 0x14], eax
call fcn.00460000
mov dword [ebp - 4], str.SoftwareBaiduBaiduSd
mov dword [ebp - 0xc], str.SupplyID
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48cc14
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48cc0e
lea ecx, [ebp - 0x218]
push ecx
push 0x4a289c
mov edx, dword [ebp + 8]
push edx
call fcn.004056c0
add esp, 0xc
jmp 0x48cc12
xor eax, eax
jmp 0x48cc22
jmp 0x48cc18
xor eax, eax
jmp 0x48cc22
call fcn.0045efd0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040806d
mov esp, ebp
pop ebp
ret
Function at 0x48ce60
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492a3e
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4a9398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00428320
mov word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.00408550
add esp, 0xc
mov dword [ebp - 0x228], 0
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x228], eax
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x260]
call fcn.004042a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00404270
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
push eax
call fcn.0048caa0
add esp, 4
push 0x4a2824
lea ecx, [ebp - 0x260]
call fcn.004043a0
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x260]
call fcn.00404380
lea edx, [ebp - 0x260]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404340
push 0
lea ecx, [ebp - 0x260]
call fcn.004043e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00404320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00404320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040806d
mov esp, ebp
pop ebp
ret
Function at 0x48d690
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4a9398]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
jne 0x48d6b1
xor al, al
jmp 0x48d721
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48d6c7
xor al, al
jmp 0x48d721
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48d714
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x48d700
mov byte [ebp - 1], 1
jmp 0x48d714
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48d6e5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040806d
mov esp, ebp
pop ebp
ret
Function at 0x48eca0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492e86
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4a9398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00443660
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004042e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x30]
push edx
mov ecx, 0x4ad774
call fcn.00404340
call fcn.00441650
cmp dword [0x4ad65c], 0
jne 0x48ed7a
push 0xed8
call fcn.00408491
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x48ed29
mov ecx, dword [ebp - 0x38]
call fcn.00491300
mov dword [ebp - 0x44], eax
jmp 0x48ed30
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [0x4ad65c], ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [0x4ad65c]
add ecx, 8
call fcn.00404340
push 0x496ca8
mov ecx, dword [0x4ad65c]
add ecx, 0x24
call fcn.00404360
mov eax, dword [0x4ad65c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x54], ecx
mov ecx, dword [0x4ad65c]
call fcn.00491b30
call fcn.0043f470
call fcn.0048e2a0
test eax, eax
jne 0x48edda
cmp dword [0x4ad65c], 0
je 0x48edd1
mov ecx, dword [0x4ad65c]
call fcn.00491120
mov edx, dword [0x4ad65c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x48edc0
push 1
mov ecx, dword [ebp - 0x3c]
call fcn.004068e0
mov dword [ebp - 0x48], eax
jmp 0x48edc7
mov dword [ebp - 0x48], 0
mov dword [0x4ad65c], 0
push 0
call fcn.0040b19b
jmp 0x48eddf
call fcn.0048e520
call fcn.0043e580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00404320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404320
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040806d
mov esp, ebp
pop ebp
ret