Function at 0x459090
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 + 0x3d], 0
push edi
je 0x4591ad
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 0x459174
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + edi*4 - 4]
push 0
push 0x4c18d4
dec edi
push 0x4c02ac
push 0
mov dword [ebp + 0x1c], edi
call fcn.0044eec0
push eax
call fcn.004992d2
add esp, 0x14
test eax, eax
je 0x45916b
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.0046ad30
test eax, eax
je 0x4592c4
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 0x45913e
push eax
call fcn.0048bddf
add esp, 4
mov eax, dword [0x4c040c]
cmp dword [eax + 0xfc], 0
je 0x45915d
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 0x459152
test edi, edi
jmp 0x459640
cmp edi, dword [esi + 0x14]
jl 0x4592c4
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 [0x4c040c]
add esp, 0x10
cmp dword [ecx + 0xfc], 0
je 0x459630
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 0x4592cf
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
dec eax
push 0x4c18d4
mov dword [ebp + 0x1c], eax
mov eax, dword [ecx + eax*4]
push 0x4c02ac
push 0
call fcn.0044eec0
push eax
call fcn.004992d2
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x4592cf
mov edx, eax
mov esi, dword [edx + 0x18]
mov ecx, 0xfffffff0
inc ebx
add ecx, 0x10
cmp ebx, esi
jge 0x459243
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 0x45923e
mov dword [esp + 0x3c], 0
cmp edx, 1
jl 0x459203
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 0x45925c
mov dword [esp + 0x28], ecx
cmp dword [edx + 0x38], 0
jle 0x4592dc
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
jle 0x459295
xor esi, esi
mov ecx, dword [ebp + 0x18]
mov edi, dword [ecx + ebx*4]
cmp dword [edi + 8], 3
jne 0x45928c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
cmp word [eax + esi + 4], 0
jne 0x45928c
mov eax, dword [edi]
call fcn.00412e10
inc ebx
add esi, 0x10
cmp ebx, dword [ebp + 0x1c]
jl 0x45926b
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edi, [eax + 8]
lea ebx, [eax + 4]
call fcn.00474a20
test eax, eax
jne 0x4592d8
mov ecx, esi
mov edx, dword [ecx + 4]
push edx
push str.Out_of_memory.
mov ecx, 0x4c6048
call fcn.0042f1f0
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 0x459247
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 0x459444
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 0x45932c
mov eax, dword [edi]
mov dword [eax + 0xc], 0
mov byte [eax + 0x17], 1
cmp dword [esp + 0x14], 0
je 0x4593d8
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jne 0x4593a7
mov edi, dword [edi]
lea eax, [esp + 0x38]
call fcn.00473ce0
test eax, eax
je 0x45951a
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0x10
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [eax + 0x18]
jge 0x45942a
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 0x45942a
mov dword [esp + 0x3c], 0
jmp 0x45942a
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov esi, dword [esp + 0x14]
lea ebx, [esp + 0x48]
call fcn.00413150
test al, al
je 0x4593d4
mov edi, dword [edi]
mov eax, ebx
call fcn.00473ce0
test eax, eax
je 0x45952e
mov ebx, dword [esp + 0x18]
jmp 0x45942a
mov ebx, dword [esp + 0x18]
movzx eax, word [edi + 6]
dec eax
je 0x459418
dec eax
je 0x459405
dec eax
jne 0x4592c4
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 0x45942a
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push 0x18
push eax
mov eax, dword [edi]
push ecx
call fcn.004010e0
jmp 0x45942a
mov edx, dword [edi + 8]
mov eax, dword [edi]
push 1
push 0
push 0xffffffffffffffff
push edx
push eax
call fcn.004742b0
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 0x459311
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x28], ebx
jle 0x4594b7
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 8]
cmp edx, 7
jge 0x4592c4
mov edi, dword [esi + 0xc]
cmp word [ecx + edi + 4], 0
je 0x45948a
mov ecx, dword [ecx + edi]
cmp edx, 3
je 0x459542
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.00473ce0
test eax, eax
je 0x45956d
mov ecx, dword [esp + 0x24]
inc ebx
add ecx, 0x10
mov dword [esp + 0x24], ecx
cmp ebx, dword [esp + 0x28]
jl 0x459456
mov dword [esp + 0x10], ebx
cmp byte [esi + 0x3e], 0
je 0x4595e7
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x459581
push eax
mov eax, dword [esp + 0x1c]
call fcn.0046ab80
mov edi, eax
cmp edi, ebx
je 0x4595e7
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp + 0x1c]
jle 0x4595b4
sub eax, dword [ebp + 0x1c]
xor ecx, ecx
mov ebx, eax
cmp dword [edi + 0x18], ecx
jle 0x4595b4
xor edx, edx
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 0x459501
jmp 0x4595b4
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 edx, dword [ebp + 0x10]
mov dword [edx], 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 0x459559
lea ebx, [ebx]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 0
je 0x459550
cmp eax, ecx
je 0x4594a1
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x17], 0
jmp 0x4594a1
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
push 0x20
call fcn.0048c50b
add esp, 4
cmp eax, ebx
je 0x4595b0
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 0x4595b2
xor eax, eax
mov edi, eax
test edi, edi
je 0x4595e7
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
cmp ecx, eax
jge 0x4595d6
mov edx, dword [ebp + 0x18]
sub eax, ecx
push eax
lea eax, [edx + ecx*4]
push eax
push 1
push 0
call fcn.0046b770
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [edx + ecx*8]
push edi
call fcn.00412b20
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4595fb
mov dword [ecx + 8], 0
mov dword [ecx], 0x49e828
mov eax, dword [0x4c040c]
mov edi, dword [eax + 0xb4]
push 0
push ecx
mov dword [eax + 0xb4], esi
mov ecx, dword [esi + 8]
inc dword [esi + 0x38]
push 2
call fcn.00425e70
dec dword [esi + 0x38]
mov ecx, dword [0x4c040c]
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 0x459152
test eax, eax
je 0x459152
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x1c