joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a4c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov esi, ecx
mov edi, edx
push ebx
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x114], edi
mov byte [ebp - 0x110], bl
call fcn.004a8c80
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], ebx
je 0x419ad8
cmp byte [esi], bl
je 0x419ad8
cmp edi, ebx
je 0x419ad8
cmp byte [edi], bl
je 0x419ad8
mov edi, 0x61a8
push edi
push 0x20
push 3
push 1
mov eax, esi
call fcn.00418959
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 0x124], eax
jne 0x419ae9
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
leave
ret
push dword [ebp - 0x114]
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00477a48
pop ecx
mov esi, eax
call fcn.004784d6
mov edx, esi
call fcn.00477a16
test eax, eax
jne 0x419b43
mov eax, esi
push eax
call fcn.004a7f30
pop ecx
mov ecx, esi
dec ecx
cmp byte [eax + ecx], 0x5c
jne 0x419b43
push dword [ebp - 0x120]
mov ecx, 0x104
mov eax, esi
call fcn.00477a48
pop ecx
push dword [ebp - 0x114]
call fcn.00478128
pop ecx
push edi
push 0x80000020
push 2
push 6
lea eax, [ebp - 0x110]
call fcn.00418959
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 0x120], eax
jne 0x419b7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x124]
call fcn.0041c426
jmp 0x419ad8
mov esi, 0x100000
push esi
call fcn.004a9237
mov edi, eax
cmp edi, ebx
pop ecx
je 0x419c14
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x11c], ebx
push ebx
lea eax, [ebp - 0x118]
push eax
push esi
push edi
push dword [ebp - 0x124]
mov dword [ebp - 0x118], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x419bca
inc dword [0x51a0a0]
inc dword [ebp - 0x11c]
cmp dword [ebp - 0x118], ebx
jbe 0x419c0b
push ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x118]
mov dword [ebp - 0x128], ebx
push edi
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x419c03
inc dword [0x51a0a0]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x118], ebx
ja 0x419b9e
push edi
call fcn.004a795c
pop ecx
jmp 0x419c1e
mov dword [ebp - 0x114], 1
mov esi, dword [ebp - 0x120]
call fcn.0041c426
mov esi, dword [ebp - 0x124]
call fcn.0041c426
cmp dword [ebp - 0x11c], ebx
jne 0x419ad8
cmp dword [ebp - 0x114], ebx
jne 0x419ad8
xor eax, eax
inc eax
jmp 0x419ada

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x419ee1
test al, 0x10
je 0x419ee1
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x41a03d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x35c
mov eax, dword [0x5025d0]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [esp + 0x25d]
push ebx
push eax
mov byte [esp + 0x264], bl
call fcn.004a8c80
push esi
lea eax, [esp + 0x161]
push ebx
push eax
mov byte [esp + 0x168], bl
call fcn.004a8c80
push 0x13c
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.004a8c80
add esp, 0x24
cmp edi, ebx
je 0x41a182
cmp byte [edi], bl
je 0x41a182
push edi
lea ecx, [esi + 1]
lea eax, [esp + 0x25c]
call fcn.00477a48
push eax
lea eax, [esp + 0x158]
push eax
call fcn.004a8050
add esp, 0xc
lea esi, [esp + 0x150]
call fcn.00477d45
mov eax, dword [0x519dd4]
lea ecx, [eax + 0xf]
mov eax, dword [0x519dd0]
cmp eax, ecx
jle 0x41a0fa
mov dword [0x519dd4], eax
inc eax
mov dword [0x519dd0], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
dec dword [0x519dd0]
mov esi, eax
cmp esi, 0xffffffff
je 0x41a182
cmp byte [esp + 0x3c], 0x2e
je 0x41a16b
lea edx, [esp + 0x3c]
call fcn.00477a16
test eax, eax
jne 0x41a16b
cmp byte [esp + 0x150], 0x2a
jne 0x41a19b
cmp byte [esp + 0x152], 0x2a
jne 0x41a19b
cmp byte [esp + 0x151], 0x3f
je 0x41a19b
movsx eax, byte [esp + 0x151]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004aaad0
test eax, eax
pop ecx
pop ecx
jne 0x41a19b
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a120
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8565
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x41a184
Function at 0x41a1a7
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], ebx
je 0x41a2db
cmp byte [edi], 0x30
je 0x41a2db
mov esi, 0x104
push esi
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.004a8c80
push edi
mov ecx, esi
lea eax, [ebp - 0x74]
call fcn.00477a48
push 0x22
mov edi, eax
call fcn.00478368
add esp, 0x14
cmp dword [ebp + 0x9c], ebx
jbe 0x41a22f
push 0xf7b
push str..File.c
mov eax, edi
push eax
push 0x41a324
mov ecx, str.CreateDirectorySuper
call fcn.0041c27b
mov esi, eax
jmp 0x41a231
xor esi, esi
cmp esi, ebx
jne 0x41a265
push ebx
push dword [ebp - 0x7c]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
je 0x41a260
cmp eax, 0x50
je 0x41a260
cmp eax, 0xb7
je 0x41a260
cmp eax, 0x4c7
je 0x41a260
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41a2db
xor eax, eax
inc eax
jmp 0x41a2dd
call fcn.0049a965
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], ebx
jmp 0x41a299
cmp dword [ebp - 0x78], 0x103
jne 0x41a2b3
call fcn.0049a965
sub eax, dword [ebp - 0x80]
cmp eax, dword [ebp + 0x9c]
ja 0x41a2a6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x78]
push eax
push esi
call edi
test eax, eax
jne 0x41a278
jmp 0x41a2b3
mov dword [ebp - 0x78], ebx
mov dword [0x519dcc], 0x5b4
call fcn.0041c426
push dword [0x519dcc]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
cmp dword [ebp - 0x78], ebx
jne 0x41a260
mov eax, dword [ebp - 0x7c]
call fcn.0041a2f5
push dword [0x519dcc]
call esi
xor eax, eax
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
add ebp, 0x94
leave
ret
Function at 0x41a3e7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x5025d0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, edx
push edi
mov ebx, ecx
mov dword [esp + 0x10], esi
call fcn.00477a16
test eax, eax
je 0x41a42c
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8565
mov esp, ebp
pop ebp
ret
call fcn.0049a965
push ebx
mov edi, 0x80
push edi
mov dword [esp + 0x1c], eax
push 3
push 0x80000000
mov eax, esi
call fcn.00418959
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x41a4b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
mov esi, eax
je 0x41a46d
call fcn.0049a965
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x41a4ad
mov eax, dword [esp + 0x10]
push ebx
push edi
push 3
push 0x2000000
call fcn.00418959
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x41a4b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
mov esi, eax
je 0x41a4a2
call fcn.0049a965
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x41a4ad
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00419ee4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41a415
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x41a4d6
call fcn.0041c426
jmp 0x41a415
cmp eax, ebx
jbe 0x41a507
push ebx
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a4fb
cmp dword [esp + 0x10], ebx
jne 0x41a507
call fcn.0041c426
mov eax, ebx
jmp 0x41a417
mov ebx, dword [esp + 0x14]
jmp 0x41a4fb
Function at 0x41ae4f
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
mov edx, edi
call fcn.00477a16
test eax, eax
je 0x41ae67
xor eax, eax
jmp 0x41aeeb
xor ecx, ecx
mov edx, edi
call fcn.0041a3e7
mov esi, eax
test esi, esi
je 0x41ae60
push 0x1385
push str..File.c
mov edx, 0x4c722c
mov ecx, edi
call fcn.0041bb64
mov ebp, eax
test ebp, ebp
pop ecx
pop ecx
je 0x41ae60
lea eax, [esi + 0xe]
push eax
call fcn.004a9237
mov edi, eax
test edi, edi
pop ecx
jne 0x41aead
mov ecx, ebp
call fcn.0041bf91
jmp 0x41ae60
push ebp
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.004a8fc5
mov ebx, eax
add esp, 0x10
cmp ebx, esi
jae 0x41aed0
push ebp
call fcn.004a8cfa
test eax, eax
pop ecx
jne 0x41aed0
xor ebx, ebx
mov ecx, ebp
call fcn.0041bf91
test ebx, ebx
jne 0x41aee7
push edi
call fcn.004a795c
pop ecx
jmp 0x41ae60
mov dword [edi], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x41af8e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
mov esi, edx
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.004a8c80
add esp, 0xc
test esi, esi
je 0x41b06f
mov edx, edi
call fcn.00477a16
test eax, eax
jne 0x41b06f
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00477a48
mov esi, eax
call fcn.00477d45
mov eax, esi
push edi
push eax
call fcn.004a9160
add esp, 0xc
test eax, eax
jne 0x41b02b
push edi
push eax
push eax
call fcn.0045bc06
pop ecx
pop ecx
push eax
push 0x4c8500
mov eax, esi
push 0x104
push eax
call fcn.00478fcf
add esp, 0x14
mov edi, esi
push 0x14c4
push str..File.c
mov edx, 0x4c722c
mov ecx, edi
call fcn.0041bb64
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x41b06f
push edi
push 1
push 0x64
push dword [ebp - 0x114]
call fcn.004a8fc5
mov esi, eax
add esp, 0x10
neg esi
sbb esi, esi
mov ecx, edi
neg esi
call fcn.0041bf91
mov eax, esi
jmp 0x41b071
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a8565
leave
ret
Function at 0x41b07f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x103
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.004a8c80
add esp, 0xc
mov edx, edi
call fcn.00477a16
test eax, eax
je 0x41b0ce
xor eax, eax
jmp 0x41b16e
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00477a48
pop ecx
mov esi, eax
call fcn.00477d45
mov eax, esi
push edi
push eax
call fcn.004a9160
test eax, eax
pop ecx
pop ecx
jne 0x41b118
push edi
push eax
push eax
call fcn.0045bc06
pop ecx
pop ecx
push eax
push 0x4c8500
mov eax, esi
push 0x104
push eax
call fcn.00478fcf
add esp, 0x14
mov edi, esi
cmp dword [ebp - 0x114], 0
je 0x41b163
push 0x14e4
push str..File.c
mov edx, 0x4c7368
mov ecx, edi
call fcn.0041bb64
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x41b0c7
push edi
push 1
push 0x64
push dword [ebp - 0x114]
call fcn.004a7ca6
mov esi, eax
add esp, 0x10
neg esi
sbb esi, esi
mov ecx, edi
neg esi
call fcn.0041bf91
jmp 0x41b16c
mov eax, edi
call fcn.004199a1
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a8565
leave
ret

