joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4180b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
push edi
lea eax, [ebp - 4]
push eax
push ecx
call fcn.00417fa0
xor edi, edi
add esp, 8
mov ebx, eax
cmp dword [ebp - 4], edi
jle 0x4180ff
push esi
mov edx, dword [ebx + edi*4]
push edx
push 0
push 0x1fffff
call dword [0x468028]
mov esi, eax
cmp esi, 0xffffffff
je 0x4180f1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [0x467ed0]
inc edi
cmp edi, dword [ebp - 4]
jl 0x4180d0
pop esi
push ebx
call fcn.0042ad2d
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f42b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4556f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0042a98b
push 4
mov dword [ebp - 4], 0
call fcn.0042b781
mov edi, eax
add esp, 4
test edi, edi
je 0x419390
call fcn.0042a5cb
mov dword [edi], eax
call fcn.0042a38a
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0042a2bf
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x419386
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042a2e7
jmp 0x419392
xor edi, 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
mov dword [esi + 0x38], edi
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 eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4556f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x41a021
cmp byte [edi + 0x49], bl
je 0x41a021
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x41a015
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x419f75
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x419f8d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x419fb6
dec eax
je 0x419fba
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x41a010
jmp 0x41a01c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x419fca
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x419ff3
cmp ebx, 0x10
jae 0x419fd9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042ce64
add esp, 0x10
cmp esi, eax
jne 0x41a00d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x41a019
test esi, esi
jne 0x419f81
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040b170
jmp 0x419f7b
lea ecx, [ebp - 0x2c]
call fcn.00405090
xor al, al
jmp 0x41a023
lea ecx, [ebp - 0x2c]
call fcn.00405090
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ac8a
mov esp, ebp
pop ebp
ret
Function at 0x41f950
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fc30
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4556f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x50]
push eax
push 0x44d750
push 1
push ebx
push 0x44d820
mov dword [ebp - 0x50], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x44]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x41faf9
mov ecx, dword [ebp - 0x44]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push 0x20
push str.Select__From_Win32_OperatingSystem
mov dword [ebp - 0x4c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x44c814
push eax
call edx
cmp eax, ebx
jl 0x41faf2
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41fb06
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
lea edx, [ebp - 0x48]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x54], ebx
je 0x41fb06
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push str.InstallDate
push eax
mov byte [ebp - 4], 2
call edx
mov ecx, dword [ebp - 0x5c]
push 1
lea eax, [ebp - 0x6c]
push eax
push ecx
call fcn.0041f770
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
call dword [0x4680cc]
call dword [0x468094]
push 0x104
push ebx
push eax
call dword [0x46801c]
movzx ecx, word [ebp - 0x18]
movzx edx, word [ebp - 0x1a]
push ecx
movzx ecx, word [ebp - 0x24]
push edx
movzx edx, word [ebp - 0x22]
mov esi, eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push ecx
push edx
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0x467e8c]
add esp, 0x20
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x40]
call fcn.00405090
mov eax, esi
jmp 0x41fb0b
mov eax, 0x44c890
jmp 0x41fb0b
mov eax, 0x44c898
jmp 0x41fb0b
mov eax, 0x44c8a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ac8a
mov esp, ebp
pop ebp
ret
Function at 0x41feb0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fcab
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4556f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x7c]
push eax
push 0x44d750
push 1
push ebx
push 0x44d820
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x70]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x70], ebx
mov ecx, dword [eax]
push str.rootSecurityCenter2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x420042
mov ecx, dword [ebp - 0x70]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x78]
push ecx
push ebx
push 0x20
push str.Select__From_AntiVirusProduct
mov dword [ebp - 0x78], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x44c914
push eax
call edx
cmp eax, ebx
jl 0x42003b
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42004f
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x80]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x74], ebx
je 0x42004f
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x90]
push ecx
push ebx
push str.displayName
push eax
mov byte [ebp - 4], 2
call edx
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041fc20
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x69]
mov byte [ebp - 4], 3
call fcn.00424100
cmp dword [eax + 0x14], 0x10
jb 0x420010
mov esi, dword [eax]
jmp 0x420012
mov esi, eax
lea ecx, [ebp - 0x68]
call fcn.00405090
lea ecx, [ebp - 0x4c]
call fcn.0040b020
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x30]
call fcn.00405090
mov eax, esi
jmp 0x420054
mov eax, 0x44c934
jmp 0x420054
mov eax, 0x44c93c
jmp 0x420054
mov eax, str.Unknown
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ac8a
mov esp, ebp
pop ebp
ret
Function at 0x420a70
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fe59
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4556f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x44c623
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], esi
mov byte [esi], bl
call fcn.00405620
push 0x1e
push str.Mozilla_5.0__Windows_NT_10.0_
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 1
call fcn.00405620
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
call dword [0x4680b4]
push eax
call dword [0x468058]
test eax, eax
je 0x420afb
mov eax, 0x44c728
cmp dword [ebp - 0x30], ebx
jne 0x420b00
mov eax, 0x44c72c
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.0040dd80
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00405760
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], bl
jb 0x420b32
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042abab
add esp, 4
push str._rv:107.0__Gecko___20100101_Firefox___107.0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0040dd80
add esp, 0xc
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00405760
cmp dword [ebp - 0x18], 0x10
jb 0x420b65
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042abab
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ac8a
mov esp, ebp
pop ebp
ret 4
Function at 0x424960
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4404aa
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4556f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], edi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp - 0x48]
mov ebx, 1
push edx
mov dword [ebp - 4], ebx
call fcn.004241b0
cmp dword [eax + 0x14], 8
jb 0x4249bc
mov eax, dword [eax]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x29c], eax
jb 0x4249e2
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042abab
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
xor edx, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x26c]
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x1c], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424a16
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041fb30
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00424870
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], bl
jb 0x424a59
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042abab
add esp, 4
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x424aeb
xor edx, edx
lea eax, [ebp - 0x26c]
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424a90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041fb30
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00424870
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], bl
jb 0x424ad3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042abab
add esp, 4
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424a71
cmp dword [ebp + 0x20], 0x10
jb 0x424afd
mov edx, dword [ebp + 0xc]
push edx
call fcn.0042abab
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ac8a
mov esp, ebp
pop ebp
ret 0x20
Function at 0x427090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x42709e
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x42717d
mov esi, edx
shr esi, 3
push edi
jmp 0x4270c0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44cdf0]
add ecx, 8
sub edx, 8
dec esi
jne 0x4270c0
pop edi
test edx, edx
je 0x42719a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x44cdf0]
inc ecx
dec edx
jne 0x427181
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x44cdf0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x44cdf0]
mov dword [edx + 8], ecx
pop ebp
ret
Function at 0x427730
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x42781b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x427767
cmp dword [esi + 0x40], edi
jae 0x427767
push eax
call fcn.0042abab
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x42777f
lea eax, [edi + edi]
push eax
call fcn.0042b781
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.0042ad70
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x427818
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x44cdf0]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x44cdf0]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x427797
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x42785a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x42783f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.0042ad70
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42787c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x467f38]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x428e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x429025
cmp dword [esi + 0x6af90], 3
jb 0x428e87
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x428ec7
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x428ec7
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x428eaf
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.00426590
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x428ec7
mov edi, eax
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x428fa4
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.00426060
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x428f6e
cmp eax, 3
jb 0x428f6e
mov eax, 1
sub edi, eax
lea ecx, [ecx]
add dword [esi + 0x6af84], eax
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor ecx, ebx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub edi, eax
mov dword [esi + edx*4 + 0x2af70], ebx
mov edx, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + edx*4 + 0x4af70], ecx
jne 0x428f10
add dword [esi + 0x6af84], eax
jmp 0x428fc7
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
xor edi, edi
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
jmp 0x428fc7
movzx edx, byte [ecx + esi + 0x1af70]
push edx
push 0
push esi
call fcn.00426060
dec dword [esi + 0x6af90]
add esp, 0xc
inc dword [esi + 0x6af84]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x429003
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x428fe0
lea ecx, [eax + esi + 0x1af70]
jmp 0x428fe2
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00428c80
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x429018
push esi
call fcn.004266f0
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x428e33
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x429038
lea ecx, [eax + esi + 0x1af70]
jmp 0x42903a
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00428c80
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42ac8a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4556f0]
jne 0x42ac94
repz ret
jmp fcn.0042ffc2

Function at 0x439a1c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4556f0]
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.0043168e
and dword [ebp - 0x14], 0
cmp dword [0x4690e8], 0
mov dword [ebp - 0x18], eax
jne 0x439acf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x439b77
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x439b77
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4690e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4690ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4690f0], eax
call edi
push eax
call esi
mov dword [0x4690f8], eax
test eax, eax
je 0x439acf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4690f4], eax
mov eax, dword [0x4690f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x439b28
cmp dword [0x4690f8], ecx
je 0x439b28
push eax
call esi
push dword [0x4690f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x439b28
test ebx, ebx
je 0x439b28
call edi
test eax, eax
je 0x439b1f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x439b1f
test byte [ebp - 8], 1
jne 0x439b28
or dword [ebp + 0x10], 0x200000
jmp 0x439b5b
mov eax, dword [0x4690ec]
cmp eax, dword [ebp - 0x18]
je 0x439b5b
push eax
call esi
test eax, eax
je 0x439b5b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439b5b
mov eax, dword [0x4690f0]
cmp eax, dword [ebp - 0x18]
je 0x439b5b
push eax
call esi
test eax, eax
je 0x439b5b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4690e8]
call esi
test eax, eax
je 0x439b77
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x439b79
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ac8a
leave
ret