joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4546b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4546ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4546cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4546dc
or bl, 4
test esi, 0x20000000
je 0x4546e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45adb0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45adc2
add esp, 0xfffffff0
call fcn.00403aac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fc98
mov eax, dword [0x4971e8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b154
mov eax, dword [0x4971f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b160
mov eax, ebx
call fcn.0045b16c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416aac]
call fcn.00403744
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416aac]
call fcn.00403744
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416aac]
call fcn.00403744
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416aac]
call fcn.00403744
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416aac]
call fcn.00403744
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x457584
push eax
push 0
push 0
mov eax, dword [0x497450]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42170c]
call fcn.00422e6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42170c]
call fcn.00422e6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42170c]
call fcn.00422e6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b5bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b484
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b484
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b484
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45aeff
call fcn.00403b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b268
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 0x45b413
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b3f4
mov dl, 1
mov eax, dword [0x417110]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404584
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b3e3
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.00448c48
test al, al
je 0x45b3d6
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, 0x45b424
lea eax, [ebp - 0x254]
call fcn.004099c8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b3d6
xor eax, eax
push ebp
push 0x45b3cf
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 0x45b45c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b3b8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047f4
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 0x45b3b8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b3d6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b2d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b850
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 0x45b41a
lea eax, [ebp - 0x260]
call fcn.00404584
ret

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

Disassembly:
push ecx
mov eax, dword [0x498bc0]
cmp byte [eax + 0xa5], 0
jne 0x45bdcd
cmp dword [0x498bd8], 0
jne 0x45bd8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45bd18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x498bd8], eax
cmp dword [0x498bd4], 0
jne 0x45bda9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x498bd4], eax
cmp dword [0x498bdc], 0
jne 0x45bdcd
push esp
push 0
push 0
push 0x45bcbc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x498bdc], eax
pop edx
ret
Function at 0x45c460
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x498bc0]
cmp dword [eax + 0x30], 0
je 0x45c50a
cmp dword [ebx + 0x94], 0
jne 0x45c504
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c3f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c504
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 0x45c4ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c504
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.00419164
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c4d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d068
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 0x45d09d
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.00404674
jmp 0x45d0aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045d8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e1bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e1fd
mov eax, esi
call fcn.00444230
test al, al
je 0x45e1fd
mov eax, dword [ebx + 0x84]
call fcn.00443f2c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e1fd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443f2c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45eee0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41604c]
call fcn.00404f14
xor eax, eax
push ebp
push 0x45f024
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x495e70], 0
jne 0x45ef33
mov ecx, dword [0x497088]
mov dl, 1
mov eax, dword [0x407988]
call fcn.0040c500
call fcn.00403f14
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403160
mov eax, ebx
call fcn.00404dc0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45f034
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406068
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dd0
test eax, eax
jle 0x45efcb
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45efc4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040480c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047f4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040886c
test eax, eax
jne 0x45efc4
mov ebx, 0x15
jmp 0x45efd0
mov ebx, 0x10
jmp 0x45efd0
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x495e70]
call fcn.0045ee38
mov eax, dword [ebp - 8]
call fcn.0045ee38
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f02b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045a8
lea eax, [ebp - 0x10]
mov edx, dword [0x41604c]
call fcn.00404fe4
ret

Function at 0x46c370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x46c383
add esp, 0xfffffff0
call fcn.00403aac
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46c3fc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403744
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.0046c7dc
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.004045d8
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x46c428
call fcn.00404890
mov ecx, esi
mov dl, 1
mov eax, dword [0x46c1a4]
call fcn.0046cc3c
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c403
lea eax, [ebp - 4]
call fcn.00404584
ret
Function at 0x46fee8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46ff16
mov eax, ebx
call fcn.0047099c
cmp dword [ebx + 0x40], 0
je 0x46ff0f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46ff87
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46ff79
cmp dword [ebx + 8], 0
je 0x46ff38
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 0x46ff4a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46ff79
cmp dword [ebx + 8], 0
je 0x46ff2b
cmp eax, 3
je 0x46ff5d
dec eax
jne 0x46ff2b
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 0x46ff2b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46ff2b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46ffa5
cmp dword [ebx + 0x14], 0xcc
je 0x46ffa5
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.0046ffb0
pop ebx
ret
Function at 0x488424
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48842c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48861e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x488634
mov eax, esi
call fcn.004862b0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004045d8
lea ecx, [ebp - 0x10]
mov edx, 0x488648
mov eax, esi
call fcn.004862b0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004045d8
lea ecx, [ebp - 0x14]
mov edx, 0x488660
mov eax, esi
call fcn.004862b0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004045d8
lea ecx, [ebp - 0x18]
mov edx, 0x48867c
mov eax, esi
call fcn.004862b0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004045d8
lea ecx, [ebp - 0x1c]
mov edx, 0x488698
mov eax, esi
call fcn.004862b0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004045d8
lea ecx, [ebp - 0x24]
mov edx, 0x4886b0
mov eax, esi
call fcn.004862b0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004088dc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408cd0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4886c8
mov eax, esi
call fcn.004862b0
mov eax, dword [ebp - 0x28]
call fcn.0046b978
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4886d8
mov eax, esi
call fcn.004862b0
mov eax, dword [ebp - 0x2c]
call fcn.0046b978
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4886f0
mov eax, esi
call fcn.004862b0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408cd0
inc eax
je 0x4885c1
lea ecx, [ebp - 0x34]
mov edx, 0x4886f0
mov eax, esi
call fcn.004862b0
mov eax, dword [ebp - 0x34]
call fcn.00408c94
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a338
fstp qword [ebp - 0x3c]
wait
call fcn.0040a6a8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4885dc
lea ecx, [ebp - 0x40]
mov edx, 0x4886f0
mov eax, esi
call fcn.004862b0
mov eax, dword [ebp - 0x40]
call fcn.0046b978
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x488700
mov eax, esi
call fcn.004862b0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004045d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488625
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045a8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045a8
ret
Function at 0x48f3b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48f40a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048f3a0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046a5e4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046a1e4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f411
lea eax, [ebp - 4]
call fcn.00404584
ret

