joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418bf0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0x202
mov dword [esi], 0x4224cc
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x418c1a
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
lea edx, [esi + 8]
xor ecx, ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [edx], ecx
mov eax, esi
pop esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
add esp, 0x190
ret

Function at 0x418c70
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push 0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBeginMutation]
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push 0x418cd0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push 0
push 0
mov dword [ebx + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov eax, esi
pop edi
pop esi
pop ebx
ret 8

Function at 0x418d10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x418d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x418db0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBeginMutation]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 0
push 0
push esi
push 0x418df0
push 0
push 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov eax, esi
pop esi
ret 8

Function at 0x418e30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBeginMutation]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 0
push 0
push esi
push 0x418e70
push 0
push 0
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov eax, esi
pop esi
ret 8

Function at 0x418f80
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBeginMutation]
mov eax, dword [esp + 8]
push 0
push 0
push esi
push 0x418fc0
push 0
push 0
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov eax, esi
pop esi
ret 4

Function at 0x4191e0
Capabilities:
Hash data with md5

Disassembly:
lea edx, [ecx + 0x10]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x419e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, ecx
push edi
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
mov dword [esp + 8], 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x419e80
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419e80
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ecx
ret

Function at 0x419e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, ecx
push edi
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
mov dword [esp + 8], 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x419f00
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419f00
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ecx
ret

Function at 0x41a070
Capabilities:
Create pipe

Disassembly:
mov eax, dword [esp + 8]
push 0
push 0xffffffffffffffff
push eax
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
test eax, eax
je 0x41a094
cmp eax, 0xffffffff
jne 0x41a096
xor eax, eax
ret

