joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420838
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x420a75
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00408748
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
test ebx, ebx
jne 0x42090f
cmp dword [ebp - 0x14], 0
jne 0x42090f
xor edx, edx
mov eax, 6
call fcn.00429680
test al, al
je 0x42090f
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x42090f
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.004097a4
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00420610
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00408b28
mov byte [ebp - 9], 1
jmp 0x420a57
test ebx, ebx
jne 0x42091d
cmp dword [ebp - 0x14], 0
je 0x420a0b
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x420a0b
xor eax, eax
push ebp
push 0x420a04
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4209ed
xor eax, eax
push ebp
push 0x4209e6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.00412ef4
test eax, eax
jbe 0x4209cf
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.004097a4
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00420610
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00408b28
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4209ed
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420a0b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x420a57
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.0042074c
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00408b28
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x420a57
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00420610
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00408b28
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420a7c
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.004087a8
ret
Function at 0x420a88
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.00429680
test al, al
je 0x420b50
xor edx, edx
mov eax, ebx
call fcn.0042269c
test al, al
je 0x420b50
mov eax, ebx
call fcn.004223cc
test al, 0x20
je 0x420b50
mov eax, ebx
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x420b50
test ah, 4
je 0x420b50
test al, 0x10
je 0x420aef
mov edi, 0x2000000
jmp 0x420af1
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.004096e8
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x420b50
xor eax, eax
push ebp
push 0x420b49
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00420838
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420b50
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x420fb8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x421011
test eax, edx
je 0x421014
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420fcf
movzx eax, word [eax]
sub eax, ecx
jmp 0x420ff6
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x420ff7
add ecx, 4
js 0x420fe7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420ff4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420ff6
xor eax, eax
ret
test eax, eax
je 0x421020
test edx, edx
jne 0x420fc0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4223cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x422530
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x42236c]
call fcn.0040ae4c
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x42239c]
call fcn.0040ae4c
add esp, 4
movzx ebx, byte [0x422540]
mov dl, 1
mov eax, esi
call fcn.00422734
test al, al
jne 0x422446
mov dl, 1
mov eax, esi
call fcn.0042269c
test al, al
je 0x4224d0
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00422eec
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00429bdc
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004096e8
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4224cb
test byte [ebp - 0x14], 1
je 0x422496
or bl, 1
test byte [ebp - 0x14], 2
je 0x42249f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x4224a8
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x4224bc
dec eax
je 0x4224c1
dec eax
je 0x4224c6
dec eax
jne 0x4224f1
or bl, 0x10
jmp 0x4224f1
or bl, 4
jmp 0x4224f1
or bl, 8
jmp 0x4224f1
call fcn.0042a3f8
lea edx, [ebp - 0x20]
mov eax, dword [0x9f2350]
call fcn.0040ca1c
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41affc]
call fcn.004287c4
call fcn.00407d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422537
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004087a8
lea eax, [ebp - 0xc]
mov edx, dword [0x42239c]
call fcn.0040af70
lea eax, [ebp - 8]
mov edx, dword [0x42236c]
call fcn.0040af70
lea eax, [ebp - 4]
call fcn.00408748
ret

Function at 0x42259c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x4225c9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x42269c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.004096e8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422706
test ah, 4
je 0x4226ff
test bl, bl
jne 0x4226c4
mov al, 1
jmp 0x42272d
test al, 0x10
je 0x4226cc
xor eax, eax
jmp 0x42272d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x4226f0
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x42272d
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42272d
test al, 0x10
sete al
jmp 0x42272d
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x422727
cmp ebx, 3
je 0x422727
cmp ebx, 0x7b
je 0x422727
mov eax, esi
call fcn.0042265c
test al, al
jne 0x42272b
xor eax, eax
jmp 0x42272d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x422734
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.004096e8
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4227db
test esi, 0x400
jne 0x422770
test esi, 0x10
setne bl
jmp 0x42280b
cmp byte [esp], 0
je 0x4227a4
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x42280b
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x42280b
test esi, 0x10
je 0x4227b0
mov bl, 1
jmp 0x42280b
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x4227d7
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x42280b
mov bl, 1
jmp 0x42280b
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x422805
cmp eax, 3
je 0x422805
cmp eax, 0xa1
je 0x422805
cmp eax, 0x7b
je 0x422805
cmp eax, 0x35
je 0x422805
cmp eax, 0x15
je 0x422805
cmp eax, 0x43
jne 0x422809
xor ebx, ebx
jmp 0x42280b
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4228cc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x422971
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x422956
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00420a88
test al, al
je 0x422956
mov eax, dword [ebp - 4]
call fcn.004230d4
test al, al
je 0x422946
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00422e34
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00429bdc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00409954
mov eax, dword [ebp - 4]
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422978
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004087a8
ret
Function at 0x422a68
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x422b13
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x422af8
test edi, 0x400
je 0x422aef
lea edx, [ebp - 4]
mov eax, esi
call fcn.00420a88
test al, al
je 0x422aef
mov eax, dword [ebp - 4]
call fcn.004230d4
test al, al
je 0x422adf
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00422e34
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00429bdc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00409954
mov eax, dword [ebp - 4]
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 1
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422b1a
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004087a8
ret