Function at 0x492fbc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x493100
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402e94
mov eax, dword [ebp - 0x1c]
call fcn.00404a44
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x493021
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, 0x493118
call fcn.004045d8
mov eax, ebx
call fcn.00402ad0
mov esi, eax
push esi
push ebx
push 0
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402e94
mov eax, dword [ebp - 0x20]
call fcn.00404a44
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x49311c
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
shr edi, 0x10
mov dx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0x12], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0x14], dx
mov ax, word [eax + 0xc]
and ax, 0xffff
mov word [ebp - 0x16], ax
lea edx, [ebp - 0x24]
movzx eax, di
call fcn.00408b58
push dword [ebp - 0x24]
push 0x493128
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x12]
call fcn.00408b58
push dword [ebp - 0x28]
push 0x493128
lea edx, [ebp - 0x2c]
movzx eax, word [ebp - 0x14]
call fcn.00408b58
push dword [ebp - 0x2c]
push 0x493134
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0x16]
call fcn.00408b58
push dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov edx, 7
call fcn.00404904
mov edx, ebx
mov eax, esi
call fcn.00402b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493107
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.004045a8
ret
Function at 0x4db529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004db480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x4db558
mov eax, 0xea61
jmp 0x4db5d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x4db568
mov eax, 0xea62
jmp 0x4db5d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004db480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x4db595
mov eax, 0xea62
jmp 0x4db5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4db5ad
mov eax, 0xea65
jmp 0x4db5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4db5c2
mov eax, 0xea66
jmp 0x4db5d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4db5d2
mov eax, 0xea67
jmp 0x4db5d6
xor eax, eax
jmp 0x4db5d6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x111b418f
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3758461d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4284f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x428503
pop dword [ebp - 0x4c]
mov eax, 0xe158aad8
add eax, 0x1ee9da2b
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4d5ad
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x52fbc22e
add ecx, 0xad047a19
xor esi, esi
add esi, eax
mov edx, 0x475e00
add edx, dword [ebp - 0x4c]
mov edi, 0x92e6276e
sub edi, 0x8ca2f97d
xor dword [ebp - 0x34], eax
mov ebx, dword [edx]
sub dword [ebp - 0x14], 0x4663497e
add ebx, edi
xor dword [ebp - 0x34], eax
mov dword [esi], ebx
sub dword [ebp - 0x10], ecx
add esi, 0xfb895191
add esi, 0x476ae73
add edx, 4
loop 0x428559
add eax, 0xe3ef
xor ebx, ebx
add ebx, eax
add eax, 0x36a44041
add eax, 0xc95bbfc4
mov ecx, 0x2809ce73
add ecx, 0xd836318d
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x1000e620
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
test edi, edi
je 0x1000e6da
mov eax, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x1c]
cmp edi, 0x40
jb 0x1000e6bc
lea ecx, [esi - 1]
lea ebp, [eax - 1]
add ecx, edi
add ebp, edi
cmp eax, ecx
ja 0x1000e651
cmp ebp, esi
jae 0x1000e6bc
mov edx, dword [esp + 0x18]
lea ecx, [edx - 1]
add ecx, edi
cmp eax, ecx
ja 0x1000e662
cmp ebp, edx
jae 0x1000e6c0
mov ecx, edi
and ecx, 0xffffffc0
movups xmm0, xmmword [esi]
add ebx, 0x40
movups xmm1, xmmword [edx]
mov ebp, ebx
pxor xmm1, xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [eax], xmm1
movups xmm1, xmmword [edx + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [eax + 0x10], xmm1
movups xmm1, xmmword [edx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + 0x30]
add esi, 0x40
movups xmmword [eax + 0x20], xmm1
movups xmm1, xmmword [edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp ebx, ecx
jb 0x1000e667
cmp ebp, edi
jae 0x1000e6d8
jmp 0x1000e6c0
mov edx, dword [esp + 0x18]
sub edx, eax
sub esi, eax
sub edi, ebx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [edx + eax - 1]
mov byte [eax - 1], cl
sub edi, 1
jne 0x1000e6c6
pop esi
pop ebp
pop edi
pop ebx
ret