Function at 0x41a0d0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
je 0x41a130
cmp ebp, 0xffffffff
je 0x41a130
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x41a126
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x14]
push 0
push eax
push esi
push edi
push ebp
call ebx
test eax, eax
jne 0x41a11a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x218
jne 0x41a130
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41a122
mov eax, dword [esp + 0x14]
sub esi, eax
add edi, eax
test esi, esi
jne 0x41a0f3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x41a140
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
je 0x41a1a0
cmp ebp, 0xffffffff
je 0x41a1a0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x41a196
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x14]
push 0
push eax
push esi
push edi
push ebp
call ebx
test eax, eax
jne 0x41a18a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x218
jne 0x41a1a0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41a192
mov eax, dword [esp + 0x14]
sub esi, eax
add edi, eax
test esi, esi
jne 0x41a163
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x41a3a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
lea eax, [esp + 4]
push 0x104
push eax
mov byte [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
test esi, esi
jbe 0x41a3f2
cmp byte [esp + esi + 3], 0x5c
je 0x41a3d4
mov byte [esp + esi + 4], 0x5c
mov byte [esp + esi + 5], 0
inc esi
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
lea edx, [esp + 4]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, esi
pop esi
add esp, 0x104
ret

Function at 0x41a520
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
lea ecx, [esp]
push 0x104
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea edx, [esp + 0xc]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x14
test eax, eax
je 0x41a554
mov word [eax], 0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcschr]
push esi
lea eax, [esp + 8]
push 0x3a
push eax
call ebx
add esp, 8
test eax, eax
je 0x41a581
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x41a585
pop esi
xor eax, eax
pop ebx
add esp, 0x208
ret
lea esi, [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test esi, esi
je 0x41a5b6
add esi, 2
push 0x5c
push esi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x41a5b6
lea ecx, [esp + 0xc]
push 0
push ecx
mov word [esi], 0
call edi
mov word [esi], 0x5c
jmp 0x41a590
lea edx, [esp + 0xc]
push 0
push edx
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
Function at 0x41a5d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x450
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x464]
test edi, edi
jne 0x41a5f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x450
ret
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push 0x426718
push edi
push 0x425660
lea eax, [esp + 0x368]
push 0x104
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x35c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x41a7cd
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
mov al, byte [esp + 0x21c]
push 0x104
test al, 0x10
lea eax, [esp + 0x24c]
lea ecx, [esp + 0x18]
push eax
push ecx
je 0x41a70f
call ebp
add esp, 0xc
mov esi, 0x426714
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41a691
test cl, cl
je 0x41a68d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41a691
add eax, 2
add esi, 2
test cl, cl
jne 0x41a66d
xor eax, eax
jmp 0x41a696
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a7ab
mov esi, 0x426710
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41a6cb
test cl, cl
je 0x41a6c7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41a6cb
add eax, 2
add esi, 2
test cl, cl
jne 0x41a6a7
xor eax, eax
jmp 0x41a6d0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a7ab
lea eax, [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push edi
push 0x425660
push 0x104
push ecx
call ebx
lea edx, [esp + 0x12c]
push edx
call fcn.0041a5d0
add esp, 0x18
test eax, eax
je 0x41a5e5
jmp 0x41a7ab
call ebp
add esp, 0xc
mov esi, 0x426714
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41a741
test cl, cl
je 0x41a73d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41a741
add eax, 2
add esi, 2
test cl, cl
jne 0x41a71d
xor eax, eax
jmp 0x41a746
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a7ab
mov esi, 0x426710
lea eax, [esp + 0x14]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41a777
test cl, cl
je 0x41a773
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41a777
add eax, 2
add esi, 2
test cl, cl
jne 0x41a753
xor eax, eax
jmp 0x41a77c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a7ab
lea eax, [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push edi
push 0x425660
push 0x104
push ecx
call ebx
add esp, 0x14
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a63e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x450
ret
Function at 0x41a7f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x86c
push ebx
push ebp
mov ebp, dword [esp + 0x878]
push esi
test ebp, ebp
push edi
jne 0x41a812
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x86c
ret
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push 0x426724
push ebp
lea eax, [esp + 0x67c]
push str._s_s
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x674]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x41a95c
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
mov edi, dword [sym.imp.MSVCRT.dll_wcsncpy]
mov al, byte [esp + 0x21c]
push 0x104
test al, 0x10
je 0x41a8db
lea eax, [esp + 0x24c]
lea ecx, [esp + 0x18]
push eax
push ecx
call edi
lea edx, [esp + 0x20]
push 0x426058
push edx
call esi
add esp, 0x14
test eax, eax
je 0x41a936
lea eax, [esp + 0x14]
push 0x42671c
push eax
call esi
add esp, 8
test eax, eax
je 0x41a936
lea ecx, [esp + 0x14]
lea edx, [esp + 0x46c]
push ecx
push ebp
push str._s_s
push edx
call ebx
lea eax, [esp + 0x47c]
push eax
call fcn.0041a7f0
add esp, 0x14
test eax, eax
je 0x41a805
jmp 0x41a936
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x18]
push ecx
push edx
call edi
lea eax, [esp + 0x20]
push 0x426058
push eax
call esi
add esp, 0x14
test eax, eax
je 0x41a936
lea ecx, [esp + 0x14]
push 0x42671c
push ecx
call esi
add esp, 8
test eax, eax
je 0x41a936
lea edx, [esp + 0x14]
lea eax, [esp + 0x46c]
push edx
push ebp
push str._s_s
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x21c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a85f
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x86c
ret
Function at 0x41aae0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x86c
push edi
mov edi, dword [esp + 0x874]
test edi, edi
je 0x41abee
mov eax, dword [esp + 0x878]
cmp word [eax], 0
je 0x41abee
push eax
push 0x42673c
push edi
lea eax, [esp + 0x46c]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [esp + 0x210]
lea edx, [esp + 0x460]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
je 0x41abda
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcsncpy]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x248]
push 0x104
lea ecx, [esp + 0x18]
push eax
push ecx
call ebp
lea edx, [esp + 0x20]
push 0x426058
push edx
call esi
add esp, 0x14
test eax, eax
je 0x41abbc
lea eax, [esp + 0x14]
push 0x42671c
push eax
call esi
add esp, 8
test eax, eax
je 0x41abbc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x674]
push ecx
push edi
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x674]
push eax
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x21c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ab5c
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
add esp, 0x86c
ret
xor eax, eax
pop edi
add esp, 0x86c
ret