Function at 0x41b199
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x114], esi
mov edi, edx
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x110], bl
call fcn.004a8c80
add esp, 0xc
cmp edi, ebx
jne 0x41b1e6
lea edi, [ebp - 0x118]
mov edx, esi
call fcn.00477a16
test eax, eax
je 0x41b1fa
mov dword [edi], ebx
xor eax, eax
jmp 0x41b295
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00477a48
mov esi, eax
call fcn.00477d45
push dword [ebp - 0x114]
mov eax, esi
push eax
call fcn.004a9160
add esp, 0xc
test eax, eax
jne 0x41b254
push dword [ebp - 0x114]
push ebx
push ebx
call fcn.0045bc06
pop ecx
pop ecx
push eax
push 0x4c8500
mov eax, esi
push 0x104
push eax
call fcn.00478fcf
mov eax, esi
add esp, 0x14
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push 0x151c
push str..File.c
mov edx, 0x4c722c
call fcn.0041bb64
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [edi], ebx
je 0x41b1f3
push esi
push 1
push 4
push edi
call fcn.004a8fc5
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0041bf91
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
leave
ret
Function at 0x41b2a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.004a8c80
add esp, 0xc
mov edx, edi
call fcn.00477a16
test eax, eax
je 0x41b2ea
xor eax, eax
jmp 0x41b36e
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00477a48
mov esi, eax
call fcn.00477d45
mov eax, esi
push edi
push eax
call fcn.004a9160
add esp, 0xc
test eax, eax
jne 0x41b334
push edi
push eax
push eax
call fcn.0045bc06
pop ecx
pop ecx
push eax
push 0x4c8500
mov eax, esi
push 0x104
push eax
call fcn.00478fcf
add esp, 0x14
mov edi, esi
push 0x1542
push str..File.c
mov edx, 0x4c7368
mov ecx, edi
call fcn.0041bb64
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x41b2e3
push esi
push 1
lea eax, [ebp + 8]
push 4
push eax
call fcn.004a7ca6
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0041bf91
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a8565
leave
ret
Function at 0x41b8a3
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004a8c80
add esp, 0xc
mov edx, edi
call fcn.00477a16
test eax, eax
je 0x41b8eb
xor eax, eax
jmp 0x41ba9f
push edi
push str._s.manifest
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00478fcf
add esp, 0x10
cmp dword [ebp + 0xc], ebx
jne 0x41b92c
push 0x80
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x110]
call fcn.004199a1
jmp 0x41ba9f
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0041b8a3
add esp, 0xc
push 0x18d8
push str..File.c
mov edx, 0x4c9fe4
lea ecx, [ebp - 0x110]
call fcn.0041bb64
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
jne 0x41b9e3
push 0x103
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.004a8c80
lea eax, [ebp - 0x110]
add esp, 0xc
push eax
mov ecx, 0x104
lea eax, [ebp - 0x218]
call fcn.00477a48
pop ecx
call fcn.00477d88
push eax
call fcn.00419eca
test eax, eax
pop ecx
jne 0x41b8e4
cmp dword [0x51a0ac], ebx
jne 0x41b8e4
push ebx
lea ecx, [ebp - 0x218]
call fcn.0041a1a7
pop ecx
push dword [ebp + 0x10]
mov dword [0x51a0ac], 1
push dword [ebp + 0xc]
push edi
call fcn.0041b8a3
add esp, 0xc
mov dword [0x51a0ac], ebx
jmp 0x41ba9f
push str.__xml_version_1.0__encoding_UTF_8__standalone_yes___
push esi
call fcn.004a8fe0
push str._n_assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0__
push esi
call fcn.004a8fe0
push str._n___trustInfo_xmlns_urn:schemas_microsoft_com:asm.v2__
push esi
call fcn.004a8fe0
push str._n_____security_
push esi
call fcn.004a8fe0
push str._n_______requestedPrivileges_
push esi
call fcn.004a8fe0
push str._n_________requestedExecutionLevel
push esi
call fcn.004a8fe0
add esp, 0x30
cmp dword [ebp + 0x10], ebx
je 0x41ba34
push str._n__________level_requireAdministrator_
jmp 0x41ba39
push str._n__________level_asInvoker_
push esi
call fcn.004a8fe0
pop ecx
pop ecx
push str._n__________uiAccess_false___
push esi
call fcn.004a8fe0
push str._n________requestedPrivileges_
push esi
call fcn.004a8fe0
push str._n______security_
push esi
call fcn.004a8fe0
push str._n____trustInfo_
push esi
call fcn.004a8fe0
push str._n__assembly_
push esi
call fcn.004a8fe0
push 0x4c926c
push esi
call fcn.004a8fe0
add esp, 0x30
mov ecx, esi
call fcn.0041bf91
push 7
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
leave
ret
Function at 0x41baae
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x147]
push ebx
push eax
mov byte [ebp - 0x148], bl
call fcn.004a8c80
push 0x3f
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.004a8c80
add esp, 0x18
cmp edi, ebx
je 0x41bb54
mov eax, edi
call fcn.00477999
push 0x21e88e
lea eax, [esi - 0x25]
call fcn.0043c295
push eax
push str.P2_Tmp__d
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00478fcf
add esp, 0x14
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41bb54
push edi
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x41bb54
mov edx, edi
call fcn.00477a16
test eax, eax
jne 0x41bb54
mov eax, edi
jmp 0x41bb56
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
leave
ret
Function at 0x41c27b
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
push 0x103
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.004a8c80
push 0x1c8
push 1
call fcn.004a7b08
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x41c2d9
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41c3c2
push ebx
mov ebx, dword [0x51b864]
test ebx, ebx
jne 0x41c2f1
call fcn.0046a3c9
mov ebx, eax
mov dword [0x51b864], ebx
push edi
call fcn.0046a47b
xor ebx, ebx
cmp dword [0x51b864], ebx
pop ecx
jne 0x41c316
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.004a795c
pop ecx
jmp 0x41c3bf
push 0xc
lea eax, [edi + 4]
push ebx
push eax
mov dword [edi], ebx
call fcn.004a8c80
mov eax, dword [ebp + 8]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [edi + 0x18], eax
push 0x40
lea eax, [edi + 0x24]
pop ecx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call fcn.00477a48
push dword [ebp - 0x10c]
mov ecx, 0x104
lea eax, [ebp - 0x108]
call fcn.00477a48
mov esi, eax
call fcn.00477d45
mov eax, esi
push eax
push 0x40
lea eax, [edi + 0x64]
pop ecx
call fcn.00477a48
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb0], ebx
call fcn.0049a965
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xb8]
call fcn.00477999
push ebx
push ebx
push edi
push 0x41c237
push ebx
push ebx
mov dword [edi + 0xac], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [edi + 0xa8], eax
jne 0x41c3c1
mov eax, edi
call fcn.0041c1ef
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a8565
leave
ret 0x10

