joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441e38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x455664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x421b98
cmp byte [edi + 0x49], 0
je 0x421b98
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x421b8c
lea esi, [ebp - 0x2c]
call fcn.00421780
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x421b03
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 0x421b2c
dec eax
je 0x421b30
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x421b87
jmp 0x421b93
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x421b40
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x421b69
cmp ebx, 0x10
jae 0x421b4f
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0042f70b
add esp, 0x10
cmp esi, eax
jne 0x421b84
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x421b90
test esi, esi
jne 0x421af7
push esi
lea ebx, [esi + 8]
lea esi, [ebp - 0x2c]
call fcn.00415510
jmp 0x421af1
lea ecx, [ebp - 0x2c]
call fcn.00408fe0
xor al, al
jmp 0x421b9a
lea ecx, [ebp - 0x2c]
call fcn.00408fe0
mov al, 1
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.0042dcb6
mov esp, ebp
pop ebp
ret
Function at 0x421d00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441a3b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x455664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0042d80c
push 4
mov dword [ebp - 4], 0
call fcn.0042e47e
mov edi, eax
add esp, 4
test edi, edi
je 0x421d7c
call fcn.0042d6e4
mov dword [edi], eax
call fcn.0042d4a3
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0042d7cd
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x421d72
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0042d7f5
jmp 0x421d7e
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 4

