Function at 0x42fdf4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x23
push 0
push 0
dec ecx
jne 0x42fdfc
push ecx
push ebx
push esi
push edi
mov byte [ebp - 0x81], al
lea eax, [ebp - 0x40]
mov edx, dword [0x414128]
call sub.rtl120.bpl__System__InitializeRecord_qqrpvt1
lea eax, [ebp - 0x80]
mov edx, dword [0x414128]
call sub.rtl120.bpl__System__InitializeRecord_qqrpvt1
xor eax, eax
push ebp
push 0x4305da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x597e7c], 0
je 0x42fe4d
mov eax, dword [0x597e7c]
cmp eax, dword [0x597e80]
jne 0x42feb9
push 0x4305e8
call sub.kernel32.dll_GetModuleHandleW_1
mov ebx, eax
test ebx, ebx
jne 0x42fe69
push 0x430604
call sub.kernel32.dll_GetModuleHandleW_1
mov ebx, eax
push 0x43061c
push ebx
call fcn.00401c60
mov dword [0x597e7c], eax
push 0x430648
push ebx
call fcn.00401c60
mov dword [0x597e80], eax
push 0x43069c
push ebx
call fcn.00401c60
mov dword [0x597e88], eax
push 0x4306ac
push ebx
call fcn.00401c60
mov dword [0x597e90], eax
push 0x4306cc
push ebx
call fcn.00401c60
mov dword [0x597e94], eax
cmp dword [0x597e7c], 0
je 0x430599
cmp dword [0x597e80], 0
je 0x430599
cmp dword [0x597e88], 0
je 0x430599
cmp dword [0x597e90], 0
jne 0x42fef6
cmp dword [0x597e8c], 0
je 0x430599
mov eax, dword [0x5a77c4]
mov edx, dword [0x597e84]
mov dword [eax], edx
lea edx, [ebp - 0xb8]
mov eax, dword [0x597e7c]
call fcn.00418230
lea edx, [ebp - 0x40]
mov eax, dword [0x597e7c]
call fcn.00419530
mov eax, dword [ebp - 0x20]
call sub.rtl120.bpl__System__DynArrayHigh_qqrv
mov esi, eax
dec esi
test esi, esi
jl 0x42ffc4
inc esi
xor ebx, ebx
mov edi, ebx
add edi, edi
add edi, edi
add edi, edi
sub edi, ebx
mov eax, dword [ebp - 0x20]
cmp dword [eax + edi*4 + 0xc], 0
je 0x42ffbc
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + edi*4 + 0x28]
jne 0x42ffbc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 8]
lea edx, [ebp - 0xb8]
call fcn.00418230
cmp word [ebp - 0xb6], 0x8b
jne 0x42ffbc
movzx eax, byte [ebp - 0xb4]
sub al, 0x80
je 0x42ff94
sub al, 8
je 0x42ff94
sub al, 8
jne 0x42ffbc
mov eax, dword [ebp - 0x9c]
add eax, 2
mov eax, dword [eax]
mov dword [0x597f4c], eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
mov dword [0x597f50], eax
jmp 0x42ffc4
inc ebx
dec esi
jne 0x42ff36
cmp dword [0x597f50], 0
je 0x430330
lea edx, [ebp - 0x40]
mov eax, dword [0x597e80]
call fcn.00419530
mov eax, dword [ebp - 0x20]
call sub.rtl120.bpl__System__DynArrayLength_qqrv
dec eax
jne 0x430330
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.00419530
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x40]
mov ecx, dword [0x414128]
call sub.rtl120.bpl__System__CopyRecord_qqrv
mov eax, sub.kernel32.dll_RaiseException
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp word [eax], 0x25ff
jne 0x43003d
mov eax, dword [ebp - 0x90]
add eax, 2
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
call sub.rtl120.bpl__System__DynArrayHigh_qqrv
mov esi, eax
test esi, esi
jl 0x43019a
inc esi
xor ebx, ebx
mov edi, ebx
add edi, edi
add edi, edi
add edi, edi
sub edi, ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 0xc]
cmp eax, dword [ebp - 0x90]
jne 0x4300db
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 4]
sub eax, 4
cmp dword [eax], 0xeefface
jne 0x430192
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 4]
lea edx, [ebp - 0xb8]
call fcn.00418230
cmp dword [ebp - 0xa4], 4
jne 0x430192
cmp byte [ebp - 0xb1], 0
je 0x430192
mov eax, dword [ebp - 0xb0]
mov dword [0x5a91c0], eax
mov edx, 0x42fc14
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00456384
jmp 0x430192
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
lea edx, [ebp - 0xb8]
call fcn.00418230
jmp 0x43017c
mov eax, dword [ebp - 0xb0]
cmp eax, dword [0x597e88]
jne 0x430156
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0xa4], 4
jne 0x430192
cmp byte [ebp - 0xb1], 0
je 0x430192
mov eax, dword [ebp - 0xb0]
mov dword [0x5a91b8], eax
mov edx, 0x42faa0
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00456384
jmp 0x430192
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00418230
push esi
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jae 0x4300fc
inc ebx
dec esi
jne 0x43005a
cmp dword [ebp - 0x88], 0
je 0x430330
lea edx, [ebp - 0x40]
mov eax, dword [0x597e7c]
call fcn.00419530
mov eax, dword [ebp - 0x20]
call sub.rtl120.bpl__System__DynArrayHigh_qqrv
mov esi, eax
test esi, esi
jl 0x430330
inc esi
xor ebx, ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
lea edx, [ebp - 0x80]
call fcn.00419530
mov eax, dword [ebp - 0x60]
call sub.rtl120.bpl__System__DynArrayHigh_qqrv
mov edi, eax
test edi, edi
jl 0x430328
inc edi
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + eax*4 + 0xc]
cmp eax, dword [ebp - 0x88]
jne 0x43031b
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 8]
lea edx, [ebp - 0xb8]
call fcn.00418230
cmp word [ebp - 0xb6], 0x83
jne 0x43031b
cmp byte [ebp - 0xb4], 0xc4
jne 0x43031b
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax + 2]
sub al, 0x10
je 0x430271
sub al, 8
je 0x4302ca
jmp 0x43031b
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 4]
lea edx, [ebp - 0xb8]
call fcn.00418230
cmp dword [ebp - 0xa4], 4
jne 0x430328
cmp byte [ebp - 0xb1], 0
je 0x430328
mov eax, dword [ebp - 0xb0]
mov dword [0x5a91bc], eax
mov edx, 0x42fb94
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00456384
jmp 0x430328
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 4]
lea edx, [ebp - 0xb8]
call fcn.00418230
cmp dword [ebp - 0xa4], 4
jne 0x430328
cmp byte [ebp - 0xb1], 0
je 0x430328
mov eax, dword [ebp - 0xb0]
mov dword [0x5a91c4], eax
mov edx, 0x42fc9c
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00456384
jmp 0x430328
inc dword [ebp - 0x8c]
dec edi
jne 0x4301ff
inc ebx
dec esi
jne 0x4301c9
cmp byte [ebp - 0x81], 0
je 0x4304b8
call fcn.0042fde0
lea edx, [ebp - 0xb8]
call fcn.00418230
jmp 0x430373
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00418230
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xb8], 0
je 0x4303b9
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x4303b9
cmp word [ebp - 0xb6], 0x89
jne 0x43034f
mov eax, dword [ebp - 0x9c]
inc eax
cmp dword [eax], 0x24448bc2
jne 0x43034f
mov eax, dword [ebp - 0x9c]
add eax, 5
cmp dword [eax], 0xc488b04
jne 0x43034f
cmp byte [ebp - 0xb8], 0
je 0x4304b8
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x4304b8
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00418230
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
jmp 0x430432
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00418230
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xb8], 0
je 0x430478
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x430478
cmp word [ebp - 0xb6], 0x89
jne 0x43040e
mov eax, dword [ebp - 0x9c]
inc eax
cmp dword [eax], 0x24448bc2
jne 0x43040e
mov eax, dword [ebp - 0x9c]
add eax, 5
cmp dword [eax], 0xc488b04
jne 0x43040e
cmp byte [ebp - 0xb8], 0
je 0x43049f
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x43049f
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4304b8
mov edx, 0x42fd3c
mov eax, dword [ebp - 0x90]
call fcn.00456360
cmp dword [0x597e90], 0
je 0x4304ce
mov eax, dword [0x597e90]
mov dword [eax], 0x42fd60
jmp 0x4304dd
mov edx, 0x42fd60
mov eax, dword [0x597e8c]
call fcn.0045632c
cmp dword [0x597e94], 0
je 0x430599
lea edx, [ebp - 0xb8]
mov eax, dword [0x597e94]
call fcn.00418230
mov ebx, 5
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00418230
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
dec ebx
jne 0x4304ff
cmp byte [ebp - 0xb8], 0
je 0x430599
mov eax, dword [ebp - 0x9c]
cmp word [eax], 0x33ff
jne 0x430599
mov eax, dword [ebp - 0x98]
add eax, 6
cmp byte [eax], 0x59
jne 0x430599
lea eax, [ebp - 0x94]
push eax
push 0x40
mov esi, dword [ebp - 0x98]
mov edi, esi
add edi, 7
mov eax, edi
sub eax, dword [0x597e94]
push eax
mov ebx, dword [ebp - 0x9c]
push ebx
call sub.kernel32.dll_VirtualProtect
mov word [ebx], 0x38b
add esi, 6
mov byte [esi], 0x90
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x94]
push eax
sub edi, dword [0x597e94]
push edi
push ebx
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 0x4305e1
lea eax, [ebp - 0xf8]
mov edx, dword [0x414128]
call sub.rtl120.bpl__System__FinalizeRecord_qqrpvt1
lea eax, [ebp - 0x80]
mov edx, dword [0x414128]
mov ecx, 2
call sub.rtl120.bpl__System__FinalizeArray_qqrpvt1ui
ret