Function at 0x41c3d2
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [0x51b864]
xor ebx, ebx
call fcn.0046a6b7
xor esi, esi
jmp 0x41c407
cmp esi, 0x56ce
jge 0x41c40f
cmp ebp, dword [eax + 0xa8]
je 0x41c40d
mov edi, dword [0x51b864]
call fcn.0046a703
inc esi
test eax, eax
jne 0x41c3eb
jmp 0x41c40f
mov ebx, eax
mov eax, ebx
call fcn.0041c1ef
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41e1e7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x104
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp + 0x74], eax
mov eax, dword [0x51bbc0]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, 0x90
jne 0x41e243
push esi
lea eax, [ebp - 0x1c]
push ebx
push eax
mov dword [ebp - 0x20], ebx
call fcn.004a8c80
lea edi, [esi + 4]
push edi
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.004a8c80
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x10]
mov dword [0x51bbc0], eax
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x41e275
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
xor byte [ebp + 4], bl
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
add esi, eax
jmp 0x41e295
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push ebx
push 0x45
push esi
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 3
push 0x45
push esi
call edi
mov esi, ebx
mov ecx, dword [ebp + 0x74]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
add ebp, 0x78
leave
ret

Function at 0x41e2d8
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
movzx eax, ax
shr eax, 0xf
ret
Function at 0x423a00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
call fcn.0040afe4
mov ecx, dword [ebp + 8]
call fcn.0040af58
call fcn.0040fb51
cmp dword [0x515790], 3
jl 0x423a9f
push str._KILL
push dword [0x51579c]
call fcn.004a8a6f
test eax, eax
pop ecx
pop ecx
jne 0x423a8d
push eax
call fcn.0040accd
pop ecx
mov ecx, dword [0x5157a0]
push 1
call fcn.0040b841
mov esi, eax
test esi, esi
pop ecx
jne 0x423a68
push dword [0x5157a0]
push str._n__s__was_successfully_terminated.
call fcn.00410436
pop ecx
pop ecx
jmp 0x423a7c
push esi
push dword [0x5157a0]
push str._n__s__could_not_be_terminated:_exit_code__d
call fcn.00410436
add esp, 0xc
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.004ab697
push str._TESTPCL
push dword [0x51579c]
call fcn.004a8a6f
pop ecx
pop ecx
call fcn.00423d02
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x423aab
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
xor eax, eax
cmp dword [eax*4 + 0x5f5eb8], ebp
je 0x423ac3
inc eax
cmp eax, 2
jl 0x423ab4
xor ebx, ebx
cmp eax, 2
mov edi, 0x6cc5c
jge 0x423bab
mov esi, eax
imul esi, esi, 0x6cc5c
add esi, 0x51c600
inc ebx
mov dword [eax*4 + 0x5f5eb8], ebx
push edi
push ebp
push esi
call fcn.004a8c80
add esp, 0xc
push 0x64
lea ecx, [esi + 0x4c0]
lea eax, [esi + 0x32c]
pop edx
mov dword [eax - 0x194], ecx
mov dword [eax], ecx
add eax, 4
dec edx
jne 0x423b03
push ebp
push ebp
mov dword [esi + 0x37608], ebx
call fcn.0045bc06
push eax
push 0x4c747c
mov edi, 0x104
lea eax, [esi + 0x240c]
push edi
push eax
call fcn.00478fcf
add esp, 0x18
push str.PaulaConfig.cfg
push ebp
push ebp
call fcn.0045ba18
pop ecx
pop ecx
push eax
mov ebx, 0x4c8500
push ebx
lea eax, [esi + 0x22a8]
push edi
push eax
call fcn.00478fcf
add esp, 0x14
push str.PaulaEmpConfig.cfg
push ebp
push ebp
call fcn.0045ba18
pop ecx
pop ecx
push eax
push ebx
lea eax, [esi + 0x21a4]
push edi
push eax
call fcn.00478fcf
add esp, 0x14
xor eax, eax
call fcn.00423bda
cmp eax, ebp
je 0x423b92
push esi
mov ebx, eax
call fcn.0046a47b
pop ecx
push esi
call fcn.00434eae
pop ecx
mov ecx, 0x437a6a
call fcn.0043d9a2
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push edi
inc ebx
push ebx
call fcn.004a7b08
mov esi, eax
cmp esi, ebp
pop ecx
pop ecx
jne 0x423ae9
push str._n_nERROR:_OUT_OF_MEMORY__Could_not_create_PAULA_object_
call fcn.0040e927
mov dword [esp], 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x423ba5