joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466654
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 0x466717
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 0x4666bc
push 0x104
lea eax, [ebp - 0x20a]
push eax
push 0x1001
push 0x800
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4666fe
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call sub.rtl250.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
jmp 0x4666fe
push 0x104
lea eax, [ebp - 0x20a]
push eax
push 0x1001
push 0x800
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4666fe
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 0x46671e
lea eax, [ebp - 0x210]
call sub.rtl250.bpl__System__LStrClr_qqrpv
ret

Function at 0x466ac8
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 0x466bc6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x466bd4
push 0x466c00
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00403590
test eax, eax
je 0x466b0f
mov dword [ebp - 0x60], 0x40
lea edx, [ebp - 0x60]
push edx
call eax
jmp 0x466b35
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.00408b10
push dword [ebp - 0x64]
push 0x466c28
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.00408b10
push dword [ebp - 0x68]
push 0x466c38
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 0x466bcd
lea eax, [ebp - 0x68]
mov edx, 2
call sub.rtl250.bpl__System__UStrArrayClr_qqrpvi
ret
Function at 0x466fec
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 0x467150
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 0x4df500
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x467121
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 0x467117
mov eax, dword [ebp - 8]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
cmp ebx, eax
jne 0x467117
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call sub.rtl250.bpl__System__LStrEqual_qqrv
je 0x467117
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x467117
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 [0x4df518]
call sub.rtl250.bpl__System__DynArrayLength_qqrpxv
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, 0x4df518
mov ecx, 1
mov edx, dword [0x466fc0]
call sub.rtl250.bpl__System__DynArraySetLength_qqrv
add esp, 4
mov edi, ebx
add edi, edi
mov eax, dword [0x4df518]
mov dword [eax + edi*8], esi
mov eax, dword [0x4df518]
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 [0x4df518]
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 [0x4df518]
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 0x46712b
push 0x4df500
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467157
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x467164
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 0x467292
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4df500
call sub.kernel32.dll_EnterCriticalSection
mov eax, dword [0x4df518]
call sub.rtl250.bpl__System__DynArrayHigh_qqrpxv
test eax, eax
jl 0x467263
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add eax, eax
mov edx, dword [0x4df518]
lea ebx, [edx + eax*8]
xor eax, eax
push ebp
push 0x46724d
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.0040f3ec
test al, al
jne 0x467243
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 0x467243
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 0x467243
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 0x467257
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x4671a7
push 0x4df500
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 0x467299
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrClr_qqrpv
ret
Function at 0x467764
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 0x4678a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x4678c0
call sub.rtl250.bpl__System__LStrEqual_qqrv
je 0x467871
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x4677d9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x4678d0
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 0x46782d
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, 0x4678d0
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 0x46782d
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 0x4678e0
mov edi, dword [0x4dbd54]
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 0x4678f0
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x3c]
call fcn.004094b8
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 0x4678ab
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 0x46a99c
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 0x46a9c6
push edi
call sub.kernel32.dll_SuspendThread
mov esi, eax
cmp esi, 0xffffffff
je 0x46a9c6
push edi
call sub.kernel32.dll_ResumeThread
test esi, esi
setg bl
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x46f344
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 0x46f454
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x46f434
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.0040e6a8
mov dword [edi], eax
test esi, esi
je 0x46f3a2
cmp word [esi], 0x25ff
jne 0x46f3a2
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x46f3a4
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x46f3c2
push 0
call sub.kernel32.dll_GetModuleHandleW
cmp eax, dword [0x4da60c]
je 0x46f3c2
cmp byte [0x4da618], 0
je 0x46f3d9
lea eax, [ebp - 0x10]
call fcn.004347f4
mov eax, dword [ebp - 0x10]
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
call fcn.00434c48
jmp 0x46f3e8
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x4da60c]
call fcn.00434b90
test ebx, ebx
je 0x46f3f7
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x46f3fb
xor eax, eax
jmp 0x46f3fd
mov al, 1
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x46f438
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 0x46f438
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 0x46f438
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f45b
lea eax, [ebp - 0x10]
mov edx, dword [0x4347c4]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
ret
Function at 0x46f468
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 0x46f543
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x46f527
test esi, esi
je 0x46f4a9
cmp word [esi], 0x25ff
jne 0x46f4a9
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x46f4ab
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x46f4c9
push 0
call sub.kernel32.dll_GetModuleHandleW
cmp eax, dword [0x4da60c]
je 0x46f4c9
cmp byte [0x4da618], 0
je 0x46f4e0
lea eax, [ebp - 0xc]
call fcn.004347f4
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.00434c48
jmp 0x46f4ef
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, dword [0x4da60c]
call fcn.00434b90
test ebx, ebx
je 0x46f527
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x46f527
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 0x46f527
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 0x46f54a
lea eax, [ebp - 0xc]
mov edx, dword [0x4347c4]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
ret
Function at 0x46fd70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov ebx, eax
lea eax, [ebp - 0x40]
mov edx, dword [0x40f890]
call sub.rtl250.bpl__System__InitializeRecord_qqrpvt1
xor eax, eax
push ebp
push 0x46fee0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x49], 0
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00414dac
cmp byte [ebp - 0x40], 0
je 0x46fec4
mov eax, dword [ebp - 0x20]
call sub.rtl250.bpl__System__DynArrayHigh_qqrpxv
test eax, eax
jl 0x46fec4
inc eax
xor esi, esi
mov edx, esi
add edx, edx
add edx, edx
add edx, edx
sub edx, esi
mov ecx, dword [ebp - 0x20]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x44]
jne 0x46febc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 4]
cmp byte [eax], 0xe8
jne 0x46fe5e
lea eax, [ebp - 0x50]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x46fec4
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [ebp - 0x48]
sub edx, dword [ebx + 8]
mov dword [eax], edx
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov byte [ebp - 0x49], 1
jmp 0x46fec4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 4]
cmp word [eax], 0x15ff
jne 0x46fec4
lea eax, [ebp - 0x50]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x46fec4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov byte [ebp - 0x49], 1
jmp 0x46fec4
inc esi
dec eax
jne 0x46fde3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fee7
lea eax, [ebp - 0x40]
mov edx, dword [0x40f890]
call sub.rtl250.bpl__System__FinalizeRecord_qqrpvt1
ret
Function at 0x470150
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov byte [0x4dafb0], 0
cmp dword [0x4dafb4], 0
je 0x470197
push esp
push 0x40
push 4
mov eax, dword [0x4dafb4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4701ed
mov eax, dword [0x4dafb4]
mov edx, dword [0x4dafb8]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x4dafb4]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x4701ed
cmp dword [0x4dafbc], 0
je 0x4701d6
push esp
push 0x40
push 4
mov eax, dword [0x4dafbc]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4701ed
mov eax, dword [0x4dafbc]
mov edx, dword [0x4dafc0]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x4dafbc]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x4701ed
push 0
mov ecx, 0x46fa8c
mov eax, sub.kernel32.dll_CreateThread
mov edx, dword [0x4dafa8]
call fcn.0046f468
push 0
mov ecx, 0x46fd44
mov edx, dword [0x4dafac]
xor eax, eax
call fcn.0046f468
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
ret