Function at 0x41ac80
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
push edi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x13c]
test edi, edi
je 0x41ad14
push eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41ad14
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41ad0d
mov ebx, dword [esp + 0x138]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41acf3
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x41ad0d
cmp dword [esp + 0x14], ebx
jne 0x41acde
mov ecx, 0x4a
lea esi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x128
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x128
ret
Function at 0x41b2b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x230
push esi
push edi
xor eax, eax
mov ecx, 0x8a
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
jne 0x41b2eb
pop edi
xor eax, eax
pop esi
add esp, 0x230
ret
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41b366
mov edi, dword [esp + 0x23c]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
call ebx
lea ecx, [esp + 0x3c]
push eax
push ecx
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0x10
test eax, eax
jne 0x41b355
mov edx, dword [esp + 0x1c]
push edx
push eax
push 0x2000000
call ebp
mov esi, eax
test esi, esi
je 0x41b351
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41b317
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x230
ret

Function at 0x41b380
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x128
lea eax, [esp]
push esi
push eax
push ecx
call fcn.0041ac80
add esp, 8
test eax, eax
je 0x41b3d2
mov edx, dword [esp + 0xc]
push edx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41b3d2
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x128
ret
xor eax, eax
pop esi
add esp, 0x128
ret
Function at 0x2a30195d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2a357578]
jne 0x2a301967
repz ret
jmp fcn.2a341dce

Function at 0x2a309f40
Capabilities:
Terminate thread

