joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4117dc
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x4c
mov eax, 0x42f265
call fcn.0042f159
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x30]
push eax
push 0x432e30
push 1
push edi
push 0x432f00
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x411946
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push edi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x436f40
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x41193f
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x411939
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x38], edi
je 0x411939
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x58]
push edx
push edi
push str.InstallDate
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.0041172c
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push edi
call dword [0x65e3e8]
push eax
call dword [0x65e378]
mov edi, eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x1e]
push eax
push str._d__d__d__d:_d:_d
push edi
call dword [0x65e1f8]
add esp, 0x20
push edi
call fcn.004104bc
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411964
or dword [ebp - 4], 0xffffffff
jmp 0x41195a
push 0x436f74
jmp 0x41195f
push 0x436f7c
jmp 0x41195f
push 0x436f84
call fcn.004104bc
mov eax, esi
call fcn.0042f1b5
ret
Function at 0x41196c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x30
mov eax, 0x42f24a
call fcn.0042f0ed
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push 0x432e30
push 1
push edi
push 0x432f00
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.rootSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x411a75
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push edi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x436ff8
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x411a6e
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x411a68
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x24], edi
je 0x411a68
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x3c]
push edx
push edi
push str.displayName
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x34]
call fcn.00411d17
pop ecx
push eax
call fcn.004104bc
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411a93
or dword [ebp - 4], 0xffffffff
jmp 0x411a89
push 0x437018
jmp 0x411a8e
push 0x437020
jmp 0x411a8e
push str.Unknown
call fcn.004104bc
mov eax, esi
call fcn.0042f192
ret