Function at 0x4239d0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4421c9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x455664]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0x34], ebx
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x44d63e
mov dword [ebp - 0x38], esi
mov byte [esi], bl
call fcn.00409140
push 0x1e
mov dword [ebp - 4], ebx
mov edi, 1
push str.Mozilla_5.0__Windows_NT_10.0_
mov ecx, esi
mov dword [ebp - 0x34], edi
call fcn.00409140
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ebx
call dword [0x45859c]
push eax
call dword [0x458540]
test eax, eax
je 0x423a5a
mov eax, 0x45086c
cmp dword [ebp - 0x30], ebx
jne 0x423a5f
mov eax, 0x450870
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.004151a0
add esp, 0xc
mov dword [ebp - 4], edi
mov edi, eax
call fcn.00409050
mov byte [ebp - 4], bl
mov ebx, 0x10
cmp dword [ebp - 0x18], ebx
jb 0x423a90
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042dcab
add esp, 4
push str._rv:107.0__Gecko___20100101_Firefox___107.0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004151a0
add esp, 0xc
mov edi, eax
mov dword [ebp - 4], 2
call fcn.00409050
cmp dword [ebp - 0x18], ebx
jb 0x423ac1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042dcab
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.0042dcb6
mov esp, ebp
pop ebp
ret
Function at 0x423b80
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441a00
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x455664]
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 0x445408
push 1
push ebx
push 0x4454d8
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 0x423d24
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 0x450960
push eax
call edx
cmp eax, ebx
jl 0x423d24
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 byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x423d24
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 0x423d24
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
push ebx
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push str.InstallDate
push eax
call edx
mov eax, dword [ebp - 0x60]
push eax
lea esi, [ebp - 0x70]
call fcn.00423ae0
add esp, 4
lea ecx, [ebp - 0x24]
push ecx
mov edx, esi
push edx
call dword [0x4585b4]
call dword [0x45857c]
push 0x104
push ebx
push eax
call dword [0x458504]
movzx ecx, word [ebp - 0x1a]
movzx edx, word [ebp - 0x1c]
mov esi, eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x24]
push ecx
movzx ecx, word [ebp - 0x22]
push edx
movzx edx, word [ebp - 0x1e]
push eax
push ecx
push edx
push str._d__d__d__d:_d:_d
push esi
call dword [0x458374]
add esp, 0x20
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x40]
call fcn.00408fe0
mov eax, esi
jmp 0x423d29
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.0042dcb6
mov esp, ebp
pop ebp
ret
Function at 0x423d50
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x455664]
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 0x445408
push 1
push ebx
push 0x4454d8
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x6c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x6c], ebx
mov ecx, dword [eax]
push str.rootSecurityCenter2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x423eda
mov ecx, dword [ebp - 0x6c]
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 - 0x6c]
lea ecx, [ebp - 0x74]
push ecx
push ebx
push 0x20
push str.Select__From_AntiVirusProduct
mov dword [ebp - 0x74], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x450960
push eax
call edx
cmp eax, ebx
jl 0x423eda
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x423eda
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x70]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x78], ebx
je 0x423eda
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
push ebx
lea ecx, [ebp - 0x90]
push ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push str.displayName
push eax
call edx
mov eax, dword [ebp - 0x88]
lea esi, [ebp - 0x4c]
call fcn.00423f00
mov eax, esi
lea ebx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00424680
cmp dword [eax + 0x14], 0x10
jb 0x423ea9
mov edi, dword [eax]
jmp 0x423eab
mov edi, eax
lea ecx, [ebp - 0x68]
call fcn.00408fe0
lea esi, [ebp - 0x4c]
call fcn.00414f50
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x30]
call fcn.00408fe0
mov eax, edi
jmp 0x423edf
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.0042dcb6
mov esp, ebp
pop ebp
ret
Function at 0x4249d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4427ca
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x455664]
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 ebx, ecx
xor edi, edi
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], edi
lea eax, [ebp - 0x4c]
push eax
mov esi, 1
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00424720
cmp dword [eax + 0x14], 8
jb 0x424a2a
mov eax, dword [eax]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x38], 8
mov dword [ebp - 0x2a0], eax
jb 0x424a50
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0042dcab
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
xor edx, edx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x270]
mov word [ebp - 0x30], dx
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x20], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424a84
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x30]
call fcn.00423f40
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00425eb0
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], esi
jb 0x424ac8
mov eax, dword [ebp - 0x30]
push eax
call fcn.0042dcab
add esp, 4
mov edx, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x29c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x424b57
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424b00
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x30]
call fcn.00423f40
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00425eb0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], esi
jb 0x424b3f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0042dcab
add esp, 4
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x29c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424ae0
cmp dword [ebp + 0x1c], 0x10
jb 0x424b69
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042dcab
add esp, 4
mov eax, ebx
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.0042dcb6
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x424fc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x455664]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x138], eax
xor bl, bl
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x134]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x42504a
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea edx, [ebp - 0x134]
push edx
push esi
call edi
test eax, eax
je 0x42504a
lea ecx, [ecx]
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043d610
add esp, 8
test eax, eax
jne 0x42503c
mov bl, 1
lea edx, [ebp - 0x134]
push edx
push esi
call edi
test eax, eax
jne 0x425020
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0042dcb6
mov esp, ebp
pop ebp
ret
Function at 0x42a890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x42aaae
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x42a917
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 eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
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
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x42a957
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x42a957
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x42a942
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.0042a600
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x42a957
mov ebx, eax
mov eax, dword [esi + 0x6af84]
mov ecx, esi
cmp ebx, 3
jb 0x42aa3b
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.00429e80
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x42aa04
cmp ecx, 3
jb 0x42aa04
mov edi, 1
sub ebx, edi
lea esp, [esp]
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x42a9a0
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x42aa56
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, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x42aa56
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.00429e80
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x42aa90
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x42aa6d
lea edx, [ecx + esi + 0x1af70]
jmp 0x42aa6f
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
push edx
xor edi, edi
mov ecx, esi
call fcn.00429ce0
mov ecx, dword [esi + 0x6af84]
add esp, 4
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x42aaa1
call fcn.0042a750
cmp dword [esi + 0x6af90], 0
jne 0x42a8c0
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x42aac1
lea edx, [ecx + esi + 0x1af70]
jmp 0x42aac3
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
push edx
mov edi, 1
mov ecx, esi
call fcn.00429ce0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x42b777
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x42b84d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44d9d8]
add ecx, 8
sub edx, 8
dec esi
jne 0x42b790
pop edi
test edx, edx
je 0x42b86a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x44d9d8]
inc ecx
dec edx
jne 0x42b851
not eax
pop esi
ret

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

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x44d9d8]
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 + 0x44d9d8]
mov dword [edx + 8], ecx
ret
Function at 0x42bcf0
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 0x42bddb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x42bd27
cmp dword [esi + 0x40], edi
jae 0x42bd27
push eax
call fcn.0042dcab
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x42bd3f
lea eax, [edi + edi]
push eax
call fcn.0042e47e
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.0042fd80
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x42bdd8
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 + 0x44d9d8]
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 + 0x44d9d8]
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 0x42bd57
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x42be1a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x42bdff
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.0042fd80
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 0x42be3c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x458420]
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 0x42dcb6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x455664]
jne 0x42dcc0
repz ret
jmp fcn.00432c14

Function at 0x43be0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x455664]
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.00434e0b
and dword [ebp - 0x14], 0
cmp dword [0x457a34], 0
mov dword [ebp - 0x18], eax
jne 0x43bebf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43bf67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x43bf67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x457a34], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x457a38], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x457a3c], eax
call edi
push eax
call esi
mov dword [0x457a44], eax
test eax, eax
je 0x43bebf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x457a40], eax
mov eax, dword [0x457a40]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43bf18
cmp dword [0x457a44], ecx
je 0x43bf18
push eax
call esi
push dword [0x457a44]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43bf18
test ebx, ebx
je 0x43bf18
call edi
test eax, eax
je 0x43bf0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43bf0f
test byte [ebp - 8], 1
jne 0x43bf18
or dword [ebp + 0x10], 0x200000
jmp 0x43bf4b
mov eax, dword [0x457a38]
cmp eax, dword [ebp - 0x18]
je 0x43bf4b
push eax
call esi
test eax, eax
je 0x43bf4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43bf4b
mov eax, dword [0x457a3c]
cmp eax, dword [ebp - 0x18]
je 0x43bf4b
push eax
call esi
test eax, eax
je 0x43bf4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x457a34]
call esi
test eax, eax
je 0x43bf67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43bf69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042dcb6
leave
ret