joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001a80
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x210
push ebx
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x1c], ecx
push 0x1000937c
mov esi, 0x80004005
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x10001bf2
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push 3
push 0
push 0
push 0x50
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x10001be6
mov ecx, dword [esp + 0x224]
push edi
push 0
push 0x400000
push 0
push 0
push 0
push ecx
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x10001bde
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x10001bd7
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push 0x13
push edi
mov dword [esp + 0x24], 0x200
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10001bd7
mov ebp, dword [sym.imp.MSVCRT.dll__wtoi]
lea ecx, [esp + 0x20]
push ecx
call ebp
mov edx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
mov ecx, dword [edx]
test ecx, ecx
je 0x10001b62
mov eax, dword [ecx]
push ebx
call dword [eax]
cmp ebx, 0xc8
jne 0x10001bcf
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x24]
push ecx
push edx
push 5
push edi
mov dword [esp + 0x24], 0x200
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10001bcf
lea eax, [esp + 0x20]
push eax
call ebp
mov ebx, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x10001baf
mov eax, dword [esp + 0x228]
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x230]
mov edx, dword [esp + 0x22c]
push ecx
push esi
push edx
push edi
mov ecx, ebx
call fcn.10001d60
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
pop ebp
je 0x10001c05
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10001c05
mov edx, dword [ecx]
push 0x1f4
call dword [edx]
mov eax, esi
pop esi
pop ebx
add esp, 0x210
ret 0x10
Function at 0x10001c20
Capabilities:
Move file
Parse url

Disassembly:
sub esp, 0x654
mov dx, word [0x1000b448]
push esi
mov esi, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x454]
push edx
mov dword [esp + 0x1c], eax
mov eax, 0x104
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x664]
push 0
lea ecx, [esp + 0x254]
push 0
push eax
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x44], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10001d41
mov cx, word [0x1000b448]
xor eax, eax
mov word [esp + 0x44], cx
mov ecx, 0x81
lea edi, [esp + 0x46]
lea edx, [esp + 0x44]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x664]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x44]
push str..upd
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [esp + 0x668]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x250]
push edx
lea ecx, [esp + 0x45c]
push eax
push ecx
mov ecx, esi
call fcn.10001a80
test eax, eax
jne 0x10001d41
push 1
lea edx, [esp + 0x48]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x10001d41
pop edi
xor eax, eax
pop esi
add esp, 0x654
ret 0xc
pop edi
mov eax, 0x80004005
pop esi
add esp, 0x654
ret 0xc
Function at 0x10001d60
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, 0x2030
call fcn.100069d0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x2c]
push 1
mov dword [esp + 0x1c], ecx
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor ebx, ebx
lea ecx, [esp + 0x2c]
push ebx
push ebx
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov eax, dword [esp + 0x2050]
push ebx
lea edx, [esp + 0x30]
push 0x80
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2054]
push ecx
push ebx
push 0x40000000
push edx
mov dword [esp + 0x3c], 0x14
mov dword [esp + 0x44], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, dword [esp + 0x204c]
xor edi, edi
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x10001e67
cmp edi, ebp
jae 0x10001e5c
mov edx, dword [esp + 0x2044]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x44]
push 0x2000
push ecx
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
cmp esi, ebx
je 0x10001e39
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push ebx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push ecx
push edx
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
cmp esi, ebx
je 0x10001e39
add edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x10001e58
mov edx, dword [ecx]
xor eax, eax
cmp esi, ebx
push ebp
push edi
push ebx
sete al
push eax
call dword [edx + 8]
cmp eax, 1
je 0x10001e5c
cmp esi, ebx
jne 0x10001de5
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
cmp edi, ebp
sete dl
mov esi, edx
cmp esi, ebx
je 0x10001e83
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x10001e83
mov edx, dword [ecx]
call dword [edx + 0xc]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2030
ret 0x10
Function at 0x10002220
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.explorer.exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10002275
lea ecx, [esp + 4]
mov dword [esp + 4], eax
push ecx
push eax
push eax
push 0x10002280
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, 0xffffffff
je 0x10002262
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._ftlive.dll__Inject_success._n
call fcn.10001880
add esp, 4
mov eax, 1
ret
xor eax, eax
ret

