Function at 0x4358fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x23
push 0
push 0
dec ecx
jne 0x435904
push ecx
push ebx
push esi
push edi
mov byte [ebp - 0x81], al
lea eax, [ebp - 0x40]
mov edx, dword [0x40ee18]
call sub.rtl250.bpl__System__InitializeRecord_qqrpvt1
lea eax, [ebp - 0x80]
mov edx, dword [0x40ee18]
call sub.rtl250.bpl__System__InitializeRecord_qqrpvt1
xor eax, eax
push ebp
push 0x4360cc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47a5dc], 0
je 0x435955
mov eax, dword [0x47a5dc]
cmp eax, dword [0x47a5e0]
jne 0x4359c1
push 0x4360dc
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
test ebx, ebx
jne 0x435971
push 0x4360f8
call sub.kernel32.dll_GetModuleHandleW
mov ebx, eax
push 0x436110
push ebx
call fcn.00402b90
mov dword [0x47a5dc], eax
push 0x43613c
push ebx
call fcn.00402b90
mov dword [0x47a5e0], eax
push 0x436190
push ebx
call fcn.00402b90
mov dword [0x47a5e8], eax
push 0x4361a0
push ebx
call fcn.00402b90
mov dword [0x47a5f0], eax
push 0x4361c0
push ebx
call fcn.00402b90
mov dword [0x47a5f4], eax
cmp dword [0x47a5dc], 0
je 0x43608b
cmp dword [0x47a5e0], 0
je 0x43608b
cmp dword [0x47a5e8], 0
je 0x43608b
cmp dword [0x47a5f0], 0
jne 0x4359fe
cmp dword [0x47a5ec], 0
je 0x43608b
mov eax, dword [0x47b108]
mov edx, dword [0x47a5e4]
mov dword [eax], edx
lea edx, [ebp - 0xb8]
mov eax, dword [0x47a5dc]
call fcn.00413034
lea edx, [ebp - 0x40]
mov eax, dword [0x47a5dc]
call fcn.00414334
mov eax, dword [ebp - 0x20]
call sub.rtl250.bpl__System__DynArrayHigh_qqrpxv
mov edi, eax
dec edi
test edi, edi
jl 0x435abe
inc edi
xor ebx, ebx
mov esi, ebx
add esi, esi
add esi, esi
add esi, esi
sub esi, ebx
mov eax, dword [ebp - 0x20]
cmp dword [eax + esi*4 + 0xc], 0
je 0x435aba
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4 + 0xc]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + esi*4 + 0x28]
jne 0x435aba
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4 + 8]
lea edx, [ebp - 0xb8]
call fcn.00413034
cmp word [ebp - 0xb6], 0x8b
jne 0x435aba
movzx eax, byte [ebp - 0xb4]
sub al, 0x80
je 0x435a92
sub al, 8
je 0x435a92
sub al, 8
jne 0x435aba
mov eax, dword [ebp - 0x9c]
add eax, 2
mov eax, dword [eax]
mov dword [0x47a6ac], 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 [0x47a6b0], eax
jmp 0x435abe
inc ebx
dec edi
jne 0x435a3e
cmp dword [0x47a6b0], 0
je 0x435e20
lea edx, [ebp - 0x40]
mov eax, dword [0x47a5e0]
call fcn.00414334
mov eax, dword [ebp - 0x20]
call sub.rtl250.bpl__System__DynArrayLength_qqrpxv
dec eax
jne 0x435e20
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.00414334
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x40]
mov ecx, dword [0x40ee18]
call sub.rtl250.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 0x435b37
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.rtl250.bpl__System__DynArrayHigh_qqrpxv
mov edi, eax
test edi, edi
jl 0x435c8a
inc edi
xor ebx, ebx
mov esi, ebx
add esi, esi
add esi, esi
add esi, esi
sub esi, ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4 + 0xc]
cmp eax, dword [ebp - 0x90]
jne 0x435bd5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4 + 4]
sub eax, 4
cmp dword [eax], 0xeefface
jne 0x435c82
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4 + 4]
lea edx, [ebp - 0xb8]
call fcn.00413034
cmp dword [ebp - 0xa4], 4
jne 0x435c82
cmp byte [ebp - 0xb1], 0
je 0x435c82
mov eax, dword [ebp - 0xb0]
mov dword [0x47f420], eax
mov edx, 0x43571c
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00465dc4
jmp 0x435c82
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + esi*4 + 0xc]
lea edx, [ebp - 0xb8]
call fcn.00413034
jmp 0x435c6c
mov eax, dword [ebp - 0xb0]
cmp eax, dword [0x47a5e8]
jne 0x435c46
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 0x435c82
cmp byte [ebp - 0xb1], 0
je 0x435c82
mov eax, dword [ebp - 0xb0]
mov dword [0x47f418], eax
mov edx, 0x4355b8
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00465dc4
jmp 0x435c82
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00413034
push edi
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jae 0x435bec
inc ebx
dec edi
jne 0x435b54
cmp dword [ebp - 0x88], 0
je 0x435e20
lea edx, [ebp - 0x40]
mov eax, dword [0x47a5dc]
call fcn.00414334
mov eax, dword [ebp - 0x20]
call sub.rtl250.bpl__System__DynArrayHigh_qqrpxv
mov edi, eax
test edi, edi
jl 0x435e20
inc edi
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.00414334
mov eax, dword [ebp - 0x60]
call sub.rtl250.bpl__System__DynArrayHigh_qqrpxv
mov esi, eax
test esi, esi
jl 0x435e18
inc esi
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 0x435e0b
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.00413034
cmp word [ebp - 0xb6], 0x83
jne 0x435e0b
cmp byte [ebp - 0xb4], 0xc4
jne 0x435e0b
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax + 2]
sub al, 0x10
je 0x435d61
sub al, 8
je 0x435dba
jmp 0x435e0b
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.00413034
cmp dword [ebp - 0xa4], 4
jne 0x435e18
cmp byte [ebp - 0xb1], 0
je 0x435e18
mov eax, dword [ebp - 0xb0]
mov dword [0x47f41c], eax
mov edx, 0x43569c
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00465dc4
jmp 0x435e18
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.00413034
cmp dword [ebp - 0xa4], 4
jne 0x435e18
cmp byte [ebp - 0xb1], 0
je 0x435e18
mov eax, dword [ebp - 0xb0]
mov dword [0x47f424], eax
mov edx, 0x4357a4
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.00465dc4
jmp 0x435e18
inc dword [ebp - 0x8c]
dec esi
jne 0x435cef
inc ebx
dec edi
jne 0x435cb9
cmp byte [ebp - 0x81], 0
je 0x435fa8
call fcn.004358e8
lea edx, [ebp - 0xb8]
call fcn.00413034
jmp 0x435e63
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00413034
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xb8], 0
je 0x435ea9
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x435ea9
cmp word [ebp - 0xb6], 0x89
jne 0x435e3f
mov eax, dword [ebp - 0x9c]
inc eax
cmp dword [eax], 0x24448bc2
jne 0x435e3f
mov eax, dword [ebp - 0x9c]
add eax, 5
cmp dword [eax], 0xc488b04
jne 0x435e3f
cmp byte [ebp - 0xb8], 0
je 0x435fa8
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x435fa8
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00413034
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
jmp 0x435f22
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00413034
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xb8], 0
je 0x435f68
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x435f68
cmp word [ebp - 0xb6], 0x89
jne 0x435efe
mov eax, dword [ebp - 0x9c]
inc eax
cmp dword [eax], 0x24448bc2
jne 0x435efe
mov eax, dword [ebp - 0x9c]
add eax, 5
cmp dword [eax], 0xc488b04
jne 0x435efe
cmp byte [ebp - 0xb8], 0
je 0x435f8f
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x435f8f
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x435fa8
mov edx, 0x435844
mov eax, dword [ebp - 0x90]
call fcn.00465da0
cmp dword [0x47a5f0], 0
je 0x435fbe
mov eax, dword [0x47a5f0]
mov dword [eax], 0x435868
jmp 0x435fcd
mov edx, 0x435868
mov eax, dword [0x47a5ec]
call fcn.00465d6c
cmp dword [0x47a5f4], 0
je 0x43608b
lea edx, [ebp - 0xb8]
mov eax, dword [0x47a5f4]
call fcn.00413034
mov ebx, 5
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.00413034
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
dec ebx
jne 0x435fef
cmp byte [ebp - 0xb8], 0
je 0x43608b
mov eax, dword [ebp - 0x9c]
cmp word [eax], 0x33ff
jne 0x43608b
mov eax, dword [ebp - 0x98]
add eax, 6
cmp byte [eax], 0x59
jne 0x43608b
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 [0x47a5f4]
push eax
mov ebx, dword [ebp - 0x9c]
push ebx
call sub.kernel32.dll_VirtualProtect
mov word [ebx], 0x38b
mov eax, esi
add eax, 6
mov byte [eax], 0x90
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x94]
push eax
sub edi, dword [0x47a5f4]
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 0x4360d3
lea eax, [ebp - 0xf8]
mov edx, dword [0x40ee18]
call sub.rtl250.bpl__System__FinalizeRecord_qqrpvt1
lea eax, [ebp - 0x80]
mov edx, dword [0x40ee18]
mov ecx, 2
call sub.rtl250.bpl__System__FinalizeArray_qqrpvt1ui
ret