joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464c7c
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x464c95
push 9
push esi
call sub.user32.dll_ShowWindow
mov eax, dword [0x4aa8f4]
cmp dword [eax], 2
jne 0x464ca9
mov eax, dword [0x4aa45c]
cmp dword [eax], 4
jg 0x464cdd
mov eax, dword [0x4aa8f4]
cmp dword [eax], 1
jne 0x464d6c
mov eax, dword [0x4aa45c]
cmp dword [eax], 4
jg 0x464cdd
mov eax, dword [0x4aa45c]
cmp dword [eax], 4
jne 0x464d6c
mov eax, dword [0x4aa740]
cmp dword [eax], 0
jle 0x464d6c
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x464d24
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x464d78
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x464d78
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x464e4c
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464f5f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
mov edx, 0x44
call fcn.00406ef0
lea eax, [ebp - 0x5c]
mov edx, 0x10
call fcn.00406ef0
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x70], 0xb
mov dword [ebp - 0x6c], esi
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x74]
mov ecx, 1
mov eax, 0x464f7c
call fcn.00409604
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00408488
mov eax, dword [ebp - 0x60]
call fcn.0040459c
push eax
mov eax, ebx
call fcn.0040459c
push eax
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x464f44
cmp dword [ebp + 0x10], 0
je 0x464f04
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
cmp byte [ebp + 8], 0
je 0x464f15
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.user32.dll_WaitForInputIdle
cmp dword [ebp + 0xc], 0
je 0x464f44
lea eax, [ebp - 8]
mov edx, 8
call fcn.00406ef0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x464d8c
call sub.user32.dll_EnumWindows
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464f66
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00404100
ret