Function at 0x10002510
Capabilities:
Enumerate threads
Resume thread

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push esi
push eax
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], esi
je 0x100025a8
push ebp
push edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0x1c
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Thread32First
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100025a3
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp eax, edx
jne 0x10002593
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
je 0x10002593
push eax
push 0
push 2
call edi
mov esi, eax
test esi, esi
je 0x1000258f
push esi
call ebx
push esi
call ebp
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10002564
pop ebx
push esi
call ebp
pop edi
pop ebp
pop esi
add esp, 0x20
ret
Function at 0x10002850
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExtSettings677E0DE1_B1D5_4CB9_A3B3_5AEFF3B031B1
push SysReAllocStringLen
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100028a5
mov esi, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1000288e
push esi
call edi
xor esi, esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExtSettings677E0DE1_B1D5_4CB9_A3B3_5AEFF3B031B1
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test esi, esi
je 0x100028a5
push esi
call edi
pop edi
pop esi
pop ecx
ret

Function at 0x100028b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push esi
push edi
push str._Ftlive.dll__Window_Create.
call fcn.10001880
mov ax, word [0x1000b448]
mov ecx, 0x81
mov word [esp + 0xc], ax
xor eax, eax
lea edi, [esp + 0xe]
add esp, 4
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x1000bb84
push ecx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 8]
push 0x100090d8
push edx
call esi
lea eax, [esp + 8]
push str.oem.ini
push eax
call esi
lea ecx, [esp + 8]
push ecx
mov ecx, 0x1000c5f0
call fcn.10005480
mov ecx, 0x1000c3b0
call fcn.100033b0
mov ecx, 0x1000c3b0
call fcn.10003b10
mov esi, dword [esp + 0x214]
mov ecx, 0x1000c5d8
push esi
call fcn.10005290
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 0x101
push esi
call edi
push 0
push 0x1b7740
push 0x102
push esi
call edi
push 0
push 0x102
push 0x113
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1000b97c
push 0x440003
push str.LoginHotKey
push str.Option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
mov dword [0x1000ccec], eax
shr edx, 0x10
and eax, 0xffff
push edx
push eax
push 1
push esi
call dword [sym.imp.USER32.dll_RegisterHotKey]
pop edi
pop esi
test eax, eax
jne 0x100029c7
push 1
push str.Type13_SubType10_
push 0x1000b56c
call fcn.10001680
add esp, 0xc
add esp, 0x208
ret
Function at 0x10002ea0
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x25c
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
push 0x104
rep stosd dword es:[edi], eax
mov ax, word [0x1000b448]
mov ecx, 0x81
mov word [esp + 0x60], ax
xor eax, eax
lea edi, [esp + 0x62]
mov dword [esp + 0x1c], 0x44
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
push ecx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x5c]
push 0x10009a14
push edx
call esi
lea eax, [esp + 0x5c]
push str.ftct5.exe
push eax
call esi
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x7c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov eax, dword [esp + 0x268]
test eax, eax
je 0x10002f45
mov ecx, dword [esp + 8]
push 0x1388
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x25c
ret

Function at 0x10002fb0
Capabilities:
Get session user name
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push esi
push 0
push str.ConfigUser
lea ecx, [eax + eax]
push str.SoftwareFeiteng5
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], ecx
mov word [esi], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10002ffa
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
pop esi
pop ecx
ret