Function at 0x422c50
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.004096e8
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x422ca5
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422c9f
test ah, 4
je 0x422c9f
test al, 0x10
je 0x422c9f
mov eax, esi
call fcn.004096e8
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x422ca5
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x427580
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4275b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004088d0
jmp 0x4275c2
mov eax, ebx
mov edx, esi
call fcn.00408b28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4275cc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4275ee
movzx eax, word [esp]
jmp 0x4275f0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x428654
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x428779
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042845c
mov esi, eax
mov eax, dword [0x9f21e4]
cmp byte [eax], 0
je 0x428721
mov eax, dword [0x9f1ce8]
call fcn.00405ab4
call fcn.0040500c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x428624]
call fcn.0040ae4c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x428794
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42875d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x9f1c20]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x9f5c54]
call fcn.0040b078
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428780
lea eax, [ebp - 4]
mov edx, dword [0x428624]
call fcn.0040af70
ret

Function at 0x4296a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x429776
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408b70
lea eax, [ebp - 4]
call fcn.00408d24
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004096e8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x429760
mov eax, ebx
call fcn.00404e98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x429759
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004096e8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x429743
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x429788
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x429743
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429760
mov eax, dword [ebp - 0x10]
call fcn.00404eb4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42977d
lea eax, [ebp - 4]
call fcn.00408748
ret
Function at 0x472a3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x472a44
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4abdf0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4abe8e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4abe52
cmp byte [ebx + 0x11], 0
jne 0x4abe52
cmp byte [ebx + 0x3c], 0
jne 0x4abe52
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4abe73
lea edx, [ebp - 4]
mov eax, dword [0x9f2124]
call fcn.0040ca1c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4817f8]
call fcn.004287c4
call fcn.00407d8c
jmp 0x4abe73
lea edx, [ebp - 8]
mov eax, dword [0x9f2124]
call fcn.0040ca1c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4817f8]
call fcn.004287c4
call fcn.00407d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abe95
lea eax, [ebp - 8]
mov edx, 2
call fcn.004087a8
ret

Function at 0x4ac1c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4ac20e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004abd3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ac227
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ac230
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004abd3c
dec esi
jne 0x4ac252
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4ae73c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x9f8438
cmp dword [edi], 0
jne 0x4ae7b8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x9f8434]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x9bb744
mov ecx, 2
call fcn.004050e4
mov edx, 0x4ae714
lea eax, [esi + 5]
call fcn.004ae734
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004ae734
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4ae78d
mov dword [0x9f8434], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4c5cc4
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00405c80
mov dword [esp], 0x3c
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x500
mov eax, 0x4c5d30
mov dword [esp + 0xc], eax
mov eax, esi
call fcn.004096e8
mov dword [esp + 0x10], eax
mov eax, edi
call fcn.004096e8
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 1
push esp
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x4c5d27
call fcn.0042a3f8
add esp, 0x3c
pop edi
pop esi
pop ebx
ret

Function at 0x4db754
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4db8ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
je 0x4db883
mov eax, dword [ebx + 4]
mov dl, 1
call fcn.0042269c
test al, al
je 0x4db883
push 0x20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x47cfc4]
call fcn.0049fa94
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4db87c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.0049f224
sub esi, eax
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x402c78]
call fcn.0040ae4c
add esp, 4
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042ba14
mov esi, eax
mov dl, 1
mov eax, dword [0x47a134]
call fcn.0049f1c4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4db85f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 4]
test edi, edi
je 0x4db820
sub edi, 4
mov edi, dword [edi]
sub edi, esi
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0042c4c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004dbb28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db866
mov eax, dword [ebp - 8]
call fcn.004069e4
ret
mov eax, ebx
call fcn.004db558
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db8b5
lea eax, [ebp - 0x10]
call fcn.00408748
lea eax, [ebp - 4]
mov edx, dword [0x402c78]
call fcn.0040af70
ret
Function at 0x4def38
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4df0f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408b70
mov eax, dword [ebp - 4]
call fcn.004de94c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4def8a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00409b6c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004df534
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4df069
xor eax, eax
push ebp
push 0x4df062
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004deb08
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004df104
test al, al
je 0x4df040
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004088d0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4df040
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004096e8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004dea68
test al, al
je 0x4df03a
mov eax, dword [ebp - 8]
call fcn.004096e8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00409750
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004def38
dec ebx
cmp ebx, 0xffffffff
jne 0x4defe9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df069
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004deb08
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x9f84e8], 0
je 0x4df0a9
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.004096e8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004deaf4
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004dea68
mov ebx, eax
jmp 0x4df0d0
mov eax, dword [ebp - 4]
call fcn.004096e8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004deaf4
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004dea68
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df0fa
lea eax, [ebp - 0x3c]
call fcn.00408748
lea eax, [ebp - 8]
mov edx, 2
call fcn.004087a8
ret