joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4682e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478b5c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x499750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x14]
call fcn.00405510
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x49e55c]
push eax
push str.QiyiShellParser::ExecInstall________________________________Used_Time:__d_MiliSeconds
lea eax, [ebp - 0x14]
push eax
call fcn.00402f60
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402b50
mov dword [ebp - 0x28], eax
mov ecx, 0x49e320
call fcn.0046d240
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
push ecx
push 0x467bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x68
call fcn.00406720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49e560], eax
mov eax, dword [0x49e560]
push eax
push str.QiyiShellParser::ExecInstallOK________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f60
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402b50
mov dword [ebp - 0x2c], eax
mov ecx, 0x49e320
call fcn.0046d240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4683f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478b7f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x499750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
push ecx
push 0x467bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x68
call fcn.00406720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49e55c], eax
lea ecx, [ebp - 0x14]
call fcn.00405510
mov dword [ebp - 4], 0
mov eax, dword [0x49e55c]
push eax
push str.QiyiShellParser::ExecInstall________________________________Start_Tick:__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f60
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402b50
mov dword [ebp - 0x24], eax
mov ecx, 0x49e320
call fcn.0046d240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4684c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.QiyiShellParser::ExecUnInstallInit_______________________________
call fcn.00402f90
mov dword [ebp - 0x14], eax
mov ecx, 0x49e320
call fcn.0046d240
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
push ecx
push 0x467bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00406720
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x468530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push 0x485c78
call fcn.00402f90
mov dword [ebp - 0x14], eax
mov ecx, 0x49e320
call fcn.0046d240
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
push 0x467bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00406720
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x46c860
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x268
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x25c], 0xffffffff
je 0x46c8c2
mov ecx, dword [ebp - 0x1c]
add ecx, 0x258
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x258]
mov edx, dword [eax + 0x48]
call edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x258
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x258]
mov eax, dword [edx + 0x4c]
call eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
call fcn.00405fe0
jmp 0x46c8e4
push 0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
call fcn.004054d0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10c
call fcn.004066f0
push eax
lea ecx, [ebp - 8]
call fcn.004088b0
movzx ecx, al
test ecx, ecx
je 0x46c935
push 0x3e8
lea ecx, [ebp - 8]
call fcn.004054b0
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46c933
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.004054b0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x46c8d6
mov ecx, dword [ebp - 0x1c]
call fcn.0046c720
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x1c]
call fcn.00426495
mov esp, ebp
pop ebp
ret
Function at 0x46c960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.00405f30
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x46c994
xor eax, eax
jmp 0x46ca3a
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46c9c0
xor eax, eax
jmp 0x46ca3a
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0043c9e0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00404d30
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46ca40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0043def0
mov eax, dword [0x499750]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x101c], ecx
mov word [ebp - 0x1010], 0
push 0xffe
push 0
lea eax, [ebp - 0x100e]
push eax
call fcn.0043ade0
add esp, 0xc
push 0x4877cc
mov ecx, dword [ebp - 0x101c]
add ecx, 0xa8
push ecx
lea edx, [ebp - 0x1018]
push edx
call fcn.004018a0
add esp, 0xc
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
call fcn.004068a0
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [ebp - 0x1018]
call fcn.00405530
mov dword [ebp - 0x1014], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
lea edx, [ebp + ecx*2 - 0x1010]
push edx
call fcn.0043ae9f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x46cb1e
mov eax, dword [ebp - 0x1014]
add eax, 1
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46cae4
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043adc4
mov esp, ebp
pop ebp
ret
Function at 0x46cc40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4777cd
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x499750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x24c]
call fcn.00405510
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0043ade0
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x250], eax
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x46cd5d
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46cd5d
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x250]
jne 0x46cd39
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x258], ecx
jmp 0x46cd50
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46cd1d
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x258], 0
jbe 0x46cdde
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x46cdde
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x254]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46cdde
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [ebp - 0x258]
jne 0x46cdba
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x24c]
call fcn.00403370
jmp 0x46cdd1
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46cd98
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402b50
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.00405530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043adc4
mov esp, ebp
pop ebp
ret 4
Function at 0x46d060
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477840
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x499750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x30]
call fcn.00405440
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x46d0f2
cmp dword [ebp - 0x3c], 0x6f
je 0x46d0f2
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401a40
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a90
mov eax, dword [ebp + 8]
jmp 0x46d227
mov eax, dword [ebp - 0x38]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46d133
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401a40
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a90
mov eax, dword [ebp + 8]
jmp 0x46d227
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x46d17a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401a40
mov ecx, dword [ebp - 0x40]
or ecx, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a90
mov eax, dword [ebp + 8]
jmp 0x46d227
lea ecx, [ebp - 0x34]
call fcn.00405510
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x199]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x198]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x197]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x196]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x195]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x194]
push ecx
push str._02X_02X_02X_02X_02X_02X
lea edx, [ebp - 0x34]
push edx
call fcn.00405a20
add esp, 0x20
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x34]
call fcn.00405550
push eax
lea ecx, [ebp - 0x30]
call fcn.00405470
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401a40
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401a90
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043adc4
mov esp, ebp
pop ebp
ret
Function at 0x46d240
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477875
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x499750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0x268
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x46d350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x14]
call fcn.00405510
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
movzx eax, word [ebp - 0x16]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0x1a]
push edx
movzx eax, word [ebp - 0x1c]
push eax
movzx ecx, word [ebp - 0x1e]
push ecx
movzx edx, word [ebp - 0x22]
push edx
movzx eax, word [ebp - 0x24]
push eax
push str._r_n_d__02d__02d__02d:_02d:_02d._03d_:__s
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f60
add esp, 0x28
lea ecx, [ebp - 0x14]
call fcn.004068a0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x25c], 0xffffffff
je 0x46d325
lea ecx, [ebp - 0x14]
call fcn.00402ac0
shl eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.004068a0
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x258
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x258]
mov eax, dword [edx + 0x38]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00405530
jmp 0x46d339
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x268
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x670a20
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
mov dword [esp + 0x10], 0
call ebp
push eax
call fcn.00674662
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x819648], eax
je 0x670b2a
mov ebx, dword [sym.imp.kernel32.dll_GetProcAddress]
push 1
push eax
call ebx
mov ecx, dword [0x819648]
push 0xa
push ecx
mov esi, eax
call ebx
test eax, eax
je 0x670b2a
test esi, esi
je 0x670b2a
mov edi, dword [esp + 0x28]
mov ebx, edi
and ebx, 0x8000
je 0x670a9b
push 0x6dc2fc
call eax
test eax, eax
jne 0x670b2f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebp
push edx
push 0x3030e03
push edi
mov edi, dword [esp + 0x2c]
push eax
push ecx
push edi
call esi
mov ebp, eax
test ebp, ebp
jne 0x670b20
test ebx, ebx
je 0x670b20
push 0x20c
call fcn.0067654f
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx], edi
mov edi, dword [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 4]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x6dc2d4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.kernel32.dll_CreateEventA]
lea ecx, [esp + 0x10]
mov dword [0x81964c], eax
push ecx
push ebp
push ebx
push 0x670c60
push ebp
push ebp
call fcn.00676b03
add esp, 0x18
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov eax, 0x101
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
Function at 0x670f60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], 0
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x17c]
push 0x6dc344
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x6c]
push 0x114
push eax
or ebp, 0xffffffff
call fcn.006710f0
push 0x6dc334
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateEventA]
mov esi, eax
test esi, esi
je 0x671099
lea ecx, [esp + 0x64]
push 0
push ecx
call fcn.006761a5
add esp, 8
cmp eax, 0xffffffff
je 0x671099
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], 0x44
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
xor edx, edx
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x1c], edx
push ecx
push ebx
push edx
push edx
push 1
push edx
mov dword [esp + 0x38], edx
push edx
lea edx, [esp + 0x84]
push edx
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x671099
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov eax, dword [esp + 0x180]
test eax, eax
jbe 0x67103e
mov ebp, eax
push ebp
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push esi
mov ebp, eax
call edi
cmp ebp, 0x102
jne 0x671087
push 0x6dc320
push 0
push 0x1f0003
call dword [sym.imp.kernel32.dll_OpenEventA]
mov esi, eax
test esi, esi
je 0x671075
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 0x30000090
pop ebx
add esp, 0x168
ret 8
call fcn.00671160
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 8
call dword [sym.imp.kernel32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 8

Function at 0x671190
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6711ee
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push esi
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 0
push edx
push eax
mov dword [esp + 0x24], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov esi, eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
test esi, esi
mov eax, dword [esp + 4]
pop esi
je 0x6711f2
mov eax, dword [esp + 0x14]
pop ecx
ret 0x10

Function at 0x671360
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x671397
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6dc388]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x671375
pop edi
pop ebx
pop esi
ret 0xc
Function at 0x6761a5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x6761c5
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.00674bd1
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x6761e8
test byte [esp + 8], 2
je 0x6761e8
call fcn.00674c44
mov dword [eax], 0xd
call fcn.00674c4d
mov dword [eax], 5
jmp 0x6761c1
xor eax, eax
ret
Function at 0xab3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ab31a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xab307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xab306a
add dl, dl
jne 0xab3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xab30dc
xor eax, eax
add dl, dl
jne 0xab3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xab317d
add dl, dl
jne 0xab30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xab30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xab30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xab30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xab30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xab3075
mov eax, 1
add dl, dl
jne 0xab30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xab30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xab30e1
sub eax, ebx
mov ebx, 1
jne 0xab3128
mov ecx, 1
add dl, dl
jne 0xab310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xab3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xab3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xab3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xab313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xab314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xab3136
cmp eax, 0x7d00
jae 0xab316d
cmp eax, 0x500
jb 0xab3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xab3075
cmp eax, 0x7f
ja 0xab3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xab3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xab319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xab3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10