Function at 0x10003000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
push ebp
xor ebp, ebp
push esi
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100030d1
push ebx
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ebp
push ecx
lea edx, [esp + 0x1c]
push 0x40
push edx
push esi
mov dword [esp + 0x24], ebp
call ebx
cmp dword [esp + 0x10], 0x40
jne 0x100030bd
cmp word [esp + 0x14], 0x5a4d
jne 0x100030bd
mov eax, dword [esp + 0x50]
push ebp
push ebp
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x100030bd
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x54]
push ebp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x58]
push ecx
push 0xf8
push edx
push esi
mov dword [esp + 0x24], ebp
call ebx
cmp dword [esp + 0x10], 0xf8
jne 0x100030bd
mov ecx, dword [esp + 0x54]
xor eax, eax
cmp ecx, 0x4550
sete al
mov ebp, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
add esp, 0x13c
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x13c
ret
Function at 0x100030e0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x660
push ebx
push ebp
mov ebp, dword [esp + 0x66c]
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10003107
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x660
ret
mov dx, word [0x1000b448]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], dx
mov word [esp + 0x468], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46a]
push ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x46c]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x468]
push 0x10009a98
push ecx
call esi
lea edx, [esp + 0x218]
lea eax, [esp + 0x468]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000318c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x660
ret
lea ecx, [esp + 0x244]
push 0x10009a94
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x10003207
lea edx, [esp + 0x244]
push 0x10009a8c
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x10003207
lea eax, [esp + 0x10]
push ebp
push eax
call edi
lea ecx, [esp + 0x10]
push 0x100090d8
push ecx
call esi
lea edx, [esp + 0x244]
lea eax, [esp + 0x10]
push edx
push eax
call esi
test byte [esp + 0x218], 0x10
je 0x100031fc
lea ecx, [esp + 0x10]
push ecx
call fcn.100030e0
add esp, 4
jmp 0x10003207
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000318c
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x660
ret
Function at 0x100041f0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x410
mov ax, word [0x1000b448]
push ebx
push ebp
push esi
mov ebp, ecx
mov ebx, dword [esp + 0x420]
push edi
mov word [esp + 0x10], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x10]
push ebp
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x10]
push esi
push edx
call ebp
lea eax, [esp + 0x10]
push str..cab
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov ecx, dword [0x10009e44]
mov edx, dword [0x10009e48]
mov dword [esp + 0x218], ecx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x220]
mov dword [esp + 0x21c], edx
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x21c]
push eax
call ebp
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100042e7
lea edx, [esp + 0x10]
push 0x10009e44
push edx
call fcn.100013f0
add esp, 8
test eax, eax
je 0x100042e7
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push 0
push ebx
call edi
push 4
lea eax, [esp + 0x21c]
push ebx
push eax
call edi
push esi
push str._ftlive.dll___s_is_killed__try_restore
call fcn.100018d0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret 4

Function at 0x10005070
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov ax, word [0x1000b448]
push edi
mov word [esp + 8], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push 0
push str.SurfCtlPlugin
push str.SoftwareFeiteng5Plugin
push reloc.OLEAUT32.dll_SysReAllocString
stosw word es:[edi], ax
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100050c8
xor eax, eax
pop edi
add esp, 0x20c
ret
lea eax, [esp + 8]
push esi
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100050ff
push str.IsLimitGame
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100050f8
mov ecx, dword [esp + 0x218]
push ecx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop esi
pop edi
add esp, 0x20c
ret
Function at 0x10005110
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov ax, word [0x1000b448]
push esi
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov dword [esp + 8], 0x208
push ecx
push edx
push 0
push str.PlmPlugin
push str.SoftwareFeiteng5Plugin
push reloc.OLEAUT32.dll_SysReAllocString
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0xc]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10005191
push str.NeedBlock
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000518a
mov ecx, dword [esp + 0x218]
push ecx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x100051a0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x11c
push esi
mov esi, ecx
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 8]
push eax
mov dword [esi], 0x100072f4
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x100051e5
lea ecx, [esp + 8]
mov dword [esp + 8], 0x114
push ecx
call edi
mov ecx, dword [esp + 0xc]
push 0x104
cmp ecx, 6
push 0x1000cd30
sbb edx, edx
inc edx
mov dword [0x1000cf38], edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.10003240
test eax, eax
mov eax, str.SysWOW64
jne 0x10005218
mov eax, str._system32
push eax
push 0x1000cd30
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, esi
pop edi
pop esi
add esp, 0x11c
ret

