joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x426008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x64eac8
push 0x104
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
push 0x4226fc
push str.TName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], si
jne 0x401e96
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a812
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x41d2a0
push 1
push 0
push 0x41d2c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x401ee6
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
mov ecx, 1
cmovns esi, ecx
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040a812
mov esp, ebp
pop ebp
ret

Function at 0x401f00
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x426008]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040cc80
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4226f8
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0040a8eb
add esp, 0xc
lea eax, [ebp - 0x210]
push str.uiweui_
push 0x104
push eax
call fcn.0040a8eb
add esp, 0xc
lea eax, [ebp - 0x210]
push str.WeiDuanN_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x64ecd0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x401fc0
push 0x64eac8
push 0x104
push 0x64ecd0
push 0x4226fc
push str.StartMenuPath
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x64ecd0
call fcn.00401c10
call fcn.00401e40
lea ecx, [ebp - 0x210]
call fcn.00401c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a812
mov esp, ebp
pop ebp
ret
Function at 0x401ff0
Capabilities:
Acquire debug privileges
Enumerate processes
Get file system object information
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x426008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
mov ebx, 1
push 2
mov dword [ebp - 0x710], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
test edi, edi
jne 0x402036
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a812
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x708]
mov dword [ebp - 0x708], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402023
lea eax, [ebp - 0x70c]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4020e0
lea eax, [ebp - 0x718]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4020ca
mov eax, dword [ebp - 0x718]
push 0
push 0
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x714]
push 0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x70c]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x214], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x70c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4020e0
push 0x2b4
lea eax, [ebp - 0x4d8]
push 0
push eax
call fcn.0040cc80
add esp, 0xc
lea eax, [ebp - 0x4d8]
push 0x101
push 0x2b4
push eax
push 0
lea eax, [ebp - 0x6e4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0x6e4]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40216d
push dword [ebp - 0x700]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, dword [ebp - 0x710]
neg eax
sbb eax, eax
and ebx, eax
lea eax, [ebp - 0x708]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4020e0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a812
mov esp, ebp
pop ebp
ret
Function at 0x4021a0
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x426008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov ebx, ecx
lea eax, [ebp - 0x20a]
push eax
call fcn.0040cc80
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push 0x4226f8
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
push str..lnk
lea eax, [ebp - 0x20c]
push eax
call esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x41d260
push 1
push 0
push 0x41d280
mov dword [ebp - 0x214], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4022ce
mov eax, dword [ebp - 0x210]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push 0x4226fc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x41d270
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4022ce
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4022b9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x4022e1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x210]
test ecx, ecx
je 0x4022f1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a812
mov esp, ebp
pop ebp
ret
Function at 0x405fb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x405fbb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x406085
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
dec edi
jne 0x405fd0
pop edi
test esi, esi
je 0x4060aa
lea esp, [esp]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422d80]
dec esi
jne 0x406090
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4067d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x406813
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x406805
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x406824
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.0040cd10
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x40688b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x406886
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x4068b8
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x40689c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.0040cd10
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x4068cc
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x4068c3
cmp byte [esi + 8], 0
je 0x4068c3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x4069c4
cmp byte [edi + 1], 0
je 0x4069bd
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4069ca
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
push ebx
je 0x4069ef
cmp byte [edi + 1], 0
je 0x4069e8
push 1
push 0
push 0
push dword [edi + 4]
call ecx
mov ebx, eax
sub ebx, dword [edi + 0xc]
jmp 0x4069f2
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x406a01
mov ebx, dword [edi + 0x18]
mov eax, 0xffff
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
jae 0x406a04
mov dword [ebp - 4], ebx
push esi
push 0x404
call fcn.0040a821
mov esi, eax
add esp, 4
test esi, esi
jne 0x406a1f
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 4
mov dword [ebp - 0x10], 0
cmp ecx, eax
jbe 0x406b1f
add eax, 0x400
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x1c], edx
sub ebx, ecx
mov dword [ebp - 0x18], ecx
cmp ebx, 0x404
cmova ebx, eax
cmp byte [edi], 0
je 0x406a80
cmp byte [edi + 1], 0
je 0x406b1f
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x406a83
mov dword [edi + 0x18], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0xc], ebx
je 0x406aab
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x406aa6
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x406ad4
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x406abe
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0xc], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.0040cd10
mov eax, dword [ebp - 0xc]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x406b1f
lea eax, [ebx - 3]
test eax, eax
jle 0x406b0e
dec eax
cmp byte [eax + esi], 0x50
jne 0x406b00
cmp byte [eax + esi + 1], 0x4b
jne 0x406b00
cmp byte [eax + esi + 2], 5
jne 0x406b00
cmp byte [eax + esi + 3], 6
je 0x406b06
test eax, eax
jg 0x406ae4
jmp 0x406b0e
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jne 0x406b1f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
cmp eax, ecx
jb 0x406a36
push esi
call fcn.0040a8b3
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x407fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x340
call fcn.0040b194
mov edi, eax
add esp, 4
test edi, edi
je 0x408002
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x134], 0xffffffff
jmp 0x408004
xor edi, edi
cmp dword [edi], 0
jne 0x40805a
cmp dword [edi + 4], 0xffffffff
jne 0x40805a
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4226f8
push 0x104
push esi
call fcn.0040a8eb
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
call fcn.00406780
add esp, 8
test eax, eax
jne 0x40804a
mov eax, dword [ebp - 4]
jmp 0x40805f
mov ecx, eax
call fcn.00406b40
mov dword [edi], eax
mov eax, dword [0x64eee0]
jmp 0x40805f
mov eax, 0x1000000
mov dword [0x64eedc], eax
test eax, eax
je 0x408079
push edi
call fcn.0040a80d
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 8
call fcn.0040b194
add esp, 4
mov dword [eax + 4], edi
pop edi
mov dword [eax], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4081c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x40830f
push ebx
mov bl, byte [ebp + 0xa]
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x4081e0
mov dl, byte [esi + str.aWtsaXQ]
cmp dl, 0x2b
jne 0x4081ef
mov dl, 0x3e
jmp 0x40821d
cmp dl, 0x2f
jne 0x4081f8
mov dl, 0x3f
jmp 0x40821d
cmp dl, 0x39
jg 0x408202
add dl, 4
jmp 0x40821d
cmp dl, 0x3d
je 0x40821b
cmp dl, 0x5a
jg 0x408211
sub dl, 0x41
jmp 0x40821d
cmp dl, 0x7a
jg 0x40821b
sub dl, 0x47
jmp 0x40821d
mov dl, 0x40
mov cl, byte [esi + 0x4228d9]
cmp cl, 0x2b
jne 0x40822c
mov cl, 0x3e
jmp 0x40825a
cmp cl, 0x2f
jne 0x408235
mov cl, 0x3f
jmp 0x40825a
cmp cl, 0x39
jg 0x40823f
add cl, 4
jmp 0x40825a
cmp cl, 0x3d
je 0x408258
cmp cl, 0x5a
jg 0x40824e
sub cl, 0x41
jmp 0x40825a
cmp cl, 0x7a
jg 0x408258
sub cl, 0x47
jmp 0x40825a
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228da]
cmp al, 0x3d
je 0x4082b7
mov bl, al
cmp bl, 0x2b
jne 0x408280
mov bl, 0x3e
jmp 0x4082a9
cmp bl, 0x2f
jne 0x408289
mov bl, 0x3f
jmp 0x4082a9
cmp bl, 0x39
jg 0x408293
add bl, 4
jmp 0x4082a9
cmp bl, 0x5a
jg 0x40829d
sub bl, 0x41
jmp 0x4082a9
cmp bl, 0x7a
jg 0x4082a7
sub bl, 0x47
jmp 0x4082a9
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228db]
cmp al, 0x3d
je 0x4082f6
cmp al, 0x2b
jne 0x4082c9
mov al, 0x3e
jmp 0x4082eb
cmp al, 0x2f
jne 0x4082d1
mov al, 0x3f
jmp 0x4082eb
cmp al, 0x39
jg 0x4082d9
add al, 4
jmp 0x4082eb
cmp al, 0x5a
jg 0x4082e1
sub al, 0x41
jmp 0x4082eb
cmp al, 0x7a
jg 0x4082e9
sub al, 0x47
jmp 0x4082eb
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [edi + edx], cl
inc edi
add esi, 4
cmp esi, 8
jb 0x4081e0
mov byte [edi + edx], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x408320
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x408437
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x408437
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jb 0x408437
push esi
xor eax, eax
xor esi, esi
mov dword [ebp + 8], eax
test ebx, ebx
je 0x40842c
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 3
shr cl, 2
movzx ecx, cl
shl dl, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], cl
cmp esi, ebx
jae 0x408415
mov ecx, dword [ebp + 0xc]
mov bl, byte [esi + ecx]
inc esi
mov cl, bl
and bl, 0xf
shr cl, 4
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
cmp esi, dword [ebp + 0x10]
jae 0x4083f2
mov ecx, dword [ebp + 0xc]
shl bl, 2
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 0x3f
shr cl, 6
add bl, cl
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
movzx ecx, dl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 3], cl
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 3
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov ecx, dword [ebp + 0xc]
jb 0x408357
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
shl bl, 2
movzx ecx, bl
pop esi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
mov byte [eax + edi + 3], 0x3d
add eax, 4
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
mov word [eax + edi + 2], 0x3d3d
add eax, 4
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x408c60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x426008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x10b8
call fcn.0040b194
mov edi, eax
add esp, 4
test edi, edi
je 0x408d7d
push str.http:__tj.wudiyou.com:8800_
push 0x824
push edi
call fcn.0040a9a2
add esp, 0xc
lea eax, [edi + 0x104c]
push str.angerfight_REPORT
push 0x32
push eax
call fcn.0040a9a2
add esp, 0xc
mov dword [edi + 0x10b0], 0x1c
call fcn.00408d90
push 1
mov dword [edi + 0x10b4], eax
call fcn.0040b194
add esp, 4
mov dword [0x64eee4], eax
mov ecx, edi
call fcn.00409210
push 0x64eac8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x408d7d
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040cc80
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [edi + 0x1048]
push 0x424874
push eax
call fcn.00409aa0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x64eac8
push eax
push str.Service_Value
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [edi + 0x10b4]
lea eax, [ebp - 0x210]
push 0x424874
push eax
call fcn.00409aa0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x64eac8
push eax
push str.InstallID
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040a812
mov esp, ebp
pop ebp
ret

