joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c9d1c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x7fc8b8
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x5c9d3b
mov esi, 1
mov edx, 0x7fc9c0
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x5c9db4
dec ebx
je 0x5c9dd6
dec ebx
je 0x5c9df8
dec ebx
je 0x5c9e19
jmp 0x5c9e33
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5c9e33
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5c9e33
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x5c9e33
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x5c9da4
inc esi
add edx, 0x40
cmp esi, 9
jne 0x5c9d57
mov esi, 0x20
mov eax, 0x7fc8e8
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x5c9e58
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5c9e94
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x7fc96f]
test bl, bl
jbe 0x5c9ec5
lea eax, [esi + 0x3e0]
call fcn.005c9e70
lea eax, [esi + 0x3fc]
call fcn.005c9e70
dec bl
jne 0x5c9eab
mov cl, 0x30
mov edi, 0x7fc940
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x5c9ee6
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x5c9ef3
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x5c9ecf
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5c9f00
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.005c9cb4
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x5c9f1c
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.005c9cb4
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.005c9cb4
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x5c9f38
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.005c9e94
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x5c9f62
mov bl, 1
mov eax, 0x7fc838
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x5c9f9b
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x5c9fa8
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x5c9f87
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x5c9fd2
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.005c9d1c
jmp 0x5c9ff9
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.005c9d1c
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x5ca001
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x5c9fba
mov bl, 0x40
mov esi, 0x7fc878
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x5ca067
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x5ca074
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x5ca050
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.005c9cdc
inc ebx
inc esi
cmp bl, 0x41
jne 0x5ca082
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5ca220
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x5ca2d1
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x5ca2cc
mov eax, edi
xor ecx, ecx
mov edx, 8
call sub.rtl120.bpl__System__LStrSetLength_qqrv
push 1
mov eax, edi
call sub.rtl120.bpl__System__UniqueStringA_qqrr27System__AnsiStringT_us_i0__
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.005c9f00
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5cff40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x5cff49
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5d010f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005d02a4
xor eax, eax
push ebp
push 0x5d00e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x5cff99
call sub.rtl120.bpl__System__TryFinallyExit_qqrv
jmp 0x5d00e7
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x5d006e
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x5cffee
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x5cffee
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005cfe9c
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x5d002d
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.005cfe9c
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x5d00ca
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.005cfe9c
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x5d012c
lea eax, [ebp - 0x20]
mov edx, 4
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005cfebc
jmp 0x5d00ca
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x5d0091
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x5d0091
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x5d00a7
mov eax, ebx
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x5d00ca
lea eax, [ebp - 0x28]
mov ecx, 0x5d012c
mov edx, ebx
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.005cfebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d00e7
mov eax, dword [ebp - 4]
call fcn.005d02b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d0116
lea eax, [ebp - 0x28]
mov edx, 3
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x18]
mov edx, 4
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x614a30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x614af8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xc8
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x614b08]
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x3fff
push 0x80000000
push 0
call sub.rtl120.bpl__Math_Min_qqrxgxg
fstp qword [ebp - 8]
wait
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [0x8069e4]
mov cl, 1
mov edx, 3
call fcn.00555080
fstp qword [ebp - 0x10]
wait
fld dword [0x614b0c]
fsub qword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
fild dword [ebp - 0x1c]
fmulp st(1)
call sub.rtl120.bpl__System__TRUNC_qqrv
mov ebx, eax
lea edx, [ebp - 0x20]
mov eax, ebx
call sub.rtl120.bpl__Sysutils_IntToStr_qqri
mov eax, dword [ebp - 0x20]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_OutputDebugStringW
mov edx, ebx
mov eax, esi
call fcn.0061492c
mov eax, dword [sym.imp.vcl120.bpl__Forms_Application]
mov eax, dword [eax]
call sub.vcl120.bpl__Forms_TApplication_ProcessMessages_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x614aff
lea eax, [ebp - 0x20]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret
Function at 0x63a250
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x63a42b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x10
call sub.rtl120.bpl__System__FillChar_qqrpvib
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call sub.rtl120.bpl__System__FillChar_qqrpvib
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 0
cmp dword [ebp - 4], 0
jne 0x63a2ce
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x63a2f0
push 0x63a44c
push dword [ebp - 4]
push 0x63a44c
push 0x63a45c
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 5
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__System__UStrLen_qqrx20System_UnicodeString
add eax, 2
add eax, eax
call sub.rtl120.bpl__System__GetMem_qqri
mov ebx, eax
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__System__UStrLen_qqrx20System_UnicodeString
add eax, 2
mov edx, eax
add edx, edx
mov eax, ebx
call fcn.00402518
mov edx, dword [ebp - 0xc]
mov eax, ebx
call sub.rtl120.bpl__Sysutils_StrPCopy_qqrpbx20System_UnicodeString
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x63a35b
mov byte [ebp - 0xd], 0
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
mov eax, ebx
call sub.rtl120.bpl__System__FreeMem_qqrpv
jmp 0x63a410
mov eax, ebx
call sub.rtl120.bpl__System__FreeMem_qqrpv
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x63a40c
push 0xffffffffffffffff
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x63a3aa
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x63a3a4
cmp dword [ebp - 0x14], 0x103
je 0x63a39e
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [ebp - 0xd], 1
jmp 0x63a3d3
mov byte [ebp - 0xd], 0
jmp 0x63a3d3
mov byte [ebp - 0xd], 0
jmp 0x63a3d3
cmp eax, 0x102
jne 0x63a3b7
mov byte [ebp - 0xd], 0
jmp 0x63a3d3
cmp eax, 0x80
jne 0x63a3c4
mov byte [ebp - 0xd], 0
jmp 0x63a3d3
cmp eax, 0xffffffff
jne 0x63a3cf
mov byte [ebp - 0xd], 0
jmp 0x63a3d3
mov byte [ebp - 0xd], 0
xor edx, edx
push ebp
push 0x63a3f4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x63a410
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63a432
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x63a460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x63a4d4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x1a
lea eax, [ebp - 0x208]
push eax
mov eax, dword [0x808004]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call sub.rtl120.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call sub.rtl120.bpl__Sysutils_IncludeTrailingPathDelimiter_qqrx20System_UnicodeString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63a4db
lea eax, [ebp - 0x20c]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret
Function at 0x63c3ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x63c49a
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call sub.rtl120.bpl__System__FillChar_qqrpvib
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call sub.rtl120.bpl__System__FillChar_qqrpvib
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x63c4b4
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x63c47f
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63c4a1
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x63cc14
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x63cddb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x68]
mov edx, 0x10
call fcn.00402518
lea eax, [ebp - 0x58]
mov edx, 0x44
call fcn.00402518
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 0
push dword [ebp - 4]
push 0x63cdfc
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl120.bpl__System__UStrCatN_qqrv
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__System__UStrLen_qqrx20System_UnicodeString
add eax, 2
mov esi, eax
add esi, esi
mov eax, esi
call sub.rtl120.bpl__System__GetMem_qqri
mov ebx, eax
mov edx, esi
mov eax, ebx
call fcn.00402518
mov edx, dword [ebp - 0xc]
mov eax, ebx
call sub.rtl120.bpl__Sysutils_StrPCopy_qqrpbx20System_UnicodeString
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x63ccee
mov byte [ebp - 0xd], 0
mov eax, ebx
call sub.rtl120.bpl__System__FreeMem_qqrpv
jmp 0x63cdc0
mov eax, ebx
call sub.rtl120.bpl__System__FreeMem_qqrpv
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x63cdbc
cmp byte [ebp + 8], 0
je 0x63cd6e
push 0xffffffffffffffff
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x63cd43
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x63cd3d
cmp dword [ebp - 0x14], 0x103
je 0x63cd37
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov byte [ebp - 0xd], 1
jmp 0x63cd72
mov byte [ebp - 0xd], 0
jmp 0x63cd72
mov byte [ebp - 0xd], 0
jmp 0x63cd72
cmp eax, 0x102
jne 0x63cd50
mov byte [ebp - 0xd], 0
jmp 0x63cd72
cmp eax, 0x80
jne 0x63cd5d
mov byte [ebp - 0xd], 0
jmp 0x63cd72
cmp eax, 0xffffffff
jne 0x63cd68
mov byte [ebp - 0xd], 0
jmp 0x63cd72
mov byte [ebp - 0xd], 0
jmp 0x63cd72
mov byte [ebp - 0xd], 1
xor edx, edx
push ebp
push 0x63cda4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x63cd8d
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x63cd9a
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x63cdc0
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63cde2
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x6411fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [ebp + 0xc]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x6412bb
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
cmp dword [ebp - 0xc], 0
je 0x6412b2
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__System_AllocMem_qqrui
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6412ab
mov eax, dword [ebp - 0x10]
dec eax
sub eax, 2
jb 0x641294
sub eax, 4
jne 0x64129f
mov eax, ebx
mov edx, esi
call sub.rtl120.bpl__System__UStrFromPWChar_qqrr20System_UnicodeStringpb
jmp 0x6412ab
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov edx, esi
call sub.rtl120.bpl__System__UStrFromPWCharLen_qqrr20System_UnicodeStringpbi
mov eax, esi
call sub.rtl120.bpl__System__FreeMem_qqrpv
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x64515c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push 0
push 1
push 0x6451f8
call sub.wininet.dll_InternetCheckConnectionW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, 0x645248
call fcn.00644b64
test bl, bl
jne 0x645195
push 0
push 1
push 0x6452a4
call sub.wininet.dll_InternetCheckConnectionW
test eax, eax
jne 0x645195
xor eax, eax
jmp 0x645197
mov al, 1
mov ebx, eax
mov eax, 0x6452f4
call fcn.00644b64
test bl, bl
jne 0x6451bd
push 0
push 1
push 0x645350
call sub.wininet.dll_InternetCheckConnectionW
test eax, eax
jne 0x6451bd
xor eax, eax
jmp 0x6451bf
mov al, 1
mov ebx, eax
mov eax, 0x645388
call fcn.00644b64
test bl, bl
jne 0x6451e5
push 0
push 1
push 0x6453c8
call sub.wininet.dll_InternetCheckConnectionW
test eax, eax
jne 0x6451e5
xor eax, eax
jmp 0x6451e7
mov al, 1
mov ebx, eax
mov eax, 0x645400
call fcn.00644b64
mov eax, ebx
pop ebx
ret

Function at 0x64515f
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push 0
push 1
push 0x6451f8
call sub.wininet.dll_InternetCheckConnectionW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, 0x645248
call fcn.00644b64
test bl, bl
jne 0x645195
push 0
push 1
push 0x6452a4
call sub.wininet.dll_InternetCheckConnectionW
test eax, eax
jne 0x645195
xor eax, eax
jmp 0x645197
mov al, 1
mov ebx, eax
mov eax, 0x6452f4
call fcn.00644b64
test bl, bl
jne 0x6451bd
push 0
push 1
push 0x645350
call sub.wininet.dll_InternetCheckConnectionW
test eax, eax
jne 0x6451bd
xor eax, eax
jmp 0x6451bf
mov al, 1
mov ebx, eax
mov eax, 0x645388
call fcn.00644b64
test bl, bl
jne 0x6451e5
push 0
push 1
push 0x6453c8
call sub.wininet.dll_InternetCheckConnectionW
test eax, eax
jne 0x6451e5
xor eax, eax
jmp 0x6451e7
mov al, 1
mov ebx, eax
mov eax, 0x645400
call fcn.00644b64
mov eax, ebx
pop ebx
ret