joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e798
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff9c
mov esi, edx
mov ebp, eax
mov bl, 1
mov eax, esi
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
mov dword [esp], eax
mov eax, esi
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov edi, eax
mov dword [esp + 4], 0x400
cmp dword [ebp + 8], 0
je 0x44e8c6
mov eax, dword [ebp + 0x68]
cmp eax, dword [esp + 4]
jae 0x44e8c6
mov eax, dword [ebp + 0x68]
mov dword [esp + 4], eax
jmp 0x44e8c6
cmp edi, dword [esp + 4]
jbe 0x44e7ef
mov esi, dword [esp + 4]
jmp 0x44e7f1
mov esi, edi
cmp dword [ebp + 8], 0
je 0x44e8ab
mov edx, dword [ebp + 0x78]
add edx, dword [ebp + 0x60]
mov eax, dword [esp]
mov ecx, esi
call sub.rtl250.bpl__System_Move_qqrpxvpvi
push 3
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x78]
add eax, dword [ebp + 0x60]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x78]
add eax, dword [ebp + 0x60]
add eax, esi
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
push eax
push 3
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push 3
push 0x44e8dc
push 3
lea ecx, [esp + 0x30]
lea edx, [esp + 0x24]
mov eax, ebp
call fcn.0044e474
push 0
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [ebp + 0x54]
push eax
mov eax, dword [ebp + 8]
call dword [eax + 0x64]
test eax, eax
jne 0x44e8a3
push 0
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x24]
add eax, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 0x78]
push eax
mov eax, dword [ebp + 0x50]
push eax
call sub.wsock32.dll_send
test eax, eax
jg 0x44e8a7
xor ebx, ebx
jmp 0x44e8c1
mov bl, 1
jmp 0x44e8c1
push 0
push esi
mov eax, dword [esp + 8]
push eax
mov eax, dword [ebp + 0x50]
push eax
call sub.wsock32.dll_send
test eax, eax
setg bl
add dword [esp], esi
sub edi, esi
test bl, bl
je 0x44e8d2
test edi, edi
ja 0x44e7e3
mov eax, ebx
add esp, 0x64
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4530ac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4531c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer
mov esi, dword [ebp - 0xc]
cmp byte [ebp + 8], 0
je 0x4530f6
mov dword [ebp - 0x10], 0x600
jmp 0x4530fd
mov dword [ebp - 0x10], 0x800
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call sub.rtl250.bpl__System__LStrSetLength_qqrr27System__AnsiStringT_us_i0__ius
test esi, esi
jbe 0x4531a7
cmp esi, dword [ebp - 0x10]
jae 0x453123
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, esi
call sub.rtl250.bpl__System__LStrSetLength_qqrr27System__AnsiStringT_us_i0__ius
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x453150
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
cmp eax, dword [ebp - 0x14]
je 0x453154
xor ebx, ebx
jmp 0x4531a7
cmp byte [ebp + 8], 0
je 0x453173
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041b8fc
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.004524ac
mov ebx, eax
jmp 0x45317f
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004524ac
mov ebx, eax
test bl, bl
je 0x4531a7
sub esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
sub eax, esi
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0xc]
mov edx, eax
mov eax, edi
call fcn.004529f0
test esi, esi
ja 0x453112
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531cc
lea eax, [ebp - 0x18]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrClr_qqrpv
ret
Function at 0x458b60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x458ca3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409ff4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
cmp dword [ebp - 4], 0
je 0x458c79
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__UStrLen_qqrx20System_UnicodeString
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x5c
jne 0x458bcd
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__UStrLen_qqrx20System_UnicodeString
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call sub.rtl250.bpl__System__UStrDelete_qqrr20System_UnicodeStringii
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x458c19
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x458c15
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00458b60
pop ecx
test al, al
je 0x458c11
push 0
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x458c15
xor ebx, ebx
jmp 0x458c7b
mov bl, 1
jmp 0x458c7b
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0xc]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x458c75
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00458b60
pop ecx
test al, al
je 0x458c71
push 0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x10]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x458c75
xor ebx, ebx
jmp 0x458c7b
mov bl, 1
jmp 0x458c7b
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458caa
lea eax, [ebp - 0x10]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x46564c
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x53efa0
push 0x53ef9c
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x4656a4
push 0x53ef94
push 0
push 0
push 0x465560
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x53ef98], eax
cmp dword [0x53ef98], 0
je 0x4656a4
mov edx, 0x4656b4
mov eax, dword [0x53ef94]
call fcn.0043536c
push 2
mov eax, dword [0x53ef98]
push eax
call sub.kernel32.dll_SetThreadPriority
ret

Function at 0x4656f8
Capabilities:
Resume thread
Terminate thread
Write file on windows

