Function at 0x435930
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x43595a
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x435d17
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
push ebp
push 0x435ce7
push dword fs:[0]
mov dword fs:[0], esp
test ebx, ebx
je 0x435cdd
mov eax, ebx
call sub.rtl250.bpl__System_TObject_ClassType_qqrv
mov esi, eax
mov eax, dword [ebp - 8]
neg eax
sub esi, eax
cmp edi, esi
jae 0x4359aa
mov eax, edi
add eax, dword [ebp + 8]
cmp esi, eax
jae 0x4359aa
mov dword [ebp - 0x14], edi
jmp 0x4359c5
mov ebx, dword [0x53fad4]
mov ebx, dword [ebx]
lea ecx, [ebp - 4]
lea edx, [ebp - 0x14]
mov eax, esi
call ebx
test al, al
jne 0x4359c5
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435cdd
mov eax, dword [ebp - 0x14]
add eax, 0x3c
mov edx, dword [eax]
add edx, dword [ebp - 0x14]
test edx, edx
je 0x435cdd
cmp word [edx + 0x18], 0x20b
jne 0x4359ff
lea eax, [edx + 0x18]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
mov ecx, edx
add ecx, 0x108
mov eax, ecx
jmp 0x435a0f
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x18], eax
mov ecx, edx
add ecx, 0xf8
mov eax, ecx
mov ecx, dword [ebp - 0x14]
mov dword [0x53e698], ecx
mov ecx, dword [ebp - 0x18]
mov dword [0x53e69c], ecx
test byte [eax + 0x24], 0x20
je 0x435a56
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
add ecx, dword [ebp - 0x1c]
sub ecx, 3
mov dword [ebp - 0x20], ecx
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x435a90
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
add ecx, dword [eax + 8]
sub ecx, 3
mov dword [ebp - 0x20], ecx
jmp 0x435a90
cmp word [edx + 0x18], 0x20b
jne 0x435a7b
lea eax, [edx + 0x18]
mov eax, dword [eax + 0x14]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [edx + 0x18]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x1c]
sub eax, 3
mov dword [ebp - 0x20], eax
jmp 0x435a90
mov eax, dword [edx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x1c]
add eax, dword [ebp - 0x1c]
sub eax, 3
mov dword [ebp - 0x20], eax
cmp word [edx + 0x18], 0x20b
jne 0x435aee
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, edx
add ecx, 0x108
mov eax, ecx
movzx ecx, word [edx + 6]
dec ecx
test ecx, ecx
jl 0x435ad6
inc ecx
mov edi, dword [eax + 0x24]
test edi, 0x40
jne 0x435ac5
test edi, 0x80
je 0x435ad0
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x435ad6
add eax, 0x28
dec ecx
jne 0x435ab2
mov ebx, dword [esi]
cmp ebx, dword [ebp - 0x24]
jb 0x435b0a
lea eax, [edx + 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x24]
sub eax, 3
mov dword [ebp - 0x20], eax
jmp 0x435b0a
mov eax, dword [edx + 0x30]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ebx, dword [esi]
cmp ebx, dword [ebp - 0x24]
jb 0x435b0a
mov eax, dword [edx + 0x20]
add eax, dword [ebp - 0x24]
sub eax, 3
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 8]
neg edi
add esi, edi
cmp ebx, esi
jne 0x435cdd
mov eax, edi
sub eax, 0x20
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, ebx
call fcn.0043591c
test al, al
je 0x435cdd
mov eax, edi
sub eax, 0x1c
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, ebx
call fcn.0043591c
test al, al
je 0x435cdd
mov eax, edi
sub eax, 0x18
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, ebx
call fcn.0043591c
test al, al
je 0x435cdd
mov eax, edi
sub eax, 0x14
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, ebx
call fcn.0043591c
test al, al
je 0x435cdd
mov eax, edi
sub eax, 0x10
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0043591c
test al, al
je 0x435cdd
mov eax, edi
sub eax, 0xc
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0043591c
test al, al
je 0x435cdd
mov eax, edi
sub eax, 8
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0043591c
test al, al
je 0x435cdd
mov eax, edi
sub eax, 4
mov edx, ebx
sub edx, eax
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0043591c
test al, al
je 0x435cdd
lea eax, [ebp - 4]
mov edx, edi
sub edx, 0x20
mov ecx, ebx
sub ecx, edx
mov edx, dword [ecx]
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromString_qqrr27System__AnsiStringT_us_i0__rx29System__SmallString_uc_i255__us
mov eax, edi
sub eax, 0x10
mov edx, ebx
sub edx, eax
mov esi, dword [edx]
sub edi, 0x28
sub ebx, edi
mov ebx, dword [ebx]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00409b6c
mov eax, dword [ebp - 0x2c]
mov dl, 1
call fcn.00409f28
test al, al
je 0x435cc3
test esi, esi
je 0x435c69
lea eax, [ebp - 0x30]
inc esi
mov edx, esi
mov ecx, 0
call sub.rtl250.bpl__System__LStrFromString_qqrr27System__AnsiStringT_us_i0__rx29System__SmallString_uc_i255__us
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrEqual_qqrv
jne 0x435cc3
cmp dword [ebp + 0x10], 0
je 0x435cc7
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
call sub.rtl250.bpl__System__LStrEqual_qqrv
je 0x435cc7
mov eax, dword [ebp + 0x10]
mov edx, 0x435d38
call sub.rtl250.bpl__System__LStrEqual_qqrv
jne 0x435c9a
mov eax, dword [ebp - 4]
mov edx, 0x435d50
call sub.rtl250.bpl__System__LStrEqual_qqrv
je 0x435cc7
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call sub.rtl250.bpl__System__LStrClr_qqrpv
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00435930
pop ecx
test al, al
jne 0x435cc7
xor eax, eax
jmp 0x435cc9
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x435cdd
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call sub.rtl250.bpl__System__LStrAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x435cf1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435d1e
lea eax, [ebp - 0x30]
call sub.rtl250.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x2c]
call sub.rtl250.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl250.bpl__System__LStrClr_qqrpv
ret