joyce8/EMBER2024-capa huggingface dataset:
Function at 0x340000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x44f584]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push esi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x34004b
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x3400b5
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea esp, [esp]
lea ecx, [esp + 0x34]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x340096
test dl, dl
je 0x340092
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x340096
add eax, 2
add ecx, 2
test dl, dl
jne 0x340076
xor eax, eax
jmp 0x34009b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x3400ad
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x340070
jmp 0x3400b5
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
Function at 0x3405a0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x340634
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3405b7
sub eax, edx
je 0x340634
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.003b6830
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
xor ecx, ecx
push ebx
mov dword [ebp - 0x70], 0x44
mov word [ebp - 0x40], cx
mov dword [ebp - 0x44], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x34063c
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x34062a
push eax
call esi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x340634
push eax
call esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x340650
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x44f584]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x340697
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x3406c8
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
push 0
and ecx, 0xffffff00
add ecx, 0x200
push ecx
push esi
push ebx
call eax
jmp 0x3406d0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x3406ee
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebp + 0x10]
neg eax
sbb eax, eax
lea edx, [esp + 0x14]
push edx
and eax, 0x100
add eax, 0x20019
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x34071e
xor ecx, ecx
cmp eax, 2
jmp 0x340825
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax - 1], 0x5c
lea edi, [esi + eax]
je 0x340736
mov byte [edi], 0x5c
inc edi
mov byte [edi], 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x3407e5
lea eax, [esp + 0x28]
sub eax, edi
mov dword [esp + 0x18], eax
mov edx, 0x208
mov eax, edi
lea esp, [esp]
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x34079d
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + eax]
test cl, cl
je 0x34079d
mov byte [eax], cl
inc eax
dec edx
jne 0x340780
jmp 0x3407a1
test edx, edx
jne 0x3407a2
dec eax
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
mov byte [eax], 0
call fcn.00340650
add esp, 0xc
test eax, eax
je 0x3407e5
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push eax
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x340772
mov byte [edi - 1], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x340819
movzx edx, byte [ebp + 0x10]
neg edx
sbb edx, edx
push 0
and edx, 0xffffff00
add edx, 0x200
push edx
push esi
push ebx
call eax
jmp 0x340821
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
Function at 0x342600
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.0034f6b0
test al, al
jne 0x342640
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xbb8
call ebx
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x342649
mov ecx, dword [ebp + 8]
call fcn.0034f6b0
test al, al
je 0x342622
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x343100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41aaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebx + 8]
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKITEM.0
call fcn.003ee720
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x344110
Capabilities:
Extract resource via kernel32 functions
Hash data with md5
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x44f584]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [esp + 0x10], eax
jb 0x344140
mov eax, dword [eax]
push 0x43ec08
push eax
call fcn.003b4378
add esp, 8
test eax, eax
je 0x344177
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x457168]
movzx eax, si
push edi
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x3442cb
mov edx, dword [0x457168]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x3442cb
mov eax, dword [0x457168]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x3442c0
mov ecx, dword [esp + 0x10]
push 0x43e584
call fcn.00332a50
push eax
call fcn.003b4378
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x3442c0
push edi
mov dword [esp + 0x18], 1
call fcn.003b30b5
add esp, 4
push edi
mov esi, eax
push ebx
push esi
mov dword [esp + 0x24], esi
call fcn.003b68b0
add esp, 0xc
push edi
mov ecx, esi
call fcn.00341270
xor eax, eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
push esi
mov eax, edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.00352e60
add esp, 4
lea esi, [esp + 0x20]
lea ebx, [esp + 0x78]
call fcn.00352f20
call fcn.003543d0
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
push ecx
push edi
push 1
push ebx
call fcn.003b453e
push ebx
mov esi, eax
call fcn.003b3498
add esp, 0x14
cmp esi, edi
je 0x3442b3
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
push edx
call fcn.003b4869
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret
Function at 0x348fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41de9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 3
push 0x68
call fcn.003b2640
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x349004
mov ecx, dword [ebp + 0x10]
push ecx
push eax
call fcn.00362200
jmp 0x349006
xor eax, eax
test eax, eax
setne cl
mov dword [ebp - 4], 0xffffffff
test cl, cl
jne 0x349035
push 0x64
call edi
mov edx, esi
dec esi
test edx, edx
jne 0x348fe0
lea eax, [edx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.00374670
push 0
push 0
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call fcn.003b50fe
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 0x18
test eax, eax
jne 0x34908e
test esi, esi
je 0x349077
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x3490c3
lea ecx, [ebp - 0x10]
push ecx
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x349930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41de9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x30
call fcn.003b2640
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x34997b
mov ecx, dword [ebp + 8]
push ecx
push eax
call fcn.00368630
mov edi, eax
jmp 0x34997d
xor edi, edi
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00374670
push 0
push 0
push eax
push 0x347c70
push 0
push 0
call fcn.003b50fe
mov edi, dword [edi + 0x20]
add esp, 0x18
mov esi, eax
test edi, edi
jne 0x3499e2
test esi, esi
je 0x3499c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x349a19
lea edx, [ebp + 8]
push edx
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x349a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41de9b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x30
call fcn.003b2640
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x349a8b
mov ecx, dword [ebp + 8]
push ecx
push eax
call fcn.00369720
mov esi, eax
jmp 0x349a8d
xor esi, esi
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00374670
push 0
push 0
push eax
push 0x348800
push 0
push 0
call fcn.003b50fe
mov edi, eax
mov eax, dword [esi + 0x18]
add esp, 0x18
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x18], 0
jne 0x349afc
test edi, edi
je 0x349ae3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x349b2b
lea edx, [ebp + 8]
push edx
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x349b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42117e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x44f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x28
call fcn.003b2640
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x349bd5
mov byte [ebp - 4], 1
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::OPDELETE.0
call fcn.003ee720
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, 0x4506e0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [0x4572e4]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0x3e8
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], bl
mov ecx, esi
mov dword [esi + 0x24], ebx
call fcn.0036ca00
jmp 0x349bd7
xor esi, esi
push ebx
push ebx
push esi
push 0x348ab0
push ebx
push ebx
call fcn.003b50fe
add esp, 0x18
cmp eax, ebx
je 0x349c09
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x34ee30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41fb75
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x44f584]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x44f584]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x30]
mov esi, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x68]
xor edi, edi
test eax, eax
jle 0x34eef9
cmp edi, eax
jl 0x34eec8
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f], 0
call fcn.003cb6d0
mov dword [esp + 0x80], edi
or ebx, 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x1c], ebx
call fcn.003cb9c0
push eax
lea ecx, [esp + 0x17]
call fcn.003cbc10
mov dword [esp + 0x80], 0xffffffff
test bl, 1
je 0x34eee4
lea ecx, [esp + 0x20]
and ebx, 0xfffffffe
call fcn.003cb700
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx + edi*4]
mov edx, dword [esp + 0x1c]
cmp dword [eax + 0x30], edx
je 0x34ef14
inc edi
cmp edi, dword [esi + 0x68]
jl 0x34eec8
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
lea edi, [esi + 0x64]
cmp eax, ecx
jge 0x34ef7f
mov ecx, dword [edi]
mov esi, dword [ecx + eax*4]
inc eax
mov dword [edi + 4], eax
jmp 0x34f00a
cmp edi, dword [esi + 0x68]
jl 0x34ef5b
push 0x340
push str.D:workTpsp
push 3
lea ecx, [esp + 0x54]
mov byte [esp + 0x1e], 0
call fcn.003cb6d0
mov dword [esp + 0x80], 1
or ebx, 2
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x1c], ebx
call fcn.003cb9c0
push eax
lea ecx, [esp + 0x16]
call fcn.003cbc10
mov dword [esp + 0x80], 0xffffffff
test bl, 2
je 0x34ef74
lea ecx, [esp + 0x48]
call fcn.003cb700
mov eax, dword [esi + 0x64]
mov esi, dword [eax + edi*4]
jmp 0x34f00a
mov eax, dword [edi + 0xc]
cmp ecx, eax
jne 0x34ef8f
inc eax
push eax
mov ecx, edi
call fcn.003cbf50
inc dword [edi + 8]
push 0x40
call fcn.003b2640
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
xor ebx, ebx
mov dword [esp + 0x80], 2
cmp esi, ebx
je 0x34eff2
mov byte [esp + 0x80], 3
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKITEM.0
call fcn.003ee720
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
jmp 0x34eff4
xor esi, esi
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [eax + edx*4], esi
inc dword [edi + 4]
cmp dword [esp + 0x14], esi
je 0x34f022
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
call fcn.0035f500
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret 4
Function at 0x3500e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c970
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x44f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
movzx ecx, cl
push ebx
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0x10]
push eax
push ebx
and ecx, 0x100
add ecx, 0xf003f
push ecx
push ebx
push ebx
push ebx
push str.SOFTWARETpspCln
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea esi, [ebx + 0x10]
cmp eax, ebx
je 0x35018c
mov byte [ebp - 4], bl
cmp dword [ebp + 0x1c], esi
jb 0x350152
mov edx, dword [ebp + 8]
push edx
call fcn.003b25e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], esi
jb 0x350177
mov eax, dword [ebp + 0x24]
push eax
call fcn.003b25e4
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
mov ecx, dword [ebp + 0x24]
cmp dword [ebp + 0x38], esi
jae 0x350197
lea ecx, [ebp + 0x24]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x3501a2
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x34]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x350207
mov byte [ebp - 4], bl
cmp dword [ebp + 0x1c], esi
jb 0x3501cd
mov ecx, dword [ebp + 8]
push ecx
call fcn.003b25e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], esi
jb 0x350177
mov edx, dword [ebp + 0x24]
push edx
call fcn.003b25e4
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
cmp dword [ebp + 0x1c], esi
jb 0x350225
mov ecx, dword [ebp + 8]
push ecx
call fcn.003b25e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], esi
jb 0x35024a
mov edx, dword [ebp + 0x24]
push edx
call fcn.003b25e4
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
Function at 0x352c30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41c7a9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44f584]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov eax, dword [0x44f584]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp esi, dword [edi + 4]
jl 0x352cac
push 0x338
push str.D:workTpsp
push 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], bl
call fcn.003cb6d0
mov dword [esp + 0x48], ebx
mov ebx, 1
push str.CHECK_failed:__index_____size___:
mov ecx, eax
mov dword [esp + 0x10], ebx
call fcn.003cb9c0
push eax
lea ecx, [esp + 0xf]
call fcn.003cbc10
mov dword [esp + 0x48], 0xffffffff
test bl, 1
je 0x352cc9
lea ecx, [esp + 0x10]
call fcn.003cb700
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
jmp 0x352cce
mov ecx, dword [edi]
mov eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret

Function at 0x3536e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x44f584]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00352e60
add esp, 4
lea esi, [esp + 8]
call fcn.00352f20
mov ecx, dword [esp + 0x64]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.003b2239
mov esp, ebp
pop ebp
ret 8