Disassembly:
add esp, 0xffffff6c
cmp dword [0x53ef94], 0xffffffff
je 0x4657e0
mov eax, dword [0x53ef98]
push eax
call sub.kernel32.dll_ResumeThread
xor eax, eax
call fcn.0043588c
test al, al
jne 0x465768
lea eax, [esp + 4]
mov edx, 0x90
call fcn.00403dc4
push 0
lea eax, [esp + 4]
push eax
push 0x90
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x53efa0]
push eax
call sub.kernel32.dll_WriteFile
mov eax, dword [0x53efa0]
push eax
call sub.kernel32.dll_CloseHandle
push 0x1f4
mov eax, dword [0x53ef98]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x465773
mov eax, dword [0x53efa0]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x53ef9c]
push eax
call sub.kernel32.dll_CloseHandle
push 0x32
mov eax, dword [0x53ef98]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x4657b0
push 0
mov eax, dword [0x53ef98]
push eax
call sub.kernel32.dll_TerminateThread
cmp dword [0x53efa4], 0
je 0x4657b0
mov eax, dword [0x53efa4]
push eax
call sub.kernel32.dll_LocalFree
xor eax, eax
mov dword [0x53efa4], eax
mov eax, dword [0x53ef98]
push eax
call sub.kernel32.dll_CloseHandle
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x53ef94]
call fcn.004350e0
mov dword [0x53ef94], 0xffffffff
add esp, 0x94
ret
Function at 0x466828
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4668eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call sub.rtl250.bpl__System__UStrClr_qqrpv
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x466890
push 0x104
lea eax, [ebp - 0x20a]
push eax
push 0x1001
push 0x800
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4668d2
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call sub.rtl250.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
jmp 0x4668d2
push 0x104
lea eax, [ebp - 0x20a]
push eax
push 0x1001
push 0x800
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4668d2
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromPChar_qqrr27System__AnsiStringT_us_i0__pcus
mov edx, dword [ebp - 0x210]
mov eax, ebx
call sub.rtl250.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4668f2
lea eax, [ebp - 0x210]
call sub.rtl250.bpl__System__LStrClr_qqrpv
ret

