joyce8/EMBER2024-capa huggingface dataset:
Function at 0x510d2c
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409318
test al, al
je 0x510db3
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403230
or esi, 0x100
test esi, esi
jns 0x510d67
call fcn.004038bc
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404c1c
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x510db3
mov dl, 1
mov eax, dword [0x421cdc]
call fcn.004299f4
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00429e00
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x510db3
mov eax, esp
call fcn.0040e5ec
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x5238c8
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x523a6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x523a80
call fcn.00409318
test al, al
je 0x523a4c
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
xor ecx, ecx
mov edx, 0x10
call fcn.00403230
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
xor ecx, ecx
mov edx, 0x44
call fcn.00403230
mov eax, dword [ebp + 8]
mov dword [eax - 0x5c], 0x44
mov eax, dword [ebp + 8]
mov dword [eax - 0x30], 1
mov eax, dword [ebp + 8]
mov word [eax - 0x2c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x318]
lea eax, [ebp - 4]
mov ecx, 0x523a80
call fcn.00404a70
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x523a98
call fcn.00409fcc
mov eax, dword [ebp - 0x10]
mov edx, 0x523ab4
call fcn.005226b0
pop ecx
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x318]
call fcn.00404c1c
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c1c
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x523a4c
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.user32.dll_WaitForInputIdle
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x523898
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.user32.dll_EnumThreadWindows
cmp dword [ebp - 8], 0
je 0x523a4c
push 0
push 0x523abc
push 0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0xc], eax
push 0x523ac4
push 0x523acc
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x523a4c
push 0
push 0
push 0xf5
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_PostMessageA
push 0xbb8
call sub.kernel32.dll_Sleep_1
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523a71
lea eax, [ebp - 0x10]
call fcn.0040476c
lea eax, [ebp - 4]
call fcn.0040476c
ret
Function at 0x43f2f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0043ef1e
push eax
push esi
push dword [ebp + 8]
call fcn.0043eed3
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0043ef1e
push eax
push esi
push dword [ebp + 8]
call fcn.0043eed3
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0043ef0e
xor edx, esp
out 0x73, eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0043ef0e
setle byte [edi + ecx*2]
lea eax, [ebp - 0x84]
push eax
call fcn.0043ef1e
push eax
push esi
push dword [ebp + 8]
call fcn.0043eed3
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x43f707
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0043ee7f
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x43f47e
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0043ee7f
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x43f44b
call fcn.0043ef0e
xchg esi, eax
inc ecx
jnp 0x43f41c
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x43f6fd
add eax, esi
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4402e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0043ee7f
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x44031b
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x440364
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x44030e
call fcn.0043ef0e
mov cl, 0x11
cli
pop esp
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0043ef0e
add byte [ecx], 0xaf
out dx, eax
lea eax, [ebp - 0x72c]
push eax
call fcn.0043ef1e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0043eed3
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0043ef0e
out 0x41, eax
pop ebp
lea eax, [ebp - 0x718]
push eax
push 0x40
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
push 5
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x3a8]
call fcn.0043ee7f
add esp, 0xc
lea eax, [ebp - 0x718]
push eax
push dword [ebp - 0x718]
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
call fcn.0043ef0e
sahf
test eax, 0xa5831110
add cl, bh
invalid
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40915c
nop
nop
mov ecx, 0x13fb0edc
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x37e531f8
nop
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x409ce1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ce1
lcall 0x5de5, 0x8b10c483
jmp loc.0095f1ac
Function at 0x4049cd
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x41d87c
call fcn.00415180
sub esp, 0x18
push esi
lea eax, [ebp - 0x18]
push edi
push eax
push 0x20019
push 0
push str.SoftwareTencentPlatForm_Type_List1
mov edi, ecx
push 0x80000002
call dword [0x420004]
test eax, eax
jne 0x404a33
mov esi, 0x104
push esi
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push ecx
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push eax
push 0
push str.TypePath
push dword [ebp - 0x18]
call dword [0x420008]
test eax, eax
je 0x404a3a
xor eax, eax
jmp 0x404aca
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00414dd0
and dword [ebp - 4], 0
lea esi, [edi + 0x14c]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00414db2
push 0x5c
mov ecx, esi
or edi, 0xffffffff
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x404a84
mov edi, eax
inc eax
push eax
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::Find
jmp 0x404a70
inc edi
lea eax, [ebp - 0x24]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00414db2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x18]
call dword [section..rdata]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x408187
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x41df74
call fcn.00415180
sub esp, 0x12c
push ebx
push esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
push 0x105
lea eax, [ebp - 0x138]
push ebx
push eax
mov byte [ebp - 4], 1
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp + 8]
push dword [eax - 8]
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x138]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp + 8]
push dword [eax - 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea eax, [ebp - 0x138]
push 1
mov dword [ebp - 0x28], eax
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1e], esi
push eax
mov word [ebp - 0x20], 0x614
mov dword [ebp - 0x1a], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x16], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], 3
call dword [0x420610]
test eax, eax
je 0x408224
xor esi, esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40c41d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x41e83c
call fcn.00415180
sub esp, 0x10
push ebx
push esi
push edi
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push 0x20019
push esi
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x420004]
cmp eax, esi
jne 0x40c543
mov esi, 0x104
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x1c]
push edi
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x14]
call dword [0x420008]
cmp eax, esi
jne 0x40c543
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.00414dd0
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.00414db2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [ebp - 0x10]
or esi, 0xffffffff
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40c4e4
mov esi, eax
inc eax
push eax
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find
jmp 0x40c4cf
inc esi
lea eax, [ebp + 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [ebp + 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00414db2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 8]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.00414db2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x14]
call dword [section..rdata]
mov esi, ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x40de8c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x41ec2b
call fcn.00415180
sub esp, 0x1c
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push str.SoftwareTencentPlatForm_Type_List_d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push 0x80000002
call dword [0x420004]
test eax, eax
je 0x40deff
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00414db8
mov dword [ebp - 0x18], ebx
jmp 0x40dfdb
mov esi, 0x104
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
push eax
lea eax, [ebp - 0x28]
push edi
push eax
push 0
push str.TypePath
push dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
call dword [0x420008]
test eax, eax
je 0x40df44
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00414db8
mov dword [ebp - 0x18], ebx
jmp 0x40dfdb
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.00414dd0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.00414db2
push 0x5c
lea ecx, [ebp - 0x10]
or esi, 0xffffffff
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x40df89
mov esi, eax
inc eax
push eax
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find
jmp 0x40df74
inc esi
lea eax, [ebp + 0xc]
push esi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00414db2
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x20]
call dword [section..rdata]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00414db8
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41006b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [0x420630]
push dword [esi + 0x20]
call edi
test eax, eax
jne 0x410095
push dword [esi + 0xd4]
call edi
test eax, eax
je 0x4101e5
xor edi, edi
cmp dword [esi + 0x88], edi
je 0x4101e5
cmp dword [esi + 0x78], edi
je 0x4100b7
mov ecx, esi
call fcn.00410df2
push 1
pop eax
jmp 0x4101e7
mov ecx, esi
mov dword [esi + 0x7c], edi
call fcn.00410dd5
test eax, eax
je 0x410106
mov dword [esi + 0x84], edi
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41052b
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0xa4], eax
je 0x4101e5
push eax
call dword [0x42010c]
mov eax, dword [ebp + 8]
mov dword [esi + 0x78], 1
mov dword [esi + 0x7c], eax
jmp 0x4100af
mov eax, dword [esi + 0xac]
cmp eax, edi
je 0x4101e5
cmp dword [esi + 0xd0], edi
je 0x410127
push 1
pop eax
mov dword [esi + 0x78], eax
jmp 0x4101e7
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xac]
lea edx, [ebp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, dword [esi + 0xe0]
cmp ebx, edi
jl 0x410155
cmp dword [esi + 0x80], edi
mov eax, ebx
jne 0x410158
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0xe4]
mov dword [ebp - 4], eax
cmp ecx, edi
jl 0x41016d
cmp dword [esi + 0x80], edi
jne 0x410170
mov ecx, dword [esi + 0x58]
xor edx, edx
cmp dword [esi + 0x80], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
je 0x410195
cmp ebx, edi
jl 0x410195
cmp dword [esi + 0xe4], edi
jl 0x410195
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
neg edx
push edx
mov eax, dword [esi + 0xac]
push dword [ebp - 8]
mov ebx, dword [eax]
push dword [ebp + 8]
push edi
push ecx
push dword [ebp - 4]
push edi
push edi
push dword [esi + 0x8c]
push eax
call dword [ebx + 0x20]
test eax, eax
jne 0x4100af
mov eax, dword [esi + 0xd4]
push 1
pop ebx
cmp eax, edi
push edi
mov dword [esi + 0x78], ebx
push edi
je 0x4101d8
push eax
jmp 0x4101db
push dword [esi + 0x20]
call dword [0x420688]
mov eax, ebx
jmp 0x4101e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x413f1c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call sub.MSVCRT.dll_memset
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
add esp, 0xc
and dword [esi + 0x58], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x41592c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x415973
cmp edx, 0x10
jl 0x41595f
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x41594c
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x415973
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x41596b
and edx, 3
cmp edx, 3
jne 0x415987
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x41598c
cmp edx, 2
jne 0x415998
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x41599d
cmp edx, 1
jne 0x4159a3
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x401000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x411020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push edi
mov edi, dword [ebp + 8]
push edi
call esi
test eax, eax
je 0x40102a
xor eax, eax
inc eax
jmp 0x401073
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00402d41
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x401073
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x40106a
lea eax, [ebp - 0x20c]
push eax
call section..text
pop ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00402aaa
leave
ret
Function at 0x4010f5
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x411020]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0xa0
mov eax, 0x40d8b7
call fcn.00409743
mov eax, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0x20], ebx
test byte [0x412c54], 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], eax
jne 0x401162
mov eax, dword [0x41204c]
or dword [0x412c54], 1
mov ecx, 0x41204c
call dword [eax + 0xc]
add eax, 0x10
push 0x40da40
mov dword [0x412c50], eax
call fcn.00402be0
pop ecx
mov eax, dword [0x412c50]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x40127b
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jle 0x40127b
lea eax, [ebp]
call fcn.00401898
push str.RootGenius_shuame_
push 0x412c50
call fcn.004018c2
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push dword [0x412c50]
call esi
lea eax, [ebp - 0x18]
push eax
mov edi, str.Data_
call fcn.004017ff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 1
call fcn.004018f6
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
push eax
call esi
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00402037
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00402037
lea eax, [ebp - 0x10]
push eax
mov edi, str.DataApk
call fcn.004017ff
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 2
call fcn.004018f6
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
push eax
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00402037
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402037
lea eax, [ebp - 0x10]
push eax
mov edi, str.DataBin
call fcn.004017ff
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 3
call fcn.004018f6
mov eax, dword [eax]
pop ecx
pop ecx
push ebx
push eax
call esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00402037
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00402037
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x28]
push esi
call fcn.0040194b
pop ecx
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [esi]
push 3
push eax
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xa8]
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0xac], ecx
call fcn.00401a8f
push dword [ebp - 0xac]
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0xac], eax
je 0x4012d3
push dword [ebp - 0xac]
call fcn.00402db0
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00402aaa
add ebp, 0x210
leave
ret