Function at 0x412516
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x4366e3
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x4366e6
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x412c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
sub esp, 0xc
mov esi, esp
push 0x4365a5
call fcn.004104bc
sub esp, 0xc
lea eax, [ebp + 8]
mov esi, esp
call fcn.004104ee
call fcn.00405237
add esp, 0x18
cmp dword [ebp + 0x14], 0
mov esi, eax
mov dword [ebp - 4], edx
je 0x412d99
push 0x4365a6
lea esi, [ebp - 0xc]
call fcn.004104bc
push str..exe
push 6
pop ebx
lea edi, [ebp - 0x18]
call fcn.00411c1f
push 0x43670c
push dword [0x65dfd0]
mov edi, eax
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.004105de
lea esi, [ebp - 0x30]
call fcn.004105de
lea esi, [ebp - 0x48]
call fcn.0041059c
lea esi, [ebp - 0x3c]
call fcn.004105de
lea esi, [ebp - 0xc]
call fcn.00410562
mov eax, dword [ebp - 0x3c]
call fcn.00402920
mov eax, dword [ebp - 0x48]
call fcn.00402920
mov eax, dword [ebp - 0x30]
call fcn.00402920
mov eax, dword [ebp - 0x24]
call fcn.00402920
mov eax, dword [ebp - 0x18]
call fcn.00402920
push 0x1c00
push 0x43dcd8
sub esp, 0xc
mov eax, esi
mov esi, esp
call fcn.004104ee
call fcn.0041241b
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x14
push 0x44
stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00423c60
add esp, 0xc
push 0x436718
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.004105de
lea edi, [ebp + 8]
lea esi, [ebp - 0x18]
call fcn.0041059c
lea esi, [ebp - 0xc]
call fcn.00410562
mov eax, dword [ebp - 0x18]
call fcn.00402920
mov eax, dword [ebp - 0x24]
call fcn.00402920
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0xc]
call fcn.00402920
xor edi, edi
inc edi
lea esi, [ebp + 0x18]
call fcn.00401cde
mov eax, dword [ebp + 8]
call fcn.00402920
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
xor edi, edi
push esi
call fcn.0040f51f
pop ecx
test eax, eax
jne 0x412d7f
inc edi
cmp edi, 0x64
jl 0x412d9b
xor edi, edi
jmp 0x412d82
Function at 0x415182
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x436a38
push dword [ebp + 0x80]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x470], ebx
call dword [0x65e314]
xor esi, esi
inc esi
test eax, eax
je 0x4151ce
mov dword [ebp - 0x460], esi
push ebx
push 0x436a48
push dword [ebp + 0x80]
call dword [0x65e314]
test eax, eax
je 0x4151f0
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x470], esi
cmp dword [ebp - 0x460], ebx
je 0x415318
lea eax, [ebp - 0x74]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x74]
cmp byte [ebp - 0x74], bl
je 0x415388
jmp 0x415218
xor ebx, ebx
push 0x3e8
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00423c60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x470], ebx
je 0x41525c
cmp eax, 2
jne 0x41525c
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x65e430]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x415275
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x65e430]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x45c]
call fcn.004120e3
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [0x65e430]
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x468], eax
call fcn.00401cfd
xor ebx, ebx
push ebx
push dword [ebp + 0xa4]
lea eax, [ebp - 0x45c]
push dword [ebp - 0x460]
push dword [ebp + 0x9c]
push ebx
push dword [ebp + 0x98]
push dword [ebp - 0x46c]
push eax
push dword [ebp - 0x464]
push 0x43661e
push dword [ebp - 0x468]
call fcn.00414d08
add esp, 0x94
push esi
call dword [0x65e29c]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x415216
jmp 0x415386
mov eax, dword [ebp + 0x80]
mov esi, dword [ebp + 0x8c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x46c], eax
call fcn.00401cfd
xor eax, eax
push eax
push dword [ebp + 0xa4]
push eax
push dword [ebp + 0x9c]
push eax
push dword [ebp + 0x98]
push esi
push dword [ebp - 0x468]
push dword [ebp - 0x464]
push 0x43661f
push dword [ebp - 0x46c]
call fcn.00414d08
add esp, 0x94
xor ebx, ebx
mov eax, dword [ebp - 0x474]
lea esi, [ebp + 0xc]
mov dword [eax], ebx
call fcn.00401cde
lea ecx, [ebp + 0x74]
call fcn.004153af
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d05a
leave
ret
Function at 0x416ed9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
lea eax, [ebp - 0x48]
call fcn.00416fb2
test byte [0x65e1c8], 1
mov eax, dword [ebp + 0x40]
je 0x416ef8
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0xc]
lea esi, [ebp - 0x20]
call fcn.00410562
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
xor edi, edi
lea eax, [ebp + 0x48]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.00410562
lea eax, [ebp + 0x1c]
lea esi, [ebp - 0x38]
call fcn.00410562
lea eax, [ebp + 0x28]
lea esi, [ebp - 0x2c]
call fcn.00410562
mov esi, 0x3e8
jmp 0x416f46
push esi
call dword [0x65e210]
cmp dword [0x65e1c8], 2
jae 0x416f3f
inc dword [0x65e1c8]
cmp dword [0x65e1c0], edi
je 0x416f6b
mov ecx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0xc]
call fcn.0041cd0d
pop ecx
pop ecx
push edi
push edi
lea eax, [ebp - 0x48]
push eax
push 0x416e08
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
push 0x4366b6
call fcn.004104bc
lea esi, [ebp - 0x48]
call fcn.00416fd9
lea esi, [ebp + 0x1c]
call fcn.00401cde
mov eax, dword [ebp + 0xc]
call fcn.00402920
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x4185dc
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 0x41a633
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x41a661
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.00423c60
mov eax, ebx
movzx ecx, word [eax*8 + 0x436142]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x436140]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x436144]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x436146]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x41a6c4
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x41a6d0
cmp ebx, 8
jl 0x41a6d0
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x41a735
cmp eax, 0xffffffff
je 0x41a735
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41a710
call fcn.0041a88b
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x41a718
jmp 0x41a745
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41a99c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x41ab9a
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x41aa16
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x41aa59
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x41aa59
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x41aa40
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.0041a74a
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp ebx, eax
jbe 0x41aa59
mov ebx, eax
cmp ebx, 3
jb 0x41ab1a
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.0041a0d1
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x41aae7
cmp eax, 3
jb 0x41aae7
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x41aa95
jmp 0x41ab3a
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x41ab40
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.0041a0d1
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x41ab7b
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41ab59
lea edx, [ecx + esi + 0x1af70]
jmp 0x41ab5b
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.00419f54
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x41ab8c
call fcn.0041a88b
cmp dword [esi + 0x6af90], 0
jne 0x41a9c6
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41abad
lea edx, [ecx + esi + 0x1af70]
jmp 0x41abaf
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.00419f54
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x41b757
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x41b762
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x41b816
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x436190]
add ecx, 8
sub edi, 8
dec esi
jne 0x41b779
pop ebx
test edi, edi
je 0x41b82f
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x436190]
inc ecx
dec edi
jne 0x41b81a
pop esi
not eax
pop edi
ret