Function at 0x408f80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2888
call fcn.00418730
mov eax, dword [0x426008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x40905d
lea eax, [ebp - 0x2888]
mov dword [ebp - 0x2888], 0x2880
push eax
lea eax, [ebp - 0x2884]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x40905d
lea eax, [ebp - 0x2884]
nop
cmp byte [eax + 0x194], 0
jne 0x40901d
cmp byte [eax + 0x195], 0
jne 0x40901d
cmp byte [eax + 0x196], 0
jne 0x40901d
cmp byte [eax + 0x197], 0
jne 0x40901d
cmp byte [eax + 0x198], 0
jne 0x40901d
cmp byte [eax + 0x199], 0
jne 0x40901d
mov eax, dword [eax]
test eax, eax
jne 0x408fd0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a812
mov esp, ebp
pop ebp
ret 4
movzx ecx, byte [eax + 0x199]
push ecx
movzx ecx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push eax
push str._02X__02X__02X__02X__02X__02X
push 0x32
push esi
call fcn.0040c6b1
add esp, 0x24
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040a812
mov esp, ebp
pop ebp
ret 4
Function at 0x409140
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x40914b
xor eax, eax
pop ebx
ret
push esi
push edi
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x409152
sub edi, ecx
inc edi
push edi
call fcn.0040a821
push edi
mov esi, eax
push 0
push esi
call fcn.0040cc80
push ebx
push edi
push esi
call fcn.0040bef4
xor eax, eax
add esp, 0x1c
cmp byte [esi], al
je 0x40918a
mov edi, edi
xor byte [esi], 0x20
inc eax
inc esi
cmp byte [esi], 0
jne 0x409180
sub esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x409b80
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
mov dword [0x64ef14], 1
mov byte [0x64eee8], 0
call fcn.0040a821
add esp, 4
mov dword [0x64ef0c], eax
test eax, eax
je 0x409bdc
mov ecx, esi
mov dword [0x64ef10], eax
mov dword [0x64ef20], 0x67452301
mov dword [0x64ef24], 0xefcdab89
mov dword [0x64ef28], 0x98badcfe
mov dword [0x64ef2c], 0x10325476
pop esi
jmp fcn.0040a430
pop esi
ret
Function at 0x416bf3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426008]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041166b
mov dword [ebp - 0x14], eax
cmp dword [0x64e850], esi
jne 0x416ce6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x416c73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416dc6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416dc6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416dc6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x64e850], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x64e854], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x64e858], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64e860], eax
test eax, eax
je 0x416ce3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64e85c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416d0b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416cfe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416d20
push 4
pop eax
jmp 0x416dc8
cmp dword [ebp - 0x14], esi
je 0x416d20
push dword [0x64e850]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416d05
mov eax, dword [0x64e85c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416d7e
cmp dword [0x64e860], edi
je 0x416d7e
push eax
call ebx
push dword [0x64e860]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416d7e
test eax, eax
je 0x416d7e
call ecx
test eax, eax
je 0x416d73
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 0x416d73
test byte [ebp - 8], 1
jne 0x416d7e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416dae
mov eax, dword [0x64e854]
cmp eax, edi
je 0x416dab
push eax
call ebx
test eax, eax
je 0x416dab
call eax
mov esi, eax
test esi, esi
je 0x416dab
mov eax, dword [0x64e858]
cmp eax, edi
je 0x416dab
push eax
call ebx
test eax, eax
je 0x416dab
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x64e850]
call ebx
test eax, eax
je 0x416dc6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416dc8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a812
mov esp, ebp
pop ebp
ret