Function at 0x466c9c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor edx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x466d9a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x466da8
push 0x466dd4
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.004035c4
test eax, eax
je 0x466ce3
mov dword [ebp - 0x60], 0x40
lea edx, [ebp - 0x60]
push edx
call eax
jmp 0x466d09
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push 0
push 0x100000
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
add eax, 0x80000
adc edx, 0
call sub.rtl250.bpl__System___lldiv_qqrv
push edx
push eax
lea ecx, [ebp - 0x64]
mov dx, 0x30
mov eax, 1
call fcn.00408b44
push dword [ebp - 0x64]
push 0x466dfc
push 0
push 0x100000
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
add eax, 0x80000
adc edx, 0
call sub.rtl250.bpl__System___lldiv_qqrv
push edx
push eax
lea ecx, [ebp - 0x68]
mov dx, 0x30
mov eax, 1
call fcn.00408b44
push dword [ebp - 0x68]
push 0x466e0c
mov eax, ebx
mov edx, 4
call sub.rtl250.bpl__System__UStrCatN_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466da1
lea eax, [ebp - 0x68]
mov edx, 2
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x4671c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x467324
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrClr_qqrpv
push 0x543500
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x4672f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, esi
call sub.rtl250.bpl__System__LStrFromPCharLen_qqrr27System__AnsiStringT_us_i0__pcius
push 0
mov edx, edi
lea eax, [ebp - 8]
mov ecx, ebx
call sub.rtl250.bpl__System__LStrFromPCharLen_qqrr27System__AnsiStringT_us_i0__pcius
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
cmp ebx, eax
jne 0x4672eb
mov eax, dword [ebp - 8]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
cmp ebx, eax
jne 0x4672eb
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call sub.rtl250.bpl__System__LStrEqual_qqrv
je 0x4672eb
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4672eb
mov edx, esi
mov eax, edi
mov ecx, ebx
call sub.rtl250.bpl__System_Move_qqrpxvpvi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
mov eax, dword [0x543518]
call sub.rtl250.bpl__System__DynArrayLength_qqrpxv
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x543518
mov ecx, 1
mov edx, dword [0x467194]
call sub.rtl250.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov edi, ebx
add edi, edi
mov eax, dword [0x543518]
mov dword [eax + edi*8], esi
mov eax, dword [0x543518]
lea eax, [eax + edi*8 + 4]
mov edx, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov eax, dword [0x543518]
lea eax, [eax + edi*8 + 8]
mov edx, dword [ebp - 8]
call sub.rtl250.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov eax, dword [0x543518]
mov edx, dword [ebp + 8]
mov dword [eax + edi*8 + 0xc], edx
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4672ff
push 0x543500
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46732b
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x467338
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467466
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x543500
call sub.kernel32.dll_EnterCriticalSection
mov eax, dword [0x543518]
call sub.rtl250.bpl__System__DynArrayHigh_qqrpxv
test eax, eax
jl 0x467437
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add eax, eax
mov edx, dword [0x543518]
lea ebx, [edx + eax*8]
xor eax, eax
push ebp
push 0x467421
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 8]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov edx, eax
mov eax, dword [ebx]
call fcn.0040f420
test al, al
jne 0x467417
push 0
mov eax, dword [ebx + 8]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov ecx, eax
mov edx, dword [ebx]
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrFromPCharLen_qqrr27System__AnsiStringT_us_i0__pcius
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 8]
call sub.rtl250.bpl__System__LStrEqual_qqrv
jne 0x467417
lea eax, [ebp - 0xc]
push eax
push 0x40
mov eax, dword [ebx + 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x467417
mov eax, dword [ebx + 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
mov ecx, eax
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
call sub.rtl250.bpl__System_Move_qqrpxvpvi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx + 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46742b
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x46737b
push 0x543500
call sub.kernel32.dll_LeaveCriticalSection
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46746d
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrClr_qqrpv
ret
Function at 0x467938
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467a78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x467a94
call sub.rtl250.bpl__System__LStrEqual_qqrv
je 0x467a45
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x4679ad
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x467aa4
mov edx, ebx
call sub.rtl250.bpl__System__LStrCat3_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__t2
mov eax, dword [ebp - 0x2c]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call eax
jmp 0x467a01
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
mov ecx, 0x467aa4
mov edx, ebx
call sub.rtl250.bpl__System__LStrCat3_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__t2
mov eax, dword [ebp - 0x30]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x467a01
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
call sub.rtl250.bpl__System___llmul_qqrv
call sub.rtl250.bpl__System___llmul_qqrv
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0x467ab4
mov edi, dword [0x53fc7c]
mov edi, dword [edi]
lea edx, [ebp - 0x38]
mov eax, ebx
call edi
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
call sub.rtl250.bpl__System__UStrFromLStr_qqrr20System_UnicodeStringx27System__AnsiStringT_us_i0__
push dword [ebp - 0x34]
push 0x467ac4
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x3c]
call fcn.004094ec
push dword [ebp - 0x3c]
mov eax, esi
mov edx, 4
call sub.rtl250.bpl__System__UStrCatN_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a7f
lea eax, [ebp - 0x3c]
call sub.rtl250.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x38]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x34]
call sub.rtl250.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x30]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x46ab70
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
call sub.kernel32.dll_GetCurrentThreadId
cmp esi, eax
je 0x46ab9a
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
cmp esi, 0xffffffff
je 0x46ab9a
push edi
call sub.kernel32.dll_ResumeThread
test esi, esi
setg bl
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x46f518
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x46f628
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x46f608
mov eax, ebx
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_GetModuleHandleA
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.0040e6dc
mov dword [edi], eax
test esi, esi
je 0x46f576
cmp word [esi], 0x25ff
jne 0x46f576
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x46f578
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x46f596
push 0
call sub.kernel32.dll_GetModuleHandleW
cmp eax, dword [0x53e64c]
je 0x46f596
cmp byte [0x53e658], 0
je 0x46f5ad
lea eax, [ebp - 0x10]
call fcn.004349c8
mov eax, dword [ebp - 0x10]
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
call fcn.00434e1c
jmp 0x46f5bc
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x53e64c]
call fcn.00434d64
test ebx, ebx
je 0x46f5cb
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x46f5cf
xor eax, eax
jmp 0x46f5d1
mov al, 1
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x46f60c
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x46f60c
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
jmp 0x46f60c
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f62f
lea eax, [ebp - 0x10]
mov edx, dword [0x434998]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
ret
Function at 0x46f63c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46f717
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x46f6fb
test esi, esi
je 0x46f67d
cmp word [esi], 0x25ff
jne 0x46f67d
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x46f67f
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x46f69d
push 0
call sub.kernel32.dll_GetModuleHandleW
cmp eax, dword [0x53e64c]
je 0x46f69d
cmp byte [0x53e658], 0
je 0x46f6b4
lea eax, [ebp - 0xc]
call fcn.004349c8
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.00434e1c
jmp 0x46f6c3
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, dword [0x53e64c]
call fcn.00434d64
test ebx, ebx
je 0x46f6fb
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x46f6fb
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x46f6fb
mov dword [ebx], edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f71e
lea eax, [ebp - 0xc]
mov edx, dword [0x434998]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
ret