joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46af08
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b0b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46b094
mov dl, 1
mov eax, dword [0x412834]
call fcn.004037cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040454c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46b083
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00458d7c
test al, al
je 0x46b076
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46b0c4
lea eax, [ebp - 0x254]
call fcn.00409418
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46b076
xor eax, eax
push ebp
push 0x46b06f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46b0fc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46b058
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46b058
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b076
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46af79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416ad0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b0ba
lea eax, [ebp - 0x260]
call fcn.0040454c
ret

Function at 0x46b9e8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x498c08]
cmp byte [eax + 0xa5], 0
jne 0x46ba59
cmp dword [0x498c20], 0
jne 0x46ba1a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46b9a4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x498c20], eax
cmp dword [0x498c1c], 0
jne 0x46ba35
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x498c1c], eax
cmp dword [0x498c24], 0
jne 0x46ba59
push esp
push 0
push 0
push 0x46b948
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x498c24], eax
pop edx
ret
Function at 0x46bb80
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46bb97
add esp, 0xfffffff0
call fcn.00403b20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a8e0
mov eax, dword [0x497b4c]
cmp word [eax + 2], 0
jne 0x46bbbf
mov eax, dword [0x497b4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046d270
mov eax, dword [0x497c10]
cmp word [eax + 2], 0
jne 0x46bbd9
mov eax, dword [0x497c10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046d468
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41228c]
call fcn.004037cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41228c]
call fcn.004037cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41ce8c]
call fcn.00424a98
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46bd60
mov eax, dword [0x497a5c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424e68
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46da08
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x497a5c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc60
test eax, eax
je 0x46bcce
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408df8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc88
test eax, eax
je 0x46bce2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004047bc
mov eax, dword [0x497924]
cmp byte [eax], 0
jne 0x46bd16
mov eax, ebx
call fcn.0046be88
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046dbe4
mov eax, ebx
call fcn.0046e5a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46bd56
call fcn.00403b78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c108
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x498c08]
cmp dword [eax + 0x30], 0
je 0x46c1b2
cmp dword [ebx + 0x94], 0
jne 0x46c1ac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46c098
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46c1ac
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46c172
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46c1ac
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414780
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46c181
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46cd14
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46cd49
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040463c
jmp 0x46cd56
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46ddc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46de01
mov eax, esi
call fcn.00454344
test al, al
je 0x46de01
mov eax, dword [ebx + 0x84]
call fcn.00454040
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46de01
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454040
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x474420
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47444e
mov eax, ebx
call fcn.00474ed4
cmp dword [ebx + 0x40], 0
je 0x474447
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4744bf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4744b1
cmp dword [ebx + 8], 0
je 0x474470
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x474482
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4744b1
cmp dword [ebx + 8], 0
je 0x474463
cmp eax, 3
je 0x474495
dec eax
jne 0x474463
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x474463
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x474463
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4744dd
cmp dword [ebx + 0x14], 0xcc
je 0x4744dd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004744e8
pop ebx
ret
Function at 0x492f0c
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x492f5c
mov dword [esp + 8], eax
mov eax, 0x492f70
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x492f88
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
add esp, 0x20
pop ebx
ret

Function at 0x492fa8
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x492ff8
mov dword [esp + 8], eax
mov eax, 0x493010
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x493028
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
add esp, 0x20
pop ebx
ret

Function at 0x493048
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x493098
mov dword [esp + 8], eax
mov eax, 0x4930c0
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x4930d8
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
add esp, 0x20
pop ebx
ret

Function at 0x4930f8
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x493148
mov dword [esp + 8], eax
mov eax, 0x493170
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x493188
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
add esp, 0x20
pop ebx
ret

Function at 0x4931a8
Capabilities:
Delete file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x4931f8
mov dword [esp + 8], eax
mov eax, 0x49320c
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x493224
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
add esp, 0x20
pop ebx
ret

Function at 0x493244
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 2
mov eax, 0x493290
mov dword [esp + 8], eax
mov eax, 0x4932bc
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
push esp
call sub.shell32.dll_SHFileOperationA
test eax, eax
je 0x493289
mov eax, 0x4932cc
call fcn.0042bea8
add esp, 0x20
pop ebx
ret
Function at 0x4932e4
Capabilities:
Delete file

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x493340
mov dword [esp + 8], eax
mov eax, 0x493350
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x493354
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
mov edx, esi
mov eax, ebx
call fcn.004935f4
add esp, 0x20
pop esi
pop ebx
ret

Function at 0x493418
Capabilities:
Delete file

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x493474
mov dword [esp + 8], eax
mov eax, 0x493484
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x493488
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
mov edx, esi
mov eax, ebx
call fcn.004934a8
add esp, 0x20
pop esi
pop ebx
ret

Function at 0x4934a8
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 2
mov eax, 0x4934f4
mov dword [esp + 8], eax
mov eax, 0x49351c
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
push esp
call sub.shell32.dll_SHFileOperationA
test eax, eax
je 0x4934ed
mov eax, 0x493534
call fcn.0042bea8
add esp, 0x20
pop ebx
ret

