joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6d50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4a6d5b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x4a6e39
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
inc ecx
sub edx, 8
sub esi, 1
jne 0x4a6d75
pop edi
test edx, edx
je 0x4a6e5b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4df070]
inc ecx
sub edx, 1
jne 0x4a6e40
not eax
pop esi
ret

Function at 0x5d8ab0
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x5d87dc
and ebx, ebx
call fcn.005d8af2
mov edi, 0x74735ce5
add edi, ebx
mov ebx, 0x107c9e98
xor dword [eax], esi
and edi, edi
add ebx, 0x615d1246
and ebx, edi
add eax, 2
sub ebx, 0xe023a103
cmp eax, edx
jl fcn.005d8ab0
sub edi, ebx
sub edi, ebx
ret
Function at 0x406420
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42a76b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046f4
call fcn.00407081
push 4
mov dword [esp + 0x18], 0
call fcn.00407f26
mov edi, eax
add esp, 4
test edi, edi
je 0x406494
push ebx
call fcn.00406f59
mov dword [edi], eax
call fcn.00406d18
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407042
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406488
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040706a
pop ebx
jmp 0x406496
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408991
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d520]
jne 0x40899b
repz ret
jmp fcn.0040d0ec
Function at 0x429270
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b5100], 0x37
jne 0x429308
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404228
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404240
push 0x404290
push 0x4042d0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b5104]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x435164]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x429570
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file
Read .ini file

Disassembly:
mov eax, dword [0x7b5100]
mov ecx, dword [0x435164]
sub esp, 0xdbc
push ebx
push ebp
shr eax, 3
xor ebx, ebx
push esi
push edi
cmp eax, ebx
jbe 0x429784
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x4295a6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b5100], 0x1c
jne 0x4295bd
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x42e700]
mov eax, dword [0x42e704]
mov esi, dword [edi]
mov ebp, dword [0x42e708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42e70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 0x20
jmp 0x4295fa
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x30]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7b4084], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b4084], eax
mov edx, dword [0x7b4084]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b5100], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x429694
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0x7b5100], 0x979
mov dword [0x7b4088], 0xff6b3619
mov dword [0x7b408c], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4296ff
push 0x404120
push 0
lea eax, [esp + 0x5d0]
push eax
push 0x404198
push 0x4041b8
push 0x404214
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea ecx, [esp + 0x1cc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0x7b5100]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x429721
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x4295f8
cmp eax, 0x8d4
jne 0x42973d
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0x7b5100], 0x17
jne 0x429773
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x4295a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdbc
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x4b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x70
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe8
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xf0
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xfe
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x14
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xf
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xbb
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xd
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x6c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x3c
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xba
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x29
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x44
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xa1
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x76
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x76
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x7d
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x5c
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x1b
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xae
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x27
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xdc
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xce
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x32
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x12
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x408942
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
call fcn.0040896b
xor dword [edi], eax
inc edi
push 0x5593fbe
pop edx
and edx, edx
cmp edi, ebx
jne fcn.00408942
or edx, edx
ret

Function at 0x4019c3
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x40
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
add esp, 0x40
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
loop 0x4019da
push esp
mov eax, 0x400000
mov dword [0x403160], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x401719
mov dword [ebp - 4], str.risiliency
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x403160]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.ebsement
push str.risiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403168], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a78
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a5f
pop ebp
ret 0x10
Function at 0x4029e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0xb9804c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
xor ebx, ebx
cmp edi, ebx
je 0x402af3
cmp esi, ebx
je 0x402af3
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402a10
sub eax, edx
sar eax, 1
je 0x402af3
push 0x206
lea ecx, [esp + 0xe]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x14], ax
call fcn.00409eb0
add esp, 0xc
cmp dword [esp + 0x218], ebx
jne 0x402a7a
cmp dword [0xb99070], 3
jne 0x402a7a
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [0xb94020]
push 0xb95fd0
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.004063a3
add esp, 0xc
jmp 0x402a8a
lea edx, [esp + 8]
push edx
push 0x104
call dword [0xb9408c]
push esi
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.004063a3
push 0xb95fd4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call fcn.004066f5
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, ebx
je 0x402af3
push eax
push 1
push 0x200
push edi
call fcn.004069e8
mov eax, dword [esp + 0x14]
push eax
call fcn.00406a7c
add esp, 0x14
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00406394
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00406394
add esp, 0x210
ret

