joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488708
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407ef8]
call fcn.004058ac
xor eax, eax
push ebp
push 0x4888a9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bbc18], 0
jne 0x488763
mov ecx, dword [0x4bc53c]
mov dl, 1
mov eax, dword [0x408520]
call fcn.0040d088
call fcn.00404640
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004035fc
mov eax, ebx
call fcn.00405564
mov dword [ebp - 0x24], eax
mov esi, 0x4888b8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406a88
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405574
test eax, eax
jle 0x48884c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x488838
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ea8
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4887de
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404ec0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4887f4
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404ec0
mov eax, dword [ebp - 0x54]
call fcn.004050c8
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ea8
mov eax, dword [ebp - 0x58]
call fcn.004050c8
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x48883a
xor eax, eax
test al, al
je 0x488845
mov ebx, 0x15
jmp 0x488851
mov ebx, 0x10
jmp 0x488851
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4bbc18]
call fcn.00488588
mov eax, dword [ebp - 4]
call fcn.00488588
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4888b0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404c5c
lea eax, [ebp - 0xc]
mov edx, dword [0x407ef8]
call fcn.0040597c
ret
Function at 0x4aca2c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004035fc
ret
Function at 0x433c20
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esi + 8]
push eax
push 0x4337c0
push 0
push 0
mov byte [esi + 0x18], 0
mov dword [eax], esi
mov dword [esi + 0xc], ecx
call fcn.004648d4
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x433c5c
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x433c6d
mov byte [esi + 0x18], 1
xor al, al
pop esi
pop ecx
ret 4
mov al, 1
pop esi
pop ecx
ret 4

Function at 0x434990
Capabilities:
Get file version info

Disassembly:
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x4349b2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
push edi
call fcn.00462f90
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.00462ef0
mov eax, dword [esi + 8]
add esp, 0x10
push eax
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4349a9
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00434670
test eax, eax
je 0x4349a9
mov eax, dword [esp + 0x14]
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x18]
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x1c]
shr ecx, 0x10
mov word [esi + 0xc], dx
mov edx, eax
mov word [esi + 0x10], cx
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x18], cx
mov ecx, dword [esp + 0x2c]
shr edx, 0x10
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x24]
mov word [esi + 0x1a], ax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
push 0x104
lea ecx, [esi + 0x238]
push ecx
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
push 0x4a1bb4
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.004347b0
test eax, eax
je 0x4349a9
push 0x104
lea edx, [esi + 0x648]
push edx
push 0x4a1b94
mov ecx, esi
call fcn.004347b0
test eax, eax
je 0x4349a9
push 0x104
lea eax, [esi + 0x440]
push eax
push 0x4a1b7c
mov ecx, esi
call fcn.004347b0
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x34
ret