Function at 0x41b834
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x436190]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x436190]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x41bdc5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
je 0x41be4b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x41bdff
cmp dword [esi + 0x40], ebx
jae 0x41bdff
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp - 4]
mov ecx, 4
xor eax, eax
rep stosb byte es:[edi], al
and dword [esi + 0x3c], 0
xor edi, edi
cmp dword [esi + 0x3c], edi
jne 0x41be17
lea eax, [ebx + ebx]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.004270a0
add esp, 0xc
test ebx, ebx
je 0x41be48
mov eax, dword [esi + 0x3c]
movzx eax, byte [edi + eax]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.0041b892
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [edi + ecx], al
inc edi
cmp edi, ebx
jb 0x41be2a
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41be7a
mov eax, dword [esi + 0x24]
lea edi, [eax + ebx]
cmp edi, dword [esi + 0x28]
jb 0x41be66
mov dword [esi + 0x14], 0x30000
jmp 0x41be9c
push ebx
push edx
add eax, ecx
push eax
call fcn.004270a0
add esp, 0xc
add dword [esi + 0x24], ebx
mov eax, ebx
jmp 0x41be9e
mov eax, dword [esi + 4]
test eax, eax
je 0x41be95
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x41be9e
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41c2b1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x84]
push edi
test ecx, ecx
je 0x41c302
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x41c32a
sub edi, eax
cmp edi, dword [ebp + 8]
jbe 0x41c2d9
mov edi, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.004270a0
add esp, 0xc
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x78]
add dword [esi + 0x74], edi
mov edx, edi
mov ecx, ebx
call fcn.0041b757
mov dword [esi + 0x78], eax
mov eax, edi
jmp 0x41c32c
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x41c323
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c32a
mov edi, dword [ebp + 8]
jmp 0x41c2ec
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x41d05a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d078]
jne 0x41d064
repz ret
jmp fcn.0041d3d7
Function at 0x42587e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43d078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004247b7
and dword [ebp - 0x14], 0
cmp dword [0x45da8c], 0
mov dword [ebp - 0x18], eax
jne 0x425931
push 0x434914
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4259d9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4259d9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45da8c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45da90], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45da94], eax
call edi
push eax
call esi
mov dword [0x45da9c], eax
test eax, eax
je 0x425931
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45da98], eax
mov eax, dword [0x45da98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42598a
cmp dword [0x45da9c], ecx
je 0x42598a
push eax
call esi
push dword [0x45da9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42598a
test ebx, ebx
je 0x42598a
call edi
test eax, eax
je 0x425981
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x425981
test byte [ebp - 8], 1
jne 0x42598a
or dword [ebp + 0x10], 0x200000
jmp 0x4259bd
mov eax, dword [0x45da90]
cmp eax, dword [ebp - 0x18]
je 0x4259bd
push eax
call esi
test eax, eax
je 0x4259bd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4259bd
mov eax, dword [0x45da94]
cmp eax, dword [ebp - 0x18]
je 0x4259bd
push eax
call esi
test eax, eax
je 0x4259bd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45da8c]
call esi
test eax, eax
je 0x4259d9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4259db
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d05a
leave
ret
Function at 0x10003250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101178e8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10157de0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push edi
mov eax, dword [0x10157de0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
lea eax, [esp + 0x2c]
push eax
lea edi, [esp + 0x60]
mov dword [esp + 0x58], ebx
call fcn.10009820
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 1
call fcn.100c3470
push esi
mov ecx, eax
mov byte [esp + 0x58], 2
call fcn.100030b0
mov edi, 8
cmp dword [esp + 0x28], edi
jb 0x100032d0
mov edx, dword [esp + 0x14]
push edx
call fcn.100d41da
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp dword [esp + 0x44], edi
jb 0x100032f6
mov ecx, dword [esp + 0x30]
push ecx
call fcn.100d41da
add esp, 4
xor edx, edx
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], dx
jb 0x1000331d
mov eax, dword [esp + 0x60]
push eax
call fcn.100d41da
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100d3301
add esp, 0x4c
ret