Function at 0x402bb0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0xb9804c]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0xe]
xor eax, eax
push edi
push ecx
mov word [esp + 0x14], ax
call fcn.00409eb0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x402c62
lea edx, [esp + 8]
push edx
push 0x104
call dword [0xb9408c]
push 0xb95fb4
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.004063a3
push 0xb95ff4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004066f5
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x402c47
push eax
push 1
push 0x200
push esi
call fcn.00406c5a
mov eax, dword [esp + 0x14]
push eax
call fcn.00406a7c
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00406394
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00406394
add esp, 0x210
ret
Function at 0x404080
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xb960cc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.004066f5
add esp, 0xc
test eax, eax
je 0x4040b4
xor eax, eax
jmp 0x404195
mov dword [ebp - 0x14], 0
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0040723e
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00407460
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040723e
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp + 0x10]
push edx
call fcn.0040705c
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004069e8
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.00406a7c
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
push edx
call fcn.004041a0
add esp, 8
push 0xb960d4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.004066f5
add esp, 0xc
test eax, eax
je 0x40414e
xor eax, eax
jmp 0x404195
mov edx, dword [ebp - 0x14]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00406c5a
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.00406a7c
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebp - 0xc], 0
je 0x404192
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00407126
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40381c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x408008], 0x8088405
inc edx
mov dword [ebx + 0x408008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.004021ef
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.004073c7
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401f1c
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push esi
mov esi, ebp
cmp dword [esp + 0x10], esi
jbe 0x4016ad
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push edi
mov edi, dword [esp + 0x14]
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x30
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xbd
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc6
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x55
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 3
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x7e
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x2f
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x53
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xfa
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xe3
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x49
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xd3
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x80
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x83
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x97
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc0
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x7d
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0xa6
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xc2
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x92
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xf7
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x37
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xba
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0xb9
push ebp
push ebp
push ebp
call ebx
xor byte [esi + edi], 0x2a
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x95
push ebp
push ebp
push ebp
call ebx
add byte [esi + edi], 0x90
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159b
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x414280
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x552110aa
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x59e76554
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x101cdf9
Capabilities:
Encode data using xor

Disassembly:
je 0x101ce74
pushal
pause
sti
pushfd
pushal
xchg ecx, eax
pop ebx
xchg esp, eax
and eax, 0xf3a77bea
push esp
inc edi
aad 0x93
retf
lcall 0x7a09, 0xb0fe7d8a
pop edi
and ecx, esp
jb 0x101ce03
or al, 0xcf
ljmp 0x638f
daa
leave
sub eax, dword [ebx + 0x40]
jo 0x101ce25
sub ch, byte [ebx - 0x22554b0e]
pop eax
shl dword [ecx - 0x69], cl
push ebx
out 0xa, al
xor eax, 0x60456d84
insd dword es:[edi], dx
jp 0x101ceaa
popal
jl 0x101ce62
aas
push 0x7d
sahf
mov bl, 0xd5
das
retf 0xc03d
outsd dx, dword [esi]
pop eax
mov ebx, 0x544f0999
or byte [edx], dh
mov bl, 0x55
push ecx
inc esp
sub bl, ch
jb 0x101ce9d
aad 0xe6
cmp al, 0x72
rol byte [edi - 0x1e], cl
add dword [0x3b1999b8], 0x7d
shr byte [edx + 0x1b], cl
sub eax, 0x65b4ef5f
daa
or byte [eax - 0x16], al
or ebp, ebx
jl 0x101cee3
jmp 0x101cf29
ja 0x101cf08
jmp 0x598ff93f
cmp eax, 0x31b8b697
mov dl, 0xea
bound eax, qword [ecx + edx - 0x287815d]
aad 0x44
add ah, byte [edi + 0x7c]
insd dword es:[edi], dx
jmp 0x74098264
inc ebx
mov bl, 7
jae 0x101cee3
arpl word [ebx], dx
pop eax
stosd dword es:[edi], eax
cwde
int1
fcom qword [eax]
aaa
adc byte [edi], dh
or ecx, edi
add dword [eax + 0x417145bb], ecx
cmc
and dword [esi], edi
insb byte es:[edi], dx
mov al, byte [0xc618db9e]
cdq
mov al, byte [0x1f0a725a]
sbb byte [esi + 0x4c341ce8], cl
mov gs, eax
sbb al, 0x34
dec esp
call 0x6e4e0365
insd dword es:[edi], dx
jne 0x101cf44
outsb dx, byte [esi]
dec ebp
jb 0x101cf79
sbb al, 0xda
fcom st(4)
cmpsb byte ds:[esi], byte es:[edi]
int 0x17
test byte [eax + 0x36], 0xc0
xor al, 0x32
adc al, 0xcc
xor dl, byte [esp + ecx*8]
salc
mov cl, 0x88
test al, 0xf5
xchg esi, eax
jl 0x101cf43
lodsd eax, dword [esi]
pop ss
out 0x83, eax
mov dh, 6
ror edi, cl
push ss
sbb edx, dword fs:[ebp - 0x6a]
pop esp
stc
xchg ebp, eax
xor edx, ebp
jno 0x101cfdb
pushal
jge 0x101cf5c
jg 0x101cf1d
xor eax, 0x493bf047
salc
ja 0x101cf95
invalid
rol byte [edi + 0x23], 0xd
mov dl, 0x32
insd dword es:[edi], dx
fistp dword [edi]
mov al, byte [0x8b170705]
dec esp
mov ebp, 0xf2dce087
jge 0x101cf7a
mov ecx, dword [ebp + edi*4 - 0x79]
loopne 0x101cf77
bnd jge 0x101cf7a
cmp bl, byte [eax - 0x5880b11a]
in eax, 0x2c
adc al, 0x72
dec esi
jl 0x101cf81
popfd
push ecx
and byte [ebp - 0x1c83af2a], bl
push ebx
mov ah, 0xf1
mul byte [edi]
sub al, 0x12
mov cl, 0x43
adc dh, byte [esi]
cdq
test byte [ebp - 0x78de7dc4], 0x8d
add edi, 0xeb6ef7fb
jmp 0x20b183b2
cmp cl, byte [ebp + 0x30]
or esp, esi
rcr dword [edi + edi*4 - 0xc774aee], 0xbe
sub esp, esi
cmpsd dword [esi], dword es:[edi]
ljmp 0x4c91