Function at 0x47080c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov esi, eax
lea eax, [ebp - 8]
mov edx, dword [0x4706a4]
call sub.rtl250.bpl__System__InitializeRecord_qqrpvt1
xor eax, eax
push ebp
push 0x4708eb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4708f8
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x4708c2
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov cl, 0x30
mov edx, 1
call fcn.00408980
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x470910
call sub.rtl250.bpl__System__LStrCat3_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__t2
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00409d54
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrLAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
lea eax, [ebp - 4]
mov edx, 0x470938
call sub.rtl250.bpl__System__LStrCat_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
cmp eax, 0x104
jge 0x4708b4
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call sub.rtl250.bpl__System__LStrSetLength_qqrr27System__AnsiStringT_us_i0__ius
lea eax, [ebp - 8]
push eax
push 0x470714
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4708f2
lea eax, [ebp - 0x10]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 8]
mov edx, dword [0x4706a4]
call sub.rtl250.bpl__System__FinalizeRecord_qqrpvt1
ret
Function at 0x471208
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4712dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.00408980
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4712f8
call sub.rtl250.bpl__System__LStrCat3_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__t2
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x4712c2
mov byte [0x4da55c], 1
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x4712bc
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [esi]
push eax
push 0
push 0x100000
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4712a4
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle
mov edx, 0x4da668
lea eax, [esi + 8]
mov ecx, 0x50
call sub.rtl250.bpl__System_Move_qqrpxvpvi
push esi
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4712e4
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
ret
Function at 0x471814
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47198d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov edx, 0x47199c
mov ecx, 0x4719b0
mov eax, ebx
call fcn.0040ec34
mov eax, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrLen_qqrx31System__AnsiStringT_us_i65535__
cmp eax, 0x14
jne 0x471977
cmp ebx, dword [0x4da60c]
sete al
mov edx, dword [ebp - 4]
test byte [edx + 3], 0x80
sete dl
cmp al, dl
jne 0x471977
mov eax, ebx
call fcn.0040e3cc
mov esi, eax
cmp word [esi + 0x18], 0x20b
jne 0x4718ea
lea eax, [ebp - 8]
push eax
push 0x40
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x4da60c]
jne 0x4718b0
mov eax, 0x432f18
mov edx, dword [ebp - 4]
sub eax, dword [edx]
sub eax, ebx
mov dword [esi + 0x2c], eax
jmp 0x4718bd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x7fffffff
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x471968
lea eax, [ebp - 8]
push eax
push 0x40
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x4da60c]
jne 0x471924
mov edx, 0x432f18
mov eax, dword [ebp - 4]
sub edx, dword [eax]
sub edx, ebx
mov dword [esi + 0x2c], edx
mov edx, 0x4da584
sub edx, dword [eax + 4]
sub edx, ebx
mov dword [esi + 0x30], edx
jmp 0x47193d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
and edx, 0x7fffffff
mov dword [esi + 0x2c], edx
mov eax, dword [eax + 4]
and eax, 0x7fffffff
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
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 0x471994
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrClr_qqrpv
ret