Function at 0x47824c
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 0x4782a6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047823c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00475f10
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00475a28
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 0x4782ad
lea eax, [ebp - 4]
call fcn.004040dc
ret
Function at 0x47ece4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47ed12
mov eax, ebx
call fcn.0047f798
cmp dword [ebx + 0x40], 0
je 0x47ed0b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47ed83
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47ed75
cmp dword [ebx + 8], 0
je 0x47ed34
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 0x47ed46
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47ed75
cmp dword [ebx + 8], 0
je 0x47ed27
cmp eax, 3
je 0x47ed59
dec eax
jne 0x47ed27
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 0x47ed27
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47ed27
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47eda1
cmp dword [ebx + 0x14], 0xcc
je 0x47eda1
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.0047edac
pop ebx
ret
Function at 0x4a3c98
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x144], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a3e7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00464a14
test al, al
je 0x4a3cec
mov eax, dword [0x4aa328]
mov edx, esi
call fcn.00404130
mov bl, 1
jmp 0x4a3e52
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
add edx, 0x64
cmp eax, edx
jbe 0x4a3db3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x304]
cmp dword [eax + 0x48], 0xc8
jl 0x4a3d26
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
call fcn.004a3748
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0xc]
mov dword [ebp - 0x154], eax
xor eax, eax
mov dword [ebp - 0x150], eax
fild qword [ebp - 0x154]
fdiv dword [0x4a3e8c]
fstp xword [ebp - 0x160]
wait
lea eax, [ebp - 0x160]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 0x148], 3
lea edx, [ebp - 0x14c]
xor ecx, ecx
mov eax, dword [0x4aa1ac]
call fcn.00409604
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30c]
call fcn.00435a50
mov eax, dword [0x4aa6ac]
mov eax, dword [eax]
call fcn.00454e78
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x164]
mov ecx, 0x4a3e98
mov edx, esi
call fcn.004043e8
mov eax, dword [ebp - 0x164]
call fcn.0040459c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x4a3e52
cmp byte [ebp - 0x114], 0x2e
je 0x4a3e3b
test byte [ebp - 0x140], 0x10
je 0x4a3e3b
mov eax, dword [ebp + 8]
push eax
push esi
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x114]
call fcn.00409114
push dword [ebp - 0x16c]
push 0x4a3ea4
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040445c
mov eax, dword [ebp - 0x168]
call fcn.004a3c98
pop ecx
test al, al
je 0x4a3e3b
mov bl, 1
jmp 0x4a3e4c
lea eax, [ebp - 0x140]
push eax
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4a3de4
push edi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3e82
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404100
lea eax, [ebp - 0x144]
call fcn.004040dc
ret
Function at 0x4a49d0
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4a4b71
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 8]
mov eax, dword [0x4aa2e4]
call fcn.004902f0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x4a4b84
call fcn.00405b94
mov eax, ebx
call fcn.0040459c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.00408dc4
mov eax, dword [ebp - 0x124]
call fcn.0040459c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
lea edx, [ebp - 0x128]
mov eax, dword [0x4aa6ac]
mov eax, dword [eax]
call fcn.00454b38
mov eax, dword [ebp - 0x128]
call fcn.0040459c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11d]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 6
mov dword [ebp - 0x134], esi
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x4a4b9c
call fcn.00409604
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x18]
call fcn.00404934
push 0x20
mov eax, dword [ebp - 0x18]
call fcn.00404944
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesW
push ebx
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x4a4ba8
call fcn.00405b94
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
jne 0x4a4b33
push 1
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4b78
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.00404100
lea eax, [ebp - 0x18]
call fcn.004047e8
lea eax, [ebp - 0x10]
call fcn.00405b50
lea eax, [ebp - 0xc]
call fcn.00405b50
lea eax, [ebp - 8]
call fcn.00405b50
ret
Function at 0x4a65ac
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
test eax, eax
je 0x4a665e
test esi, esi
setg bl
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a665e
xor edi, edi
xor eax, eax
push ebp
push 0x4a6657
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4a6612
cmp edi, 0xa
jl 0x4a6611
call fcn.00403b20
jmp 0x4a665e
inc edi
push 0x64
call sub.kernel32.dll_Sleep
cmp dword [ebp - 8], 0
jne 0x4a6626
call fcn.00403b20
jmp 0x4a665e
sub esi, 0x64
test bl, bl
je 0x4a65ee
test esi, esi
jg 0x4a65ee
xor ebx, ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
jmp 0x4a65ee
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a672c
Capabilities:
Copy file
Delete file
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a6734
push ecx
xor eax, eax
push ebp
push 0x4a6907
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.00402a34
mov eax, dword [ebp - 0xc]
mov edx, 0x4a6920
call fcn.004044e8
jne 0x4a6899
lea edx, [ebp - 0x10]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x10]
call fcn.00408cc4
test al, al
je 0x4a6899
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00402a34
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, 0x4a692c
call fcn.004043e8
mov eax, dword [ebp - 8]
call fcn.00408cc4
test al, al
je 0x4a67cf
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.00408cf8
mov eax, dword [ebp - 8]
call fcn.0040459c
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x18]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x18]
mov edx, 0x20
call fcn.00408cf8
lea edx, [ebp - 0x1c]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00408d20
push 0
lea edx, [ebp - 0x20]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x20]
call fcn.0040459c
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4aa6ac]
mov eax, dword [eax]
call fcn.00455634
mov eax, dword [ebp - 0x24]
call fcn.0040459c
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x28]
mov eax, 3
call fcn.00402a34
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.00408868
mov edx, 0xbb8
call fcn.004a65ac
lea edx, [ebp - 0x2c]
mov eax, 4
call fcn.00402a34
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.00408868
mov edx, 0x7d0
call fcn.004a65ac
push 0
push 0
push 1
lea edx, [ebp - 0x30]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x30]
xor ecx, ecx
xor edx, edx
call fcn.00464e4c
jmp 0x4a68ec
mov byte [ebp - 1], 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x4aa7ec]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4a693c
call fcn.00409604
mov eax, dword [ebp - 0x34]
call fcn.0040459c
push eax
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [0x4aa8d8]
mov dword [edx], eax
mov eax, dword [0x4aa8d8]
cmp dword [eax], 0
je 0x4a68ec
lea eax, [ebp - 1]
push eax
push 0x4a6668
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a690e
lea eax, [ebp - 0x34]
mov edx, 0xc
call fcn.00404100
ret
Function at 0x409764
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
jmp 0x40980d
cmp dword [esi + 0x10], 0x1000
jne 0x4097f9
test byte [esi + 0x15], 1
jne 0x4097f9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x4097b8
cmp eax, 2
je 0x4097b8
cmp eax, 0x10
je 0x4097b8
cmp eax, 0x20
jne 0x4097cd
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4097cd
mov bl, 1
xor ebp, ebp
jmp 0x4097de
mov eax, dword [esi]
add eax, ebp
call fcn.0040975c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4097d1
test bl, bl
je 0x4097f9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409818
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409790
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x43c5a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x884900]
xor edx, edx
cmp eax, edx
jne 0x43c5c6
xor eax, eax
mov byte [eax + 0x884800], al
inc eax
cmp eax, 0x100
jl 0x43c5ae
mov dword [0x884900], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x884800
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43c657
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43c62a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43c5f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43c6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43c723
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43c70a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443760
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4438f8
cmp ebp, ebx
jle 0x4438f8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4437be
dec eax
or eax, 0xfffffff8
inc eax
je 0x4437c5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4437d4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4437db
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004c4011
add esp, 4
cmp eax, ebx
je 0x4437fc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004c4011
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4438ee
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4438d5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4438c1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4438b6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4438c4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4438c4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x443860
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x443851
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x44b310
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d1a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0044be90
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x4d54a4]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x4d5518]
test eax, eax
je 0x44b3b9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0044afa0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x4d54e8]
push edi
lea ecx, [esp + 0x4c]
call fcn.004cac99
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00461070
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x4d5094]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x4d5544]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x4d54dc]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.004cad0b
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14