Function at 0x458570
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
mov al, byte [ebp + 0x20]
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ecx], 1
cmp byte [esi + 0x39], 0
push edi
je 0x45868d
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 8], 1
mov edx, dword [esi + 4]
mov dword [ebx], edx
test al, al
je 0x458654
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + edi*4 - 4]
push 0
push 0x4bf920
dec edi
push 0x4be2ac
push 0
mov dword [ebp + 0x1c], edi
call fcn.0044e340
push eax
call fcn.00497962
add esp, 0x14
test eax, eax
je 0x45864b
mov ecx, dword [esi + 0x14]
push ecx
lea edx, [ebp + 0x1c]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004697b0
test eax, eax
je 0x4587a4
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 8]
push eax
push ecx
push ebx
push edi
call edx
mov eax, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x45861e
push eax
call fcn.0048a46f
add esp, 4
mov eax, dword [0x4be40c]
cmp dword [eax + 0xfc], 0
je 0x45863d
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [edi]
cmp edi, 8
je 0x458632
test edi, edi
jmp 0x458b0c
cmp edi, dword [esi + 0x14]
jl 0x4587a4
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 8]
push edi
push ecx
push ebx
push edx
call eax
mov ecx, dword [0x4be40c]
add esp, 0x10
cmp dword [ecx + 0xfc], 0
je 0x458afc
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
or ebx, 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0
test al, al
je 0x4587af
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
dec eax
push 0x4bf920
mov dword [ebp + 0x1c], eax
mov eax, dword [ecx + eax*4]
push 0x4be2ac
push 0
call fcn.0044e340
push eax
call fcn.00497962
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x4587af
mov edx, eax
mov esi, dword [edx + 0x18]
mov ecx, 0xfffffff0
inc ebx
add ecx, 0x10
cmp ebx, esi
jge 0x458723
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ecx]
mov edx, dword [eax + ecx + 8]
add eax, ecx
mov dword [esp + 0x38], edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
cmp eax, 4
jne 0x45871e
mov dword [esp + 0x3c], 0
cmp edx, 1
jl 0x4586e3
mov dword [esp + 0x18], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x28], eax
cmp ecx, eax
jg 0x45873c
mov dword [esp + 0x28], ecx
cmp dword [edx + 0x34], 0
jle 0x4587bc
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
jle 0x458775
xor esi, esi
mov ecx, dword [ebp + 0x18]
mov edi, dword [ecx + ebx*4]
cmp dword [edi + 8], 3
jne 0x45876c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
cmp word [eax + esi + 4], 0
jne 0x45876c
mov eax, dword [edi]
call fcn.00412d30
inc ebx
add esi, 0x10
cmp ebx, dword [ebp + 0x1c]
jl 0x45874b
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edi, [eax + 8]
lea ebx, [eax + 4]
call fcn.004732e0
test eax, eax
jne 0x4587b8
mov ecx, esi
mov edx, dword [ecx + 4]
push edx
push str.Out_of_memory.
mov ecx, 0x4c4040
call fcn.0042f750
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ebx, dword [esp + 0x18]
jmp 0x458727
mov ebx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [edx], esi
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x10]
jge 0x458923
mov ecx, ebx
shl ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x24], ecx
mov ecx, 1
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov edi, dword [esi + 0xc]
add edi, dword [esp + 0x24]
cmp word [edi + 4], 0
je 0x45880c
mov eax, dword [edi]
mov dword [eax + 0xc], 0
mov byte [eax + 0x17], 1
cmp dword [esp + 0x14], 0
je 0x4588b8
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jne 0x458887
mov edi, dword [edi]
lea eax, [esp + 0x38]
call fcn.004725c0
test eax, eax
je 0x4589f9
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0x10
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [eax + 0x18]
jge 0x458909
mov eax, dword [eax + 0xc]
add eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
cmp eax, 4
jne 0x458909
mov dword [esp + 0x3c], 0
jmp 0x458909
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov esi, dword [esp + 0x14]
lea ebx, [esp + 0x48]
call fcn.00413070
test al, al
je 0x4588b4
mov edi, dword [edi]
mov eax, ebx
call fcn.004725c0
test eax, eax
je 0x458a0d
mov ebx, dword [esp + 0x18]
jmp 0x458909
mov ebx, dword [esp + 0x18]
movzx eax, word [edi + 6]
dec eax
je 0x4588f8
dec eax
je 0x4588e5
dec eax
jne 0x4587a4
fld qword [edi + 8]
mov eax, dword [edi]
fstp qword [esp + 0x30]
push 0x28
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.004010e0
jmp 0x458909
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push 0x18
push eax
mov eax, dword [edi]
push ecx
call fcn.004010e0
jmp 0x458909
mov edx, dword [edi + 8]
mov ecx, dword [edi]
push 1
push 0
push 0xffffffffffffffff
push edx
call fcn.00472b80
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
add dword [esp + 0x24], 0x10
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x10]
jl 0x4587f1
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x28], ebx
jle 0x458992
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + 8]
cmp edx, 7
jge 0x4587a4
mov edi, dword [esi + 0xc]
cmp word [ecx + edi + 4], 0
je 0x458969
mov ecx, dword [ecx + edi]
cmp edx, 3
je 0x458a21
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x17], 1
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
mov edi, dword [edx + ecx]
call fcn.004725c0
test eax, eax
je 0x4589f9
mov ecx, dword [esp + 0x24]
inc ebx
add ecx, 0x10
mov dword [esp + 0x24], ecx
cmp ebx, dword [esp + 0x28]
jl 0x458935
mov dword [esp + 0x10], ebx
cmp byte [esi + 0x3a], 0
je 0x458ab3
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x458a4d
push eax
mov eax, dword [esp + 0x1c]
call fcn.00469600
mov edi, eax
cmp edi, ebx
je 0x458ab3
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp + 0x1c]
jle 0x458a80
sub eax, dword [ebp + 0x1c]
xor ecx, ecx
mov ebx, eax
cmp dword [edi + 0x18], ecx
jle 0x458a80
xor edx, edx
lea esp, [esp]
mov eax, dword [edi + 0xc]
sub dword [edx + eax + 8], ebx
lea eax, [edx + eax + 8]
inc ecx
add edx, 0x10
cmp ecx, dword [edi + 0x18]
jl 0x4589e0
jmp 0x458a80
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x458a39
lea esp, [esp]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 0
je 0x458a30
cmp eax, ecx
je 0x45897c
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x17], 0
jmp 0x45897c
push 0x20
call fcn.0048ab9b
add esp, 4
cmp eax, ebx
je 0x458a7c
mov dword [eax + 4], 1
mov dword [eax], vtable.Object.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
jmp 0x458a7e
xor eax, eax
mov edi, eax
test edi, edi
je 0x458ab3
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
cmp ecx, eax
jge 0x458aa2
mov edx, dword [ebp + 0x18]
sub eax, ecx
push eax
lea eax, [edx + ecx*4]
push eax
push 1
push 0
call fcn.0046a1e0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [edx + ecx*8]
push edi
call fcn.00412a40
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x458ac7
mov dword [ecx + 8], 0
mov dword [ecx], 0x4a6b2c
mov eax, dword [0x4be40c]
mov edi, dword [eax + 0xb4]
push 0
push ecx
mov dword [eax + 0xb4], esi
mov ecx, dword [esi + 8]
inc dword [esi + 0x34]
push 2
call fcn.00426210
dec dword [esi + 0x34]
mov ecx, dword [0x4be40c]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xb4], edi
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, 8
je 0x458632
test eax, eax
je 0x458632
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x1c