Disassembly:
push 0x10
mov eax, 0x2a342707
call fcn.2a30229e
mov esi, ecx
xor edi, edi
cmp dword [esi], 0xb
mov dword [ebp - 0x14], edi
jne 0x2a30a02b
mov edi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0xea60
push dword [esi + 0x2e0]
call edi
or dword [esi + 0x1ac], 0xffffffff
push 1
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
shr eax, 4
add eax, 0x12c
mov dword [ebp - 0x10], eax
jmp 0x2a309fdb
push 0xea60
push dword [esi + 0x2e0]
call edi
push dword [esi + 0x2e0]
xor eax, eax
cmp dword [esi], 0xb
setne al
movzx eax, ax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp word [ebp - 0x1c], 0
jne 0x2a309fe5
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call ebx
shr eax, 4
cmp eax, dword [ebp - 0x10]
jb 0x2a309fa5
push 0xea60
push dword [esi + 0x2e0]
call edi
cmp dword [esi], 0xb
jne 0x2a30a00a
xor edi, edi
inc edi
push edi
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_TerminateThread]
mov dword [ebp - 0x14], edi
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [esi + 0x2e0], 0
xor edi, edi
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x1ac]
mov dword [ebx], edi
cmp eax, edi
je 0x2a30a05c
cmp word [ebp - 0x14], di
jne 0x2a30a059
push ebx
push eax
call fcn.2a31e32f
cmp dword [ebx], edi
jne 0x2a30a05c
push ebx
push dword [esi + 0x18]
mov dword [esi + 0x1c], edi
call fcn.2a31e32f
jmp 0x2a30a05c
mov dword [esi + 0x1c], edi
cmp word [esi + 0x14c], di
je 0x2a30a0c8
push edi
push edi
lea ecx, [ebp - 0x18]
call fcn.2a31e32f
mov ebx, dword [0x2a358a70]
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [0x2a358a74]
push str.Cstring
mov dword [ebp - 4], edi
call dword [eax + 0x14]
movzx eax, ax
pop ecx
push eax
push edi
call dword [ebx + 0xd0]
add esp, 0x10
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.2a31e32f
cmp dword [ebp - 0x14], edi
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call fcn.2a31e32f
test al, al
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call fcn.2a330802
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a3032b3
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x2a30a0df
push eax
mov eax, dword [0x2a358780]
call dword [eax + 0x284]
pop ecx
mov dword [esi + 0x3c], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x2a30a107
push eax
mov eax, dword [0x2a358a90]
cmp word [esi + 0x1a2], di
je 0x2a30a0fd
call dword [eax + 0x124]
jmp 0x2a30a103
call dword [eax + 0x11c]
pop ecx
mov dword [esi + 0x24], edi
mov dword [esi], 2
call fcn.2a3026e6
ret
Function at 0x2a31e32f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x2a31e33e
pop dword [ebp - 0x20]
mov eax, 0x4da7b342
sub eax, 0x2375d004
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x55912f7e
add dword [ebp - 0x30], 0xf8c115cd
mov dword [ebp - 0x2c], 0x14bc8b2e
sub dword [ebp - 0x2c], 0xe2893ee9
mov dword [ebp - 0x28], 0x85f25adc
add dword [ebp - 0x28], 0xc659e952
mov dword [ebp - 0x24], 0xdd4a13d6
sub dword [ebp - 0x24], 0xdd4a13d6
lea eax, [ebp - 0x30]
push eax
mov eax, 0x48eb764d
add eax, 0xe148f9ff
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x6e92a1e8
sub dword [ebp - 0x30], 0xfa203892
mov dword [ebp - 0x2c], 0x7812c1b4
add dword [ebp - 0x2c], 0xc9599fc1
mov dword [ebp - 0x28], 0xf272c813
add dword [ebp - 0x28], 0x70fca459
mov dword [ebp - 0x24], 0x95ddf760
add dword [ebp - 0x24], 0x6a2208a0
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x897087ae
add eax, 0xa0c3e8a6
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x409f6
push 0
call eax
mov ecx, 0xc18d3644
sub ecx, 0xc18d00bd
mov ebx, eax
mov edi, 0xe50c4ec0
add edi, 0x452a6b40
add edi, dword [ebp - 0x20]
mov edx, 0xd8b7445f
sub edx, 0x93ff5c8d
xor dword [ebp - 0x1c], esi
mov esi, dword [edi]
xor dword [ebp - 0x14], 0xd5194fa9
sub esi, edx
mov dword [ebp - 4], 0xbc7115b2
mov dword [ebx], esi
sub dword [ebp - 4], 0xad7b013f
add ebx, 0x205528af
add ebx, 0xdfaad755
add edi, 0xef7a11a2
sub edi, 0xef7a119e
loop 0x2a31e460
add eax, 0x97e7474a
sub eax, 0x97e67e5b
xor ebx, ebx
add ebx, eax
add eax, 0x4f16e9a3
add eax, 0xb0e91662
mov ecx, 0x6cb4509a
sub ecx, 0x4284509a
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x2a323cd6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x2a3442a0
call fcn.2a30372f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x2a323d84
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.2a31e32f
add esp, 0xc
test eax, eax
js 0x2a323d84
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x2a323d6a
push edi
call fcn.2a3203ae
pop ecx
test al, al
je 0x2a323d6a
mov eax, edi
call fcn.2a341a00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a323d76
push edi
lea ecx, [ebp - 0x428]
call fcn.2a31e32f
push 3
push edi
push esi
push eax
call fcn.2a31e32f
cmp eax, ebx
jne 0x2a323dc1
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323d9d
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2a31fe2e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2a303768
ret 0x10
push 2
push ebx
push eax
call fcn.2a3212fd
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x2a323de2
call fcn.2a31f619
mov esi, eax
jmp 0x2a323eac
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x2a323e05
call fcn.2a31f619
jmp 0x2a323e9e
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x2a323dfb
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x2a323e35
mov esi, 0x8007000e
jmp 0x2a323ea0
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a31e32f
mov dword [ebp - 4], 1
jmp 0x2a323e63
cmp dword [ebp - 0x418], ebx
je 0x2a323e2e
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.2a31e32f
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.2a31e32f
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323da2
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
jmp 0x2a323da2