Function at 0x10005290
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
mov eax, dword [esi + 4]
test eax, eax
jne 0x100052ae
mov eax, dword [0x1000c3a4]
push 0x67
push eax
call edi
mov dword [esi + 4], eax
cmp dword [esi], 0
jne 0x100052c0
mov ecx, dword [0x1000c3a4]
push 0x68
push ecx
call edi
mov dword [esi], eax
mov eax, dword [esi + 8]
mov edx, dword [esp + 0xc]
test eax, eax
mov dword [esi + 0xc], edx
jne 0x1000532f
push 0x1000b97c
push 1
push str.ShowNotifyIcon
push str.Option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x1000532f
call fcn.10001580
test eax, eax
mov dword [esi + 0x10], eax
je 0x100052f9
mov eax, dword [esi]
jmp 0x100052fc
mov eax, dword [esi + 4]
push eax
push 0
mov ecx, esi
call fcn.100053f0
test eax, eax
mov dword [esi + 8], eax
jne 0x1000532f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ftlive.dll__Create_Notify_Icon_return_failure___d__processid_x
call fcn.100018d0
add esp, 0xc
xor eax, eax
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x100056a0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov edx, dword [esp + 0x22c]
mov word [esp + 0x1c], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
mov esi, 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
sub edx, ecx
mov cx, word [edx + eax]
cmp cx, bp
je 0x100056ea
mov word [eax], cx
add eax, 2
dec esi
jne 0x100056d6
jmp 0x100056ee
cmp esi, ebp
jne 0x100056f1
sub eax, 2
lea edx, [esp + 0x1c]
mov word [eax], bp
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, dword [esp + 0x22c]
add esp, 4
lea eax, [eax + eax + 2]
push 0x40
push 0x1000
push eax
push ebp
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x100057a6
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10005797
push str.LoadLibraryW
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
test edi, edi
je 0x10005797
push 0x2bf20
push edi
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x214
ret
Function at 0x100057c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x11c
push eax
call esi
test eax, eax
jne 0x1000580a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x114
push ecx
call esi
test eax, eax
jne 0x1000580a
pop edi
pop esi
add esp, 0x11c
ret
mov esi, dword [esp + 0x128]
mov eax, dword [esp + 0xc]
cmp eax, 4
mov word [esi], 0
jne 0x10005851
mov eax, dword [esp + 0x18]
dec eax
je 0x1000583f
dec eax
jne 0x100058df
mov edx, dword [esp + 0x12c]
push edx
push str.WindowsNT
jmp 0x100058d8
mov eax, dword [esp + 0x12c]
push eax
push str.Windows98
jmp 0x100058d8
cmp eax, 5
jne 0x10005892
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x10005883
dec eax
je 0x10005874
dec eax
jne 0x100058df
mov ecx, dword [esp + 0x12c]
push ecx
push str.Windows2003
jmp 0x100058d8
mov edx, dword [esp + 0x12c]
push edx
push str.WindowsXP
jmp 0x100058d8
mov eax, dword [esp + 0x12c]
push eax
push str.Windows2000
jmp 0x100058d8
cmp eax, 6
jne 0x100058df
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x100058cb
dec eax
jne 0x100058df
cmp byte [esp + 0x122], 1
jne 0x100058bc
mov ecx, dword [esp + 0x12c]
push ecx
push str.Windows7
jmp 0x100058d8
mov edx, dword [esp + 0x12c]
push edx
push str.Windows2008
jmp 0x100058d8
mov eax, dword [esp + 0x12c]
push eax
push str.Vista
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
pop edi
test eax, eax
setg cl
mov eax, ecx
pop esi
add esp, 0x11c
ret

Function at 0x10005930
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
lea ecx, [esp]
push 4
push ecx
push 3
push str.PreCheckDay
push str.SoftwareFeiteng5
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
ret