Function at 0x49354c
Capabilities:
Delete file

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x4935a8
mov dword [esp + 8], eax
mov eax, 0x4935bc
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x4935d4
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
mov edx, esi
mov eax, ebx
call fcn.004935f4
add esp, 0x20
pop esi
pop ebx
ret

Function at 0x4935f4
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 2
mov eax, 0x493640
mov dword [esp + 8], eax
mov eax, 0x493668
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
push esp
call sub.shell32.dll_SHFileOperationA
test eax, eax
je 0x493639
mov eax, 0x493684
call fcn.0042bea8
add esp, 0x20
pop ebx
ret

Function at 0x4936a8
Capabilities:
Delete file

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, 0x493704
mov dword [esp + 8], eax
mov eax, 0x493714
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
mov dword [esp + 0x12], 0xffffffff
mov eax, 0x49372c
mov dword [esp + 0x1a], eax
push esp
call sub.shell32.dll_SHFileOperationA
mov edx, esi
mov eax, ebx
call fcn.0049374c
add esp, 0x20
pop esi
pop ebx
ret
Function at 0x49374c
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xffffffe0
mov ebx, eax
mov eax, ebx
call fcn.00454040
mov dword [esp], eax
mov dword [esp + 4], 2
mov eax, 0x493798
mov dword [esp + 8], eax
mov eax, 0x4937bc
mov dword [esp + 0xc], eax
mov word [esp + 0x10], 0x118
push esp
call sub.shell32.dll_SHFileOperationA
test eax, eax
je 0x493791
mov eax, 0x4937d4
call fcn.0042bea8
add esp, 0x20
pop ebx
ret
Function at 0x405fe2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
Function at 0x4215dd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42167a
push ebx
push esi
call fcn.004215a6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042022b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x421627
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x421679
push edi
push eax
call fcn.00419350
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x421647
call fcn.004188af
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x421678
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042022b
add esp, 0x20
test eax, eax
jne 0x421666
push edi
call fcn.004188af
jmp 0x42166e
push ebx
call fcn.004188af
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x428550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42857d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42857d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x414de0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..reloc
lea edi, [esi - 0xe000]
push edi
jmp 0x414dfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414e01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414df0
mov eax, 1
add ebx, ebx
jne 0x414e13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414e24
jne 0x414e43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e43
dec eax
add ebx, ebx
jne 0x414e30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x414e08
add ebx, ebx
jne 0x414e3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x414e95
xor ecx, ecx
sub eax, 3
jb 0x414e5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414eca
sar eax, 1
mov ebp, eax
jmp 0x414e66
add ebx, ebx
jne 0x414e66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e34
inc ecx
add ebx, ebx
jne 0x414e74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e34
add ebx, ebx
jne 0x414e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414e76
jne 0x414e92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414eb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414ea6
jmp 0x414df6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414eb4
add edi, ecx
jmp 0x414df6
pop esi
mov edi, esi
mov ecx, 0xb800
jmp 0x414f05
mov al, byte [edi]
inc edi
cmp al, 0x80
jb 0x414ee5
cmp al, 0x8f
ja 0x414ee5
cmp byte [edi - 2], 0xf
je 0x414eeb
sub al, 0xe8
cmp al, 1
ja 0x414f0f
cmp ecx, 4
jb 0x414f14
mov eax, dword [edi]
sub al, 5
jne 0x414f0f
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jb 0x414f14
mov al, byte [edi]
inc edi
jmp 0x414ee5
sub ecx, 1
jae 0x414ed4
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414f5c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1506c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414f1a
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15074]
or eax, eax
je 0x414f56
mov dword [ebx], eax
add ebx, 4
jmp 0x414f37
call dword [esi + 0x15070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x414f8d
cmp al, 0xef
ja 0x414f80
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x414f62
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x414f6f
mov ebp, dword [esi + 0x15078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x414fc1
sub esp, 0xffffff80
jmp 0x405dd2
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x422860
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402ac6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401290
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x38]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
call fcn.00416354
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 0x44], eax
call esi
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
push eax
push 0x28
push ecx
call fcn.00416430
mov dword [ebp - 0x48], eax
call esi
mov edi, dword [ebp - 0x48]
call fcn.00416478
mov dword [ebp - 0x44], eax
call esi
mov edx, dword [ebp - 0x44]
not edx
test edi, edx
je 0x422969
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x40]
push eax
push 0x4164a4
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push ebx
call fcn.004162a0
mov dword [ebp - 0x44], eax
call esi
mov edi, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call fcn.00416478
mov dword [ebp - 0x44], eax
call esi
mov edx, dword [ebp - 0x44]
not edx
test edi, edx
je 0x422969
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x38]
push 0x1c
push edx
push ebx
push eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.004162f0
call esi
call fcn.00416478
mov dword [ebp - 0x44], eax
call esi
mov edx, dword [ebp - 0x44]
xor ecx, ecx
cmp edx, ebx
sete cl
neg ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004163e4
call esi
push 0x422986
jmp 0x422985
ret