Function at 0x434b90
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x4a1bdc
push 1
push 0
push 0x4a1bcc
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x434bf4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x434bf4
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x434c04
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x434c14
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x5d4619e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d461168
push 0x5d461bd2
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x5d462050], 0xffffffff
mov eax, dword [0x5d462050]
mov dword [0x5d462054], eax
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x5d462040]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x5d46203c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x5d462058], eax
call fcn.5d461bd0
cmp dword [0x5d462038], 0
jne 0x5d461a70
push 0x5d461bc0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.5d461ba0
push 0x5d46200c
push 0x5d462008
call sub.MSVCRT.dll__initterm
add esp, 8
mov eax, dword [0x5d462034]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x5d462030]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x5d462004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x5d461ae4
mov al, byte [ebp - 0x40]
inc esi
mov al, byte [esi]
test al, al
je 0x5d461adc
cmp al, 0x22
jne 0x5d461ad1
cmp byte [esi], 0x22
jne 0x5d461aee
inc esi
jmp 0x5d461aee
cmp al, 0x20
jbe 0x5d461aee
inc esi
cmp byte [esi], 0x20
ja 0x5d461ae8
cmp byte [esi], 0
je 0x5d461afe
cmp byte [esi], 0x20
ja 0x5d461afe
inc esi
cmp byte [esi], 0
jne 0x5d461af3
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x5c], 1
mov eax, 0xa
je 0x5d461b25
mov eax, dword [ebp - 0x58]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x5d461b68
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf04d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
jmp 0xf04d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf04d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf04d10
mov eax, 1
add ebx, ebx
jne 0xf04d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf04d44
jne 0xf04d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf04d63
dec eax
add ebx, ebx
jne 0xf04d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf04d28
add ebx, ebx
jne 0xf04d5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf04db5
xor ecx, ecx
sub eax, 3
jb 0xf04d7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf04dea
sar eax, 1
mov ebp, eax
jmp 0xf04d86
add ebx, ebx
jne 0xf04d86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf04d54
inc ecx
add ebx, ebx
jne 0xf04d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf04d54
add ebx, ebx
jne 0xf04da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf04d96
jne 0xf04db2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf04d96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf04dd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf04dc6
jmp 0xf04d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf04dd4
add edi, ecx
jmp 0xf04d16
pop esi
mov edi, esi
mov ecx, 0x3f96
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf04df2
cmp byte [edi], 0x2a
jne 0xf04df2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xf04df7
lea edi, [esi + 0xaea000]
mov eax, dword [edi]
or eax, eax
je 0xf04e6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb06f68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb070d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf04e24
mov ecx, edi
jns 0xf04e53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb070d4]
or eax, eax
je 0xf04e69
mov dword [ebx], eax
add ebx, 4
jmp 0xf04e41
call dword [esi + 0xb070e4]
mov ebp, dword [esi + 0xb070d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xf04ea3
sub esp, 0xffffff80
jmp 0x487464
Function at 0x4205b0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004039a8
ret
Function at 0x4612e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4612fe
add esp, 0xfffffff0
call sub.rtl140.bpl__System__ClassCreate_qqrp17System_TMetaClasso
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x461426
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call sub.rtl140.bpl__System_TObject__bctr_qqrv
xor eax, eax
mov dword [edi + 0x30], eax
mov byte [edi + 0x3c], 1
mov byte [edi + 0x2c], 0
xor eax, eax
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x1c], eax
mov byte [edi + 8], 0
mov dword [edi + 0xc], 3
mov dword [edi + 0x48], 3
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0xa
mov byte [edi + 9], 0
mov byte [edi + 0x3d], 1
mov dword [edi + 0x40], 0xe0
mov dword [edi + 0x44], 0x1a
mov byte [edi + 0x4c], 1
lea edx, [ebp - 8]
mov eax, dword [sym.imp.vcl140.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl140.bpl__Forms_TApplication_GetExeName_qqrv
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call sub.rtl140.bpl__Sysutils_ExtractFilePath_qqrx20System_UnicodeString
mov edx, dword [ebp - 4]
lea eax, [edi + 4]
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [edi + 0x58]
xor edx, edx
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov dl, 1
mov eax, dword [sym.imp.rtl140.bpl__Classes_TStringStream_]
call sub.rtl140.bpl__Classes_TStringStream__bctr_qqrv
mov dword [edi + 0x54], eax
mov cl, 1
mov dl, 1
mov eax, dword [sym.imp.rtl140.bpl__Inifiles_THashedStringList_]
call sub.rtl140.bpl__Classes_TStringList__bctr_qqro
mov dword [edi + 0x5c], eax
mov dl, 1
mov eax, dword [0x57b944]
call fcn.0057c184
mov dword [edi + 0x6c], eax
mov dl, 1
mov eax, dword [sym.imp.vcl140.bpl__Graphics_TFont_]
call sub.vcl140.bpl__Graphics_TFont__bctr_qqrv
mov esi, eax
mov dword [edi + 0x34], esi
mov eax, esi
mov edx, 0x461458
call sub.vcl140.bpl__Graphics_TFont_SetName_qqrx20System_UnicodeString
mov eax, dword [edi + 0x34]
mov edx, 0xb
call sub.vcl140.bpl__Graphics_TFont_SetSize_qqrxi
mov eax, dword [edi + 0x34]
xor edx, edx
call sub.vcl140.bpl__Graphics_TFont_SetColor_qqrx15Graphics_TColor
mov eax, dword [edi + 0x34]
movzx edx, byte [0x461464]
call sub.vcl140.bpl__Graphics_TFont_SetStyle_qqrx47System__Set_t19Graphics_TFontStyle_iuc_0_iuc_3_
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46142d
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl140.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x46f0c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff4
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
push dword [eax - 4]
push dword [eax - 8]
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x46f1e0
xor esi, esi
jmp 0x46f1c4
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x46f129
cmp eax, 0x96
jb 0x46f1b8
jmp 0x46f12f
jl 0x46f1b8
push 0
movzx ecx, bl
mov eax, dword [edi]
mov edx, dword [ebp - 4]
call sub.vcl140.bpl__Controls_TControl_Perform_qqruiii
lea edx, [ebp - 0x28]
mov eax, dword [sym.imp.vcl140.bpl__Controls_Mouse]
mov eax, dword [eax]
call sub.vcl140.bpl__Controls_TMouse_GetCursorPos_qqrv
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x20]
mov eax, dword [edi]
call sub.vcl140.bpl__Controls_TControl_ScreenToClient_qqrrx12Types_TPoint
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax - 8], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax - 4], edx
mov eax, ebx
sub al, 2
je 0x46f179
dec al
je 0x46f185
dec al
je 0x46f191
jmp 0x46f19b
lea edx, [ebp - 0x18]
mov eax, dword [edi]
call fcn.0046ea64
jmp 0x46f19b
lea edx, [ebp - 0x18]
mov eax, dword [edi]
call fcn.0046ea14
jmp 0x46f19b
lea edx, [ebp - 0x18]
mov eax, dword [edi]
call fcn.0046eaf0
mov eax, dword [ebp + 8]
push dword [eax - 4]
push dword [eax - 8]
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x46f1d3
call sub.kernel32.dll_GetTickCount
mov esi, eax
mov eax, dword [sym.imp.vcl140.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl140.bpl__Forms_TApplication_ProcessMessages_qqrv
mov eax, dword [edi]
cmp byte [eax + 0x2e0], 0
jne 0x46f102
mov eax, dword [edi]
mov byte [eax + 0x2e0], 0
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499db8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x499dcb
add esp, 0xfffffff0
call sub.rtl140.bpl__System__ClassCreate_qqrp17System_TMetaClasso
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x499e44
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call sub.rtl140.bpl__System_TObject__bctr_qqrv
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.0049a164
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x499e74
call sub.rtl140.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov ecx, esi
mov dl, 1
mov eax, dword [0x49977c]
call fcn.0049a730
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499e4b
lea eax, [ebp - 4]
call sub.rtl140.bpl__System__UStrClr_qqrpv
ret

Function at 0x499ee4
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call sub.rtl140.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x499fb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x30]
call fcn.0049a724
mov ebx, eax
lea eax, [ebx + 0x18]
mov edx, edi
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [ebx + 0x10]
mov edx, dword [ebp + 8]
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 4]
call sub.rtl140.bpl__System__EnsureUnicodeString_qqrr20System_UnicodeString
call sub.rtl140.bpl__System__UStrLen_qqrx20System_UnicodeString
test eax, eax
jle 0x499f52
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 4]
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x499f83
mov eax, dword [ebx + 0x10]
call sub.rtl140.bpl__System__UStrLen_qqrx20System_UnicodeString
test eax, eax
jle 0x499f76
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.00490ae8
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x14]
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x499f83
lea eax, [ebx + 0x14]
mov edx, 0x499fd8
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, ebx
call fcn.0049aa28
cdq
add eax, dword [esi + 0x28]
adc edx, dword [esi + 0x2c]
jno 0x499f98
call sub.rtl140.bpl__System__IntOver_qqrv
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499fc0
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl140.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x4c274c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x9d81b0
test edx, edx
jne 0x4c275f
xor eax, eax
jmp 0x4c2874
mov dword [esp], 1
cmp byte [esp], 0
je 0x4c277c
push ecx
push edx
push eax
call fcn.004c2878
add esp, 0xc
jmp 0x4c2874
push ecx
push edx
push eax
call fcn.004c2b38
add esp, 0xc
jmp 0x4c2874
pop edx
pop esi
pop ebx
ret
Function at 0x4c43e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x6c]
mov dword [ebp - 8], eax
jmp 0x4c4425
mov edx, dword [ebx + 0x2c]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x6c]
ja 0x4c44a6
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.004c2334
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4c4473
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4c4475
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c445c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x4c449b
mov cx, word [ebp - 4]
sub cx, si
jmp 0x4c449d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c4484
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x4c4508
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x38]
add edx, dword [ebx + 0x6c]
add edx, dword [ebx + 0x74]
push edx
push edi
call fcn.004c40b4
add esp, 0xc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4c44f3
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4c4508
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4c43f7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4cfacc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cfb78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x89], 0
je 0x4cfb0e
cmp dword [ebx + 0x80], 0
je 0x4cfb0e
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x80]
call sub.rtl140.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
cmp word [ebx + 0x27a], 0
je 0x4cfb3a
push 0x14
call sub.user32.dll_GetKeyState
test ax, 1
jle 0x4cfb3a
lea ecx, [ebp - 4]
mov eax, dword [0x9f10b4]
mov eax, dword [eax]
mov edx, 0x4cfb94
call fcn.004ccf54
cmp dword [ebp - 4], 0
je 0x4cfb52
mov eax, dword [ebp - 8]
push eax
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d3468
jmp 0x4cfb62
cmp byte [ebx + 0x34c], 0
jne 0x4cfb62
mov eax, ebx
call fcn.004d200c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfb7f
lea eax, [ebp - 4]
call sub.rtl140.bpl__System__UStrClr_qqrpv
ret
Function at 0x4d2298
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d2399
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp byte [ebx + 0x32d], 0
je 0x4d22cd
cmp byte [ebx + 0x2d1], 0
je 0x4d22f6
cmp word [esi], 0xd
jne 0x4d22f6
cmp word [ebx + 0x222], 0
je 0x4d22ed
mov ecx, esi
mov edx, ebx
mov eax, dword [ebx + 0x224]
call dword [ebx + 0x220]
mov word [esi], 0
mov byte [ebp - 1], 1
cmp byte [ebx + 0x32d], 0
je 0x4d2308
cmp byte [ebx + 0x2d1], 0
je 0x4d2313
cmp word [esi], 0xa
jne 0x4d2313
mov word [esi], 0
cmp byte [ebx + 0x32c], 0
jne 0x4d232b
cmp word [esi], 9
jne 0x4d232b
mov word [esi], 0
mov byte [ebp - 1], 1
lea edx, [ebp - 8]
mov eax, ebx
call sub.vcl140.bpl__Mask_TCustomMaskEdit_GetText_qqrv
mov edx, dword [ebp - 8]
movzx ecx, word [esi]
mov eax, ebx
call fcn.004cfbbc
test al, al
jne 0x4d234b
mov word [esi], 0
mov edx, esi
mov eax, ebx
call sub.vcl140.bpl__Mask_TCustomMaskEdit_KeyPress_qqrrb
cmp byte [ebp - 1], 0
je 0x4d2383
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
setge al
test al, al
je 0x4d2378
mov eax, ebx
mov si, 0xff9b
call sub.rtl140.bpl__System__CallDynaInst_qqrv
jmp 0x4d2383
mov eax, ebx
mov si, 0xff9a
call sub.rtl140.bpl__System__CallDynaInst_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d23a0
lea eax, [ebp - 8]
call sub.rtl140.bpl__System__UStrClr_qqrpv
ret