joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4104d4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x409a4f
push 0x410574
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x41058c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x4105a4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x4105c0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret
Function at 0x409fa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x4121fc]
jbe 0x40a0a7
mov ecx, dword [0x4121fc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 0x412628
jmp 0x409fe5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
cmp dword [edx], ecx
jne 0x409ff5
sub dword [ebp - 8], 4
add dword [ebp - 0xc], 4
add dword [ebp - 0x10], 4
cmp dword [ebp - 8], 4
jae 0x409fcd
cmp dword [ebp - 8], 0
je 0x40a077
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0x14], eax
jne 0x40a080
sub dword [ebp - 8], 1
add dword [ebp - 0xc], 1
add dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x40a077
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
sub ecx, edx
mov dword [ebp - 0x14], ecx
jne 0x40a080
sub dword [ebp - 8], 1
add dword [ebp - 0xc], 1
add dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x40a077
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
sub edx, eax
mov dword [ebp - 0x14], edx
jne 0x40a080
sub dword [ebp - 8], 1
add dword [ebp - 0xc], 1
add dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x40a077
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0x14], eax
jne 0x40a080
mov dword [ebp - 0x18], 0
jmp 0x40a094
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x14], 0
jg 0x40a094
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x40a0a7
mov eax, 1
jmp 0x40a0db
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40a0d6
mov eax, dword [ebp - 4]
and eax, 2
jne 0x40a0d2
mov ecx, dword [ebp - 4]
and ecx, 4
jne 0x40a0d2
mov edx, dword [ebp - 4]
and edx, 1
je 0x40a0d6
xor eax, eax
jmp 0x40a0db
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40a2f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push 0x100
push 0
lea eax, [ebp - 0x100]
push eax
call fcn.00404d60
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00403f20
add esp, 0xc
push 0x5c
push 0
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x40a378
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0
mov eax, dword [ebp - 0x104]
push eax
call fcn.00404d60
add esp, 0xc
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x104], ecx
push 0x44
push 0
lea edx, [ebp - 0x160]
push edx
call fcn.00404d60
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.00404d60
add esp, 0xc
mov dword [ebp - 0x160], 0x44
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x104]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret

Function at 0x40a3e0
Capabilities:
Delete file
Delete registry value
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x80
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a472
push 0x100
push 0
lea edx, [ebp - 0x100]
push edx
call fcn.00404d60
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x2e
push 0
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x40a472
push 0x4027c8
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret

Function at 0x40a490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a4ad
jmp 0x40a4b9
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x40a4c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push 0x128
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00404d60
add esp, 0xc
mov dword [ebp - 0x128], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
call sub.KERNEL32.dll_Process32First
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40a533
mov edx, dword [ebp - 0x120]
push edx
call fcn.0040a490
add esp, 4
jmp 0x40a56e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40a557
mov edx, dword [ebp - 0x120]
push edx
call fcn.0040a490
add esp, 4
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40a533
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x40b520
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 2
push 0
push 0
push 0
push 0x4106bc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40b59c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
push 0x4028f8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40b5a0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 2
push 0
push 0
push 0
push 0x4107c0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40b651
push 0xff
push 0
lea edx, [ebp - 0x108]
push edx
call fcn.00404d60
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x402908
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 1
push 0
push 0x402914
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x40b660
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4107c0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40b6bd
push 0x402924
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40b6d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 2
push 0
push 0
push 0
push 0x410800
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 8], 0
je 0x40b732
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40b7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x410800
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 8], 0
je 0x40b828
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jne 0x40b817
mov dword [ebp - 0xc], 0
jmp 0x40b81e
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x40b8f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push 0x9c
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00404d60
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 5
jbe 0x40b935
xor eax, eax
jmp 0x40b93a
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40b9e0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 5
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40ba4f
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x40ba45
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x40bad0
Capabilities:
Add user account to group

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 5
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x101
mov dword [ebp - 0x34], 0x10
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40bb2f
jmp 0x40bb83
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
jne 0x40bb5d
jmp 0x40bb79
mov edx, dword [ebp + 8]
mov dword [ebp - 0x38], edx
push 1
lea eax, [ebp - 0x38]
push eax
push 3
lea ecx, [ebp - 0x240]
push ecx
push 0
call sub.NETAPI32.dll_NetLocalGroupAddMembers
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov esp, ebp
pop ebp
ret

Function at 0x40bc80
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1fe
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
call sub.NETAPI32.dll_NetUserGetInfo
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40bce7
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xc], 2
jne 0x40bce7
mov eax, dword [ebp - 0xc]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, 1
jmp 0x40bce9
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40bcf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x4029d8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 8], 0
je 0x40bd99
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 4
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x402a14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 4
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x402a30
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
jne 0x40bd99
cmp dword [ebp - 0x14], 0
jne 0x40bd99
xor eax, eax
jmp 0x40bd9e
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40bee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, 5
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov byte [edx], 0xe9
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret

Function at 0x40bf40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x14
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040bde0
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040bee0
add esp, 8
cmp dword [ebp + 0x14], 1
jne 0x40bfae
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [0x41342c]
push ecx
call fcn.0040bee0
add esp, 8
jmp 0x40bfbe
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040bee0
add esp, 8
mov esp, ebp
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 0x406cf0
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x407270
call fcn.004071a8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x40a2a8
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x406b18
cmp eax, esi
jne 0x406b0b
xor esi, esi
inc esi
mov edi, esi
jmp 0x406b1b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406aef
xor esi, esi
inc esi
cmp dword [0x40a2ac], esi
jne 0x406b2d
push 0x1f
call fcn.0049d000
pop ecx
jmp 0x406b67
cmp dword [0x40a2ac], ebx
jne 0x406b61
mov dword [0x40a2ac], esi
push 0x4010cc
push 0x4010c0
call fcn.00406c4c
pop ecx
pop ecx
test eax, eax
je 0x406b67
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x406c3c
mov dword [0x408124], esi
cmp dword [0x40a2ac], esi
jne 0x406b8a
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40a2ac], 2
test edi, edi
jne 0x406b97
xor eax, eax
mov ecx, 0x40a2a8
xchg dword [ecx], eax
cmp dword [0x40a2b0], 0
je 0x406bc3
push 0x40a2b0
call fcn.00407000
pop ecx
test eax, eax
je 0x406bc3
push ebx
push 2
push ebx
mov esi, dword [0x40a2b0]
mov ecx, esi
call dword [0x40b1fc]
call esi
push dword [0x408130]
push dword [0x40812c]
push dword [0x408128]
call fcn.0040299a
add esp, 0xc
mov dword [0x408120], eax
cmp dword [0x408138], 0
jne 0x406c21
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x408124], 0
jne 0x406c35
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x408120]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.004070f5
jmp 0x406ad3

Function at 0x406ec4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x407290
call fcn.004071a8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x406f24
cmp eax, 0xffffffff
je 0x406f24
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x406f1d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x406f1d
cmp edx, 0x10000000
jae 0x406f1d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x406f1a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x406f90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x406fce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x406fc6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x406fd0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x406fb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44ad1f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dx, word [esp + 3]
mov dx, 0x5042
pushal
mov byte [esp + 7], ah

Function at 0x44ad6d
Capabilities:
Execute anti-debugging instructions

Disassembly:
setnp dl
mov dx, 0xd8e0
mov edx, dword [esp]
jmp 0x44ae7b
xchg dword [esp], edx
call fcn.0044ae41

Function at 0x44b3f9
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x44b3e3
mov al, bl
bswap edx
lea edx, [edx + esi]
dec edx
jle 0x44b500
mov dx, bx
jmp 0x44b41c
add bl, cl
mov dl, 0xab
setnp dh
mov dh, bl
jmp 0x44b3b7
pop eax
mov eax, dword [esp]
neg dl
jnp 0x44b3b5
jp 0x44b3b5
mov dx, bx
lea edx, [ebx*4]
bsf edx, ebp
jmp 0x44b437

Function at 0x44b505
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop edx
setb dl
xor dh, cl
jp 0x44b538
bswap edx
mov dx, bp
jmp 0x44b550
jmp 0x44b522
lea edx, [eax*4]
jmp 0x44b53a

Function at 0x455977
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x43bb33
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x43bb4d
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x43bb3c
pop esi
jmp 0x43bb58
ret 4
mov dword [esp], edi
mov dh, 0xbb
mov dl, byte [esp]
call fcn.004558e8
mov dh, 0x6d
xchg edx, ebp
bswap ebp
pushal
mov dl, ch
push dword [esp + 0xe]
jmp 0x45594f
xchg dword [esp + 0xf], ebp
mov ebp, dword [esp + 0x24]
call fcn.00455939
mov dh, byte [esp]
lea esp, [esp + 2]
mov edx, dword [esp + 0x28]
lea esp, [esp + 0x2c]
jmp 0x43bb26
jmp 0x455903

Function at 0x49a8cc
Capabilities:
Encode data using xor

Disassembly:
push ds
mov ebp, 0xe8661f8c
cmpsd dword [esi], dword es:[edi]
pop es
add byte [eax], al
call 0x49a8f5
add bh, dl
xlatb
jg 0x49a144
xor ebp, dword [ebx]
inc esi
pop ecx
out 0x54, eax
dec esp
jg 0x49a14d
mov esi, 0xa931091
mov ax, di
bsr eax, edx
jmp 0x49a8b5
je 0x49a149
sub esp, 0x1c
xchg ah, al
lea esp, [esp + 0x1c]
inc dword [ebp - 4]
jmp 0x49a875
cmp eax, dword [esi + 0x18]
call fcn.0049a8f0
rol dword [edx], 1
sub byte [edx + 0x31], dh
mov dword [edx + reloc.KERNEL32.dll_GetProcAddress], edx
xor byte [ebx], dh
mov eax, dword [ebp - 4]
jmp 0x49a89f
push dword [esp + 2]
push dword [esp + 2]
lea esp, [esp + 0xc]
jmp 0x49a88b