Function at 0x471fd4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x48]
mov edx, dword [0x4100ac]
call sub.rtl250.bpl__System__InitializeRecord_qqrpvt1
xor eax, eax
push ebp
push 0x473221
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x4068a0]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x472069
lea eax, [ebp - 0x68]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x472069
push 0
push 0x3e8
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
call sub.rtl250.bpl__System___lldiv_qqrv
push edx
push eax
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
call sub.rtl250.bpl__System___lldiv_qqrv
mov dword [0x5fb610], eax
mov dword [0x5fb614], edx
push 0x473230
mov eax, dword [0x5fb60c]
push eax
call fcn.004039d8
test eax, eax
setne byte [0x5fb618]
cmp byte [0x5fb618], 0
je 0x472090
call fcn.00471dc0
call sub.kernel32.dll_GetVersion
cmp al, 6
jb 0x4720b3
push 0x473270
push 0x473288
call sub.kernel32.dll_LoadLibraryA
push eax
call fcn.004039d8
mov dword [0x5fb61c], eax
mov eax, dword [0x6036dc]
mov dword [eax], fcn.004714ac
mov eax, dword [0x6037c0]
mov dword [eax], 0x4444dc
mov eax, dword [0x603b3c]
mov dword [eax], 0x444aec
mov eax, 0x471618
mov edx, dword [0x603950]
mov dword [edx], eax
push 0x473298
push 0x4732b0
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.004039d8
mov dword [0x5fb628], eax
push 0x4732cc
push 0x4732e8
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.004039d8
mov dword [0x5fb62c], eax
lea edx, [ebp - 0xd4]
mov eax, dword [0x5fb60c]
call fcn.00449124
mov edx, dword [ebp - 0xd4]
mov eax, 0x5fbe4c
call sub.rtl250.bpl__System__IntfCopy_qqrr44System__DelphiInterface_17System_IInterface_x44System__DelphiInterface_17System_IInterf
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0x368]
test al, al
je 0x472193
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0x36c]
test al, al
je 0x472193
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0x378]
test al, al
je 0x472193
mov eax, dword [0x5fb60c]
call fcn.00471724
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, dword [0x5fb60c]
je 0x472193
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0xc]
call fcn.00471724
call fcn.00471cd0
push 0x6074a4
call sub.kernel32.dll_InitializeCriticalSection
push 0x60748c
call sub.kernel32.dll_InitializeCriticalSection
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0x368]
test al, al
je 0x4731a4
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0xbc]
call fcn.004348a0
lea eax, [ebp - 0xdc]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.00408ff8
mov ecx, dword [ebp - 0xdc]
lea eax, [ebp - 0xd8]
mov edx, 0x473308
call sub.rtl250.bpl__System__LStrCat3_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__t2
mov eax, dword [ebp - 0xd8]
call sub.rtl250.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
push 0x14
push 0
push 4
lea eax, [ebp - 0xbc]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x4722c9
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [0x5fb624], eax
mov eax, dword [0x5fb624]
mov dword [eax + 0xc], 1
push 0
push 0
push 0
call fcn.00403730
mov edx, dword [0x5fb624]
mov dword [edx], eax
push 0
push 0
push 0
call fcn.00403730
mov edx, dword [0x5fb624]
mov dword [edx + 4], eax
mov eax, dword [0x5fb624]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [0x5fb624]
mov dword [eax + 0x10], ebx
lea eax, [ebp - 4]
call fcn.00433610
cmp dword [ebp - 4], 0
je 0x4722bb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x5fb510], eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, 0x47332c
xor edx, edx
call fcn.00435218
jmp 0x472313
mov eax, dword [sym.imp.rtl250.bpl__System_MainThreadID]
mov eax, dword [eax]
mov dword [0x5fb510], eax
jmp 0x472313
test ebx, ebx
je 0x4722f9
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [0x5fb624], eax
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x5fb624]
add eax, 0xc
push eax
call fcn.004038c0
jmp 0x472313
push 0
push 0x473344
push 0x473350
push 0
call sub.user32.dll_MessageBoxA
push 0
call sub.kernel32.dll_ExitProcess
cmp dword [0x5fb624], 0
jne 0x472336
push 0
push 0x473344
push 0x473378
push 0
call sub.user32.dll_MessageBoxA
push 0
call sub.kernel32.dll_ExitProcess
cmp dword [0x5fb510], 0
jne 0x4723b0
push 0xffffffffffffffff
mov eax, dword [0x5fb624]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor edx, edx
push ebp
push 0x472394
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5fb624]
mov eax, dword [eax + 8]
test eax, eax
je 0x472378
mov edx, dword [eax]
mov dword [0x5fb510], edx
mov eax, dword [eax + 8]
test eax, eax
jne 0x472369
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47239b
mov eax, dword [0x5fb624]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_ReleaseMutex
ret
push 0
call sub.kernel32.dll_GetModuleHandleW
cmp eax, dword [0x5fb60c]
je 0x4723cc
cmp byte [0x5fb618], 0
jne 0x4723cc
xor ebx, ebx
jmp 0x4723ce
mov bl, 1
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0x36c]
test al, al
je 0x47319b
mov eax, 0x5fb598
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb59c
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5a0
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5a4
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5a8
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5ac
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5b0
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5b4
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5b8
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5bc
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5c0
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5c4
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5d0
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5d4
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5d8
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5dc
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5e0
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5e4
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5e8
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5ec
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5f0
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5f4
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5f8
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb5fc
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb600
mov edx, dword [0x5fb60c]
call fcn.00471634
mov eax, 0x5fb608
mov edx, dword [0x5fb60c]
call fcn.00471634
cmp dword [0x5fb5e0], 0
je 0x4725ab
cmp dword [0x5fb598], 0
je 0x4725ab
cmp dword [0x5fb5a0], 0
je 0x4725ab
cmp dword [0x5fb5a8], 0
jne 0x472974
test bl, bl
je 0x472974
mov esi, sub.rtl250.bpl__System_FreeMemory_qpv
cmp word [esi], 0x25ff
jne 0x4725e8
add esi, 2
mov eax, dword [esi]
mov esi, dword [eax]
mov edi, dword [0x6037dc]
mov edi, dword [edi]
lea ecx, [ebp - 8]
lea edx, [ebp - 0x50]
mov eax, esi
call edi
mov eax, dword [ebp - 0x50]
cmp eax, dword [0x5fb60c]
jne 0x4725e8
xor eax, eax
mov dword [ebp - 0x50], eax
mov esi, 0x140
push 0x4733b4
mov ecx, esi
mov edx, 0x473400
mov eax, dword [ebp - 0x50]
call fcn.00471994
mov edi, eax
cmp dword [ebp - 0x50], 0
jne 0x47261f
push 0x473410
mov ecx, esi
mov edx, 0x473434
mov eax, edi
call fcn.00471994
mov dword [ebp - 0x50], eax
push 0x473444
mov ecx, esi
mov edx, 0x47348c
xor eax, eax
call fcn.00471994
mov dword [ebp - 0x54], eax
push 0x4734a0
mov ecx, esi
mov edx, 0x4734ec
xor eax, eax
call fcn.00471994
mov esi, eax
cmp dword [0x5fb5e0], 0
jne 0x4728dd
cmp dword [ebp - 0x50], 0
je 0x4728dd
push 0x4734f0
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5b0], eax
cmp dword [0x5fb5b0], 0
je 0x4728d4
mov eax, dword [0x5fb5b0]
cmp byte [eax], 0xe9
je 0x4728d4
push 0x47355c
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5b4], eax
push 0x4735cc
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5b8], eax
push 0x473620
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5bc], eax
push 0x4736b4
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5c0], eax
push 0x473710
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5c4], eax
push 0x47375c
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5c8], eax
push 0x4737a4
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5cc], eax
push 0x4737ec
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
mov dword [0x5fb5d0], eax
push 0x473838
mov eax, dword [ebp - 0x50]
push eax
call fcn.004039d8
lea edx, [ebp - 0x8c]
call fcn.004142c8
mov byte [ebp - 0x49], 1
jmp 0x4728ba
cmp dword [ebp - 0x84], 0
je 0x472895
cmp byte [ebp - 0x85], 0
je 0x472895
cmp dword [ebp - 0x78], 4
jne 0x472895
cmp byte [ebp - 0x49], 0
je 0x47280a
mov byte [ebp - 0x49], 0
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x84]
call fcn.004142c8
jmp 0x4727ed
cmp word [ebp - 0xae], 0xc7
jne 0x4727c5
cmp byte [ebp - 0xac], 0x40
jne 0x4727c5
mov eax, dword [ebp - 0x90]
sub eax, 5
cmp byte [eax], 4
jne 0x4727c5
mov eax, dword [ebp - 0x90]
sub eax, 4
mov eax, dword [eax]
mov dword [0x5fb5e8], eax
jmp 0x472895
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x90]
call fcn.004142c8
push esi
push edi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0xb0]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebp - 0xb0], 0
je 0x472895
cmp word [ebp - 0xae], 0xc3
jne 0x47278e
jmp 0x472895
mov eax, dword [ebp - 0x84]
mov dword [0x5fb5e0], eax
lea edx, [ebp - 0x8c]
mov eax, dword [0x5fb5e0]
call fcn.004142c8
jmp 0x47287f
cmp dword [ebp - 0x84], 0
je 0x47285a
cmp word [ebp - 0x8a], 0xe8
jne 0x47285a
cmp byte [ebp - 0x85], 0
je 0x47285a
cmp dword [ebp - 0x78], 4
jne 0x47285a
mov eax, dword [ebp - 0x84]
mov dword [0x5fb5e4], eax
jmp 0x4728dd
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
push esi
push edi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebp - 0x8c], 0
je 0x4728dd
cmp word [ebp - 0x8a], 0xc3
jne 0x472827
jmp 0x4728dd
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
push esi
push edi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebp - 0x8c], 0
je 0x4728dd
cmp word [ebp - 0x8a], 0xc3
jne 0x472749
jmp 0x4728dd
xor ebx, ebx
xor eax, eax
mov dword [0x5fb5b0], eax
test bl, bl
je 0x472974
cmp dword [0x5fb598], 0
jne 0x472912
test edi, edi
je 0x472912
push 0x4738c0
push edi
call fcn.004039d8
mov dword [0x5fb598], eax
push 0x47393c
push edi
call fcn.004039d8
mov dword [0x5fb59c], eax
cmp dword [0x5fb5a0], 0
jne 0x472947
cmp dword [ebp - 0x54], 0
je 0x472947
push 0x4739c8
mov eax, dword [ebp - 0x54]
push eax
call fcn.004039d8
mov dword [0x5fb5a0], eax
push 0x473a3c
mov eax, dword [ebp - 0x54]
push eax
call fcn.004039d8
mov dword [0x5fb5a4], eax
cmp dword [0x5fb5a8], 0
jne 0x472974
test esi, esi
je 0x472974
push 0x473ab4
push esi
call fcn.004039d8
mov dword [0x5fb5a8], eax
push 0x473b30
push esi
call fcn.004039d8
mov dword [0x5fb5ac], eax
mov eax, dword [sym.imp.rtl250.bpl__System_ExceptObjProc]
mov dword [0x5fbf80], eax
cmp dword [0x5fb5e8], 0
je 0x472996
mov edx, 0x46f2e0
mov eax, dword [0x5fb5e8]
call fcn.00467610
cmp dword [0x5fb598], 0
je 0x4729ae
mov edx, 0x46e904
mov eax, dword [0x5fb598]
call fcn.00467610
cmp dword [0x5fb59c], 0
je 0x4729c6
mov edx, 0x46e8dc
mov eax, dword [0x5fb59c]
call fcn.00467610
cmp dword [0x5fb5a0], 0
je 0x4729de
mov edx, 0x46e904
mov eax, dword [0x5fb5a0]
call fcn.00467610
cmp dword [0x5fb5a4], 0
je 0x4729f6
mov edx, 0x46e8dc
mov eax, dword [0x5fb5a4]
call fcn.00467610
cmp dword [0x5fb5a8], 0
je 0x472a0e
mov edx, 0x46e904
mov eax, dword [0x5fb5a8]
call fcn.00467610
cmp dword [0x5fb5ac], 0
je 0x472a26
mov edx, 0x46e8dc
mov eax, dword [0x5fb5ac]
call fcn.00467610
cmp dword [0x5fb5b0], 0
je 0x472a3e
mov edx, 0x46e8b0
mov eax, dword [0x5fb5b0]
call fcn.00467610
cmp dword [0x5fb5d4], 0
je 0x472a56
mov edx, 0x46e948
mov eax, dword [0x5fb5d4]
call fcn.00467610
cmp dword [0x5fb5d8], 0
je 0x472a6e
mov edx, 0x46e970
mov eax, dword [0x5fb5d8]
call fcn.00467610
cmp dword [0x5fb5dc], 0
je 0x472a98
mov byte [0x5fb588], 1
mov eax, 0x18
call sub.rtl250.bpl__System__GetMem_qqri
mov dword [0x5fbf94], eax
mov eax, dword [0x5fbf94]
push eax
call sub.kernel32.dll_InitializeCriticalSection
cmp dword [0x5fb5b4], 0
je 0x472b70
cmp dword [0x5fb5b8], 0
je 0x472b70
lea edx, [ebp - 0x48]
mov eax, dword [0x5fb5b4]
call fcn.004155c8
mov eax, dword [ebp - 0x28]
call sub.rtl250.bpl__System__DynArrayLength_qqrpxv
dec eax
jne 0x472ad5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [0x5fb5b4], eax
lea edx, [ebp - 0x48]
mov eax, dword [0x5fb5b8]
call fcn.004155c8
mov eax, dword [ebp - 0x28]
call sub.rtl250.bpl__System__DynArrayLength_qqrpxv
dec eax
jne 0x472af8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [0x5fb5b8], eax
lea edx, [ebp - 0x8c]
mov eax, dword [0x5fb5b4]
call fcn.004142c8
jmp 0x472b5e
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x472b3d
cmp esi, dword [0x5fb5b8]
jne 0x472b3d
cmp dword [ebp - 0x78], 4
jne 0x472b70
cmp byte [ebp - 0x85], 0
je 0x472b70
mov edx, 0x46eb60
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x80]
call fcn.00467668
jmp 0x472b70
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472b0a
cmp dword [0x5fb5d0], 0
je 0x472c06
mov esi, sub.rtl250.bpl__System_AcquireExceptionObject_qqrv
cmp word [esi], 0x25ff
jne 0x472b90
add esi, 2
mov eax, dword [esi]
mov esi, dword [eax]
lea edx, [ebp - 0x8c]
mov eax, dword [0x5fb5d0]
call fcn.004142c8
jmp 0x472bf4
mov edi, dword [ebp - 0x84]
test edi, edi
je 0x472bd1
cmp esi, edi
jne 0x472bd1
cmp dword [ebp - 0x78], 4
jne 0x472c06
cmp byte [ebp - 0x85], 0
je 0x472c06
mov edx, 0x46ea20
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x80]
call fcn.00467668
jmp 0x472c06
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
push esi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472ba2
call fcn.00471650
lea edx, [ebp - 0x8c]
call fcn.004142c8
mov byte [ebp - 0x49], 0
jmp 0x472c71
cmp byte [ebp - 0x85], 0
je 0x472c50
cmp dword [ebp - 0x78], 4
jne 0x472c50
cmp dword [ebp - 0x84], 0
je 0x472c50
cmp byte [ebp - 0x49], 0
je 0x472c4c
mov edx, 0x46ea7c
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x80]
call fcn.00467668
jmp 0x472c83
mov byte [ebp - 0x49], 1
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472c1c
call fcn.00471650
lea edx, [ebp - 0x8c]
call fcn.004142c8
jmp 0x472ce9
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x472cc8
cmp esi, dword [0x5fb5e4]
jne 0x472cc8
cmp dword [ebp - 0x78], 4
jne 0x472cfb
cmp byte [ebp - 0x85], 0
je 0x472cfb
mov edx, 0x46ec44
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x80]
call fcn.00467668
jmp 0x472cfb
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472c95
mov esi, dword [0x5fb5e0]
test esi, esi
je 0x472d7f
cmp dword [0x5fb5e4], 0
je 0x472d7f
lea edx, [ebp - 0x8c]
mov eax, esi
call fcn.004142c8
jmp 0x472d6d
mov eax, dword [ebp - 0x84]
cmp eax, dword [0x5fb5e4]
jne 0x472d4c
cmp dword [ebp - 0x78], 4
jne 0x472d7f
cmp byte [ebp - 0x85], 0
je 0x472d7f
mov edx, 0x46ec4c
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x80]
call fcn.00467668
jmp 0x472d7f
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472d1d
mov esi, dword [0x5fb5e4]
test esi, esi
je 0x472dfa
lea edx, [ebp - 0x8c]
mov eax, esi
call fcn.004142c8
jmp 0x472de8
mov eax, dword [ebp - 0x84]
cmp eax, dword [0x5fb5e4]
jne 0x472dc7
cmp dword [ebp - 0x78], 4
jne 0x472dfa
cmp byte [ebp - 0x85], 0
je 0x472dfa
mov edx, 0x46ec5c
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x80]
call fcn.00467668
jmp 0x472dfa
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472d98
call fcn.0047168c
lea edx, [ebp - 0x8c]
call fcn.004142c8
jmp 0x472e2d
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x8c], 0
je 0x472e6e
cmp word [ebp - 0x8a], 0x8b
jne 0x472e5c
cmp byte [ebp - 0x88], 0x15
jne 0x472e5c
mov eax, dword [ebp - 0x70]
add eax, 2
mov eax, dword [eax]
mov edx, dword [sym.imp.rtl250.bpl__System_ExceptObjProc]
cmp eax, edx
je 0x472e6e
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472e0c
cmp word [ebp - 0x8a], 0x8b
jne 0x472e89
mov edx, 0x5fbf84
mov eax, dword [ebp - 0x70]
add eax, 2
call fcn.00467668
call fcn.004716a0
lea edx, [ebp - 0x8c]
call fcn.004142c8
jmp 0x472ebc
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x8c], 0
je 0x472efd
cmp word [ebp - 0x8a], 0xff
jne 0x472eeb
cmp byte [ebp - 0x88], 0x15
jne 0x472eeb
mov eax, dword [ebp - 0x70]
add eax, 2
mov eax, dword [eax]
mov edx, dword [sym.imp.rtl250.bpl__System_ExceptObjProc]
cmp eax, edx
je 0x472efd
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472e9b
cmp word [ebp - 0x8a], 0xff
jne 0x472f18
mov edx, 0x5fbf88
mov eax, dword [ebp - 0x70]
add eax, 2
call fcn.00467668
mov eax, dword [sym.imp.rtl250.bpl__System_RaiseExceptionProc]
mov eax, dword [eax]
mov dword [0x5fbf8c], eax
call fcn.004716b4
lea edx, [ebp - 0x8c]
call fcn.004142c8
jmp 0x472f57
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x8c], 0
je 0x472f86
cmp word [ebp - 0x8a], 0xff
jne 0x472f74
cmp byte [ebp - 0x88], 0x25
je 0x472f86
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x472f36
cmp word [ebp - 0x8a], 0xff
jne 0x472fa1
mov edx, 0x5fbf90
mov eax, dword [ebp - 0x70]
add eax, 2
call fcn.00467668
call fcn.00471678
mov esi, eax
lea edx, [ebp - 0x8c]
mov eax, esi
call fcn.004142c8
jmp 0x472fda
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
push esi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
cmp byte [ebp - 0x8c], 0
je 0x472fec
cmp byte [ebp - 0x87], 0
je 0x472fb7
mov eax, dword [ebp - 0x84]
mov dword [0x5fb660], eax
mov edx, 0x46f344
mov eax, esi
call fcn.00467610
lea edx, [ebp - 0x8c]
mov eax, sub.rtl250.bpl__System_TObject_Free_qqrv
call fcn.004142c8
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x473021
mov esi, eax
jmp 0x473026
mov esi, sub.rtl250.bpl__System_TObject_Free_qqrv
call fcn.0047163c
lea edx, [ebp - 0x8c]
call fcn.004142c8
jmp 0x473084
cmp esi, dword [ebp - 0x84]
jne 0x473061
cmp dword [ebp - 0x78], 4
jne 0x473096
cmp byte [ebp - 0x85], 0
je 0x473096
mov edx, 0x46f620
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x80]
call fcn.00467668
jmp 0x473096
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x6c]
call fcn.004142c8
push esi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x8c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
movzx eax, word [ebp - 0x8a]
add eax, 0xffffff3e
sub ax, 2
jae 0x473038
call fcn.00471664
mov edx, 0x46f630
call fcn.00467610
cmp dword [0x5fb5bc], 0
je 0x4730f8
cmp dword [0x5fb5c4], 0
je 0x4730f8
mov edx, 0x46db64
mov eax, dword [0x5fb5bc]
call fcn.00467610
mov edx, 0x406cb4
mov eax, dword [0x5fb5c4]
call fcn.00467610
cmp dword [0x5fb5c0], 0
je 0x4730ed
mov edx, 0x46dbc0
mov eax, dword [0x5fb5c0]
call fcn.00467610
mov eax, dword [0x6039a4]
mov dword [eax], 0x46daec
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
call fcn.00465784
call fcn.00443acc
mov esi, 0x401290
cmp word [esi], 0x25ff
jne 0x473124
add esi, 2
mov eax, dword [esi]
mov esi, dword [eax]
mov dword [0x5fbfa0], esi
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.004155c8
cmp byte [ebp - 0x48], 0
je 0x473145
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x3c]
mov dword [0x5fbfa4], eax
push 0
call sub.kernel32.dll_GetModuleHandleW
cmp eax, dword [0x5fb60c]
je 0x47315d
cmp byte [0x5fb618], 0
je 0x473167
mov eax, dword [0x5fbe4c]
call fcn.00470200
mov eax, ebx
call fcn.004370e0
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0x37c]
test al, al
je 0x473196
mov eax, dword [0x5fbe4c]
mov edx, dword [eax]
call dword [edx + 0x380]
mov dword [0x5fbe90], eax
call fcn.00444160
call fcn.00465920
mov eax, 0x46e570
test eax, eax
jmp 0x4731d4
lea eax, [ebp - 4]
call fcn.00433610
cmp dword [ebp - 4], 0
je 0x4731be
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x5fb510], eax
jmp 0x4731ca
mov eax, dword [sym.imp.rtl250.bpl__System_MainThreadID]
mov eax, dword [eax]
mov dword [0x5fb510], eax
mov eax, 0x5fbe4c
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473228
lea eax, [ebp - 0xdc]
mov edx, 2
call sub.rtl250.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0xd4]
call sub.rtl250.bpl__System__IntfClear_qqrr44System__DelphiInterface_17System_IInterface_
lea eax, [ebp - 0x48]
mov edx, dword [0x4100ac]
call sub.rtl250.bpl__System__FinalizeRecord_qqrpvt1
lea eax, [ebp - 8]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 4]
mov edx, dword [0x4068a0]
call sub.rtl250.bpl__System__DynArrayClear_qqrrpvpv
ret