joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69b250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6af808
push 0x69f288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x69b329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x69b329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0069e1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x69b329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x69b329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x69b32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0069b351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x69bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x69bd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x69bd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x69bd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x69bd94
push eax
push esi
call fcn.0069e20b
add esp, 8
pop esi
ret 0x10

Function at 0x69bda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x69be22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x69be15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x6b4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0069ddff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x69bdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x69be30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x69bec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x69beb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x6b4320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0069ddff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x69beab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x69be6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x69c000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x69c131
push esi
call fcn.0069f145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0068e080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x69c131
push 0
push ebp
call fcn.0068e3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0068e260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x69c08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0068e2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x69c121
push 0x6b4918
push edi
call fcn.0069d3f0
push eax
push ebx
push esi
call fcn.0069bf60
push 0x6b48f8
push edi
call fcn.0069d3f0
push eax
push ebx
push esi
call fcn.0069bf60
push 0x6b48d8
push edi
call fcn.0069d3f0
push eax
push ebx
push esi
call fcn.0069bf60
push 0x6b48c0
push edi
call fcn.0069d3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0069bf60
push 0x6b48a0
push edi
call fcn.0069d3f0
push eax
push ebx
push esi
call fcn.0069bf60
push 0x6b4888
push edi
call fcn.0069d3f0
push eax
push ebx
push esi
call fcn.0069bf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x69d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0069d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0069d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0069d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0069d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x69dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x69dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6af87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x69dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x69dc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x14f5a3a
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax]
push esi
xor esi, esi
sub edx, esi
je 0x14f5a9a
dec edx
je 0x14f5a76
dec edx
jne 0x14f5abc
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
jmp 0x14f5abc
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
jmp 0x14f5abc
mov dword [eax + 0x10], 0x67452301
mov dword [eax + 0x14], 0xefcdab89
mov dword [eax + 0x18], 0x98badcfe
mov dword [eax + 0x1c], 0x10325476
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov ecx, dword [ecx]
add ecx, 0xa0
pop esi
jmp 0x11f4d73
Function at 0x1515e07
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1527f29
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x16b2370]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ecx, esi
call fcn.011dcc21
mov edi, eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.011dd3db
and dword [esp + 0x30], 0
mov ecx, edi
call 0x128abb4
movzx eax, al
push eax
lea ecx, [esp + 0x18]
call fcn.01201f13
or edi, 0xffffffff
push edi
push 0x16908f8
mov byte [esp + 0x38], 1
call fcn.011e3fd4
pop ecx
pop ecx
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x38], 2
call fcn.011d83c7
mov ecx, eax
call fcn.011d1b63
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.011d5a22
pop ecx
pop ecx
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1515ebe
push dword [esp + 0xc]
call fcn.011e0faa
pop ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.01201234
push esi
call fcn.01515b8e
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x10]
lock xadd dword [eax], edi
jne 0x1515eea
push dword [esp + 0x10]
call fcn.011e0faa
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x404100
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18c8
call fcn.00411920
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x482688]
push ebx
push esi
mov dword [ebp - 8], ecx
mov ecx, dword [0x48268c]
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], ecx
call fcn.004040f0
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x482690]
mov eax, dword [0x482694]
mov edi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
add ebx, 0x23f
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0x20
jmp 0x404170
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x489e24]
shl esi, 4
add esi, dword [ebp - 0x20]
cmp eax, 0xfa9
jne 0x40419c
mov dword [0x489e20], 0xedeb2e40
jmp 0x4041b7
cmp eax, 0x3eb
jne 0x4041b7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x4898b0], 0
mov ecx, dword [ebp - 8]
add ecx, ebx
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x24]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x489e24], 0x9e6
mov dword [0x489e1c], 0xf4ea3dee
jne 0x4041ef
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x489e24], 0x213
jne 0x40428b
push 0
lea eax, [ebp - 0xcc8]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
lea ecx, [ebp - 0x4c8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x10c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call edi
push 0
push 0
lea ecx, [ebp - 0x18c8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0
push 0
call edi
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp - 4]
cmp dword [0x489e24], 0xc
mov dword [ebp - 0x10], esi
jne 0x4042a5
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov edx, esi
shr edx, 5
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x18]
lea ecx, [ebx + esi]
xor eax, ecx
xor eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
sub dword [ebp - 0x14], 1
jne 0x404170
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x27f65ed1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x4d25675b
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x18172c04
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x181db008], 0x8088405
inc edx
mov dword [ebx + 0x181db008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x18191058
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.18172be4
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x1819b8e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x1819b8e6
ret

Function at 0x181ccdb4
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov edx, dword [edi]
mov eax, ebp
call fcn.18174720
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x181ccdfd
inc esi
xor ebx, ebx
mov eax, ebp
call fcn.181745ec
add eax, ebx
push eax
mov eax, ebx
mov ecx, 0x2d
cdq
idiv ecx
mov al, byte [edx + 0x181dc444]
mov edx, dword [edi + 4]
xor al, byte [edx + ebx]
mov edx, ebx
and dl, 0xff
xor al, dl
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x181ccdcf
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x181d2864
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov edx, dword [edi]
mov eax, ebp
call fcn.18174720
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x181d28ad
inc esi
xor ebx, ebx
mov eax, ebp
call fcn.181745ec
add eax, ebx
push eax
mov eax, ebx
mov ecx, 0x2d
cdq
idiv ecx
mov al, byte [edx + 0x181dca90]
mov edx, dword [edi + 4]
xor al, byte [edx + ebx]
mov edx, ebx
and dl, 0xff
xor al, dl
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x181d287f
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x181d28b4
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov ebx, edx
mov ebp, eax
mov eax, edi
mov edx, ebx
call fcn.18174720
mov esi, ebx
dec esi
test esi, esi
jl 0x181d28fd
inc esi
xor ebx, ebx
mov eax, edi
call fcn.181745ec
add eax, ebx
push eax
mov eax, ebx
mov ecx, 0x2d
cdq
idiv ecx
mov al, byte [edx + 0x181dcac0]
xor al, byte [ebp + ebx]
mov edx, ebx
and dl, 0xff
xor al, dl
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x181d28d1
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401400
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x4c
push 0x34
push 0
call dword [0x4099ac]
mov dword [0x409cb8], 0x44
push 1
push 0x1e
call fcn.00401060
add esp, 8
mov dword [0x4099b8], 0x1003f
push 0x1c
push 0x3f
push 0
call dword [0x4099ac]
mov eax, dword [ebp + 8]
push eax
call fcn.00401230
add esp, 4
push 0x41
push 0x129
call section..text
add esp, 8
mov dword [ebp - 4], 0
jmp 0x40146e
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x4099a4]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 4], eax
jge 0x4014f8
push 0x80
lea ecx, [ebp - 0x20c]
push ecx
call dword [0x409c9c]
mov edx, dword [0x409f24]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf8]
mov dword [0x4099a0], edx
push 0x18
push 0x29
push 0
call dword [0x4099ac]
push 0
mov eax, dword [0x4099a0]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [0x4099a0]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [0x4099a4]
mov edx, dword [ecx + 0x34]
mov eax, dword [0x4099a0]
add edx, dword [eax + 0xc]
push edx
mov ecx, dword [0x409990]
push ecx
call dword [0x409d0c]
jmp 0x401465
push 0x1f
push 0x46
push 0
call dword [0x4099ac]
call fcn.00401350
push 0x2d
push 0x17
call fcn.00401090
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x411f40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
mov ecx, dword [0x79c890]
cmp ecx, 0x270
jl 0x412020
cmp ecx, 0x271
jne 0x411f68
push 0x1105
call fcn.00411e50
add esp, 4
xor ecx, ecx
lea ebx, [ebx]
mov eax, dword [ecx*4 + 0x7d8394]
xor eax, dword [ecx*4 + 0x7d8390]
inc ecx
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x7d838c]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x7ae258]
xor eax, dword [ecx*4 + 0x7d89c0]
cmp ecx, 0xe3
mov dword [ecx*4 + 0x7d838c], eax
jl 0x411f70
cmp ecx, 0x26f
jge 0x411ff1
lea ecx, [ecx*4 + 0x7d8390]
mov edi, edi
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x7ae258]
xor edx, dword [ecx - 0x390]
shr eax, 1
xor edx, eax
cmp ecx, 0x7d8d4c
mov dword [ecx - 4], edx
jl 0x411fc0
mov ecx, dword [0x7d8d4c]
mov eax, dword [0x7d8390]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x7ae258]
xor eax, dword [0x7d89c0]
xor ecx, ecx
mov dword [0x7d8d4c], eax
mov eax, dword [ecx*4 + 0x7d8390]
inc ecx
mov edx, eax
shr edx, 0xb
xor eax, edx
mov dword [0x79c890], ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov edx, eax
and edx, 0xffffdf8c
shl edx, 0xf
xor eax, edx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
mov dword [esp], ecx
fild dword [esp]
test ecx, ecx
jge 0x412066
fadd qword [0x65ad90]
fmul qword [0x65ad88]
pop ecx
ret
Function at 0x425150
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x79c888]
cmp eax, 0x270
jl 0x425230
cmp eax, 0x271
jne 0x425171
mov eax, 0x1105
call fcn.00425110
xor ecx, ecx
jmp 0x425180
mov eax, dword [ecx*4 + 0x7d8d54]
xor eax, dword [ecx*4 + 0x7d8d50]
inc ecx
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x7d8d4c]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x7ae260]
xor eax, dword [ecx*4 + 0x7d9380]
cmp ecx, 0xe3
mov dword [ecx*4 + 0x7d8d4c], eax
jl 0x425180
cmp ecx, 0x26f
jge 0x425201
lea ecx, [ecx*4 + 0x7d8d50]
mov edi, edi
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x7ae260]
xor edx, dword [ecx - 0x390]
shr eax, 1
xor edx, eax
cmp ecx, 0x7d970c
mov dword [ecx - 4], edx
jl 0x4251d0
mov ecx, dword [0x7d970c]
mov eax, dword [0x7d8d50]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x7ae260]
xor eax, dword [0x7d9380]
mov dword [0x7d970c], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x7d8d50]
inc eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [0x79c888], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x435640
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x79c894]
cmp eax, 0x270
jl 0x411e10
cmp eax, 0x271
jne 0x411d54
push 0x1105
call fcn.00411c40
add esp, 4
xor ecx, ecx
jmp 0x411d60
mov eax, dword [ecx*4 + 0x7d79d4]
xor eax, dword [ecx*4 + 0x7d79d0]
inc ecx
and eax, 0x7fffffff
xor eax, dword [ecx*4 + 0x7d79cc]
mov edx, eax
shr eax, 1
and edx, 1
xor eax, dword [edx*4 + 0x7ae250]
xor eax, dword [ecx*4 + 0x7d8000]
cmp ecx, 0xe3
mov dword [ecx*4 + 0x7d79cc], eax
jl 0x411d60
cmp ecx, 0x26f
jge 0x411de1
lea ecx, [ecx*4 + 0x7d79d0]
mov edi, edi
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
add ecx, 4
and eax, 0x7fffffff
xor eax, dword [ecx - 4]
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x7ae250]
xor edx, dword [ecx - 0x390]
shr eax, 1
xor edx, eax
cmp ecx, 0x7d838c
mov dword [ecx - 4], edx
jl 0x411db0
mov ecx, dword [0x7d838c]
mov eax, dword [0x7d79d0]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x7ae250]
xor eax, dword [0x7d8000]
mov dword [0x7d838c], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x7d79d0]
inc eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [0x79c894], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
jmp 0x411d30