Function at 0x4f2560
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40
push ebx
mov ebx, edx
mov dword [esp + 0xc], ecx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x30]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x190]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], 0
test eax, eax
je 0x4f25a0
nop dword [eax]
cmp dword [eax + 4], ebx
je 0x4f26ae
mov eax, dword [eax + 8]
test eax, eax
jne 0x4f2590
mov esi, dword [ebx]
test esi, esi
je 0x4f2a84
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f25b0
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0046b090
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f2a84
push edi
push esi
push eax
call fcn.00548140
add esp, 0xc
push 0
push 0x1c
call fcn.0046a9d0
mov esi, eax
add esp, 8
test esi, esi
je 0x4f2a6c
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
mov edi, dword [esp + 0x54]
mov edx, 0xffff8000
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [esi], eax
mov dword [esi + 4], edi
mov byte [esi + 0x11], 1
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x4f263f
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4f263b
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f2633
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
add edx, edx
mov ecx, dword [ebx + 0x30]
mov eax, dword [eax + edx*8]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
lea ebx, [esi + 8]
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], 0
mov eax, dword [ecx + 0x190]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
mov dword [ecx + 0x190], eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [esp + 0x40]
push ebp
push dword [edi + 0xc]
mov ebp, ecx
push ebp
call dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
add esp, 0x18
mov dword [esp + 0x30], eax
mov dword [ebp + 0x190], ecx
cmp eax, 7
jne 0x4f26d1
push ebp
call fcn.0046b360
add esp, 4
jmp 0x4f26d9
push dword [ebx]
push str.vtable_constructor_called_recursively:__s
push ecx
call fcn.0046d600
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [ecx], eax
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
test eax, eax
je 0x4f27d8
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4f271a
mov edi, dword [esp + 0x14]
push edi
push str.vtable_constructor_failed:__s
push ebp
call fcn.0046d600
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, esi
mov dword [ecx], eax
mov ecx, ebp
call fcn.0046aca0
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046aca0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push eax
push 0x594a2c
push ebp
call fcn.0046d600
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edi, dword [esp + 0x34]
mov dword [ecx], eax
test edi, edi
je 0x4f27b4
cmp dword [0x5b4c20], 0
je 0x4f27aa
mov eax, dword [0x5c3b98]
test eax, eax
je 0x4f2753
push eax
call dword [0x5b4c70]
add esp, 4
push edi
call dword [0x5b4c4c]
sub dword [0x5c39a0], eax
add esp, 4
dec dword [0x5c39c4]
push edi
call dword [0x5b4c44]
mov eax, dword [0x5c3b98]
add esp, 4
test eax, eax
je 0x4f27b4
push eax
call dword [0x5b4c78]
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.0046aca0
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046aca0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push edi
call dword [0x5b4c44]
add esp, 4
mov edi, dword [esp + 0x14]
mov edx, esi
mov ecx, ebp
call fcn.0046aca0
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046aca0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [ebx]
test eax, eax
je 0x4f2a51
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov ecx, dword [ebx]
mov eax, dword [edi]
mov dword [ecx], eax
inc dword [edi + 8]
mov dword [esi + 0xc], 1
cmp dword [esp + 0x4c], 0
jne 0x4f2884
mov eax, dword [esp + 0x20]
push dword [eax]
push str.vtable_constructor_did_not_declare_schema:__s
push ebp
call fcn.0046d600
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [ecx], eax
add dword [esi + 0xc], 0xffffffff
mov ebp, dword [esi]
jne 0x4f2864
mov edi, dword [esi + 4]
mov ebx, dword [ebx]
add dword [edi + 8], 0xffffffff
jne 0x4f284c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4f2843
push dword [edi + 0xc]
call eax
add esp, 4
mov edx, edi
mov ecx, ebp
call fcn.0046aca0
test ebx, ebx
je 0x4f285b
mov eax, dword [ebx]
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.0046aca0
mov ebp, dword [esp + 0x18]
mov esi, 1
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, edi
call fcn.0046aca0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x18], eax
xor eax, eax
mov dword [ecx + 0x34], esi
cmp ax, word [ecx + 0x22]
jge 0x4f2a51
xor ebp, ebp
mov dword [esp + 0x2c], ebp
nop dword [eax]
mov eax, dword [ecx + 4]
test byte [eax + ebp + 0xe], 4
je 0x4f28da
mov edx, dword [eax + ebp]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f28c2
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x20]
add esi, edx
mov edx, dword [esp + 0x28]
jmp 0x4f28ed
mov eax, dword [eax + ebp + 4]
shr eax, 4
and eax, 0xf
je 0x4f28fa
mov esi, dword [eax*4 + 0x5b5b1c]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4f2903
jmp 0x4f2a2b
mov esi, 0x589c88
mov dword [esp + 0x1c], esi
mov ebp, esi
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4f2908
sub ebp, ecx
xor edx, edx
mov dword [esp + 0x24], edx
and ebp, 0x3fffffff
je 0x4f29a5
mov ebx, esi
mov dword [esp + 0x1c], esi
nop word [eax + eax]
mov eax, 6
test ebx, ebx
je 0x4f2a11
mov esi, str.hidden
mov edi, ebx
mov cl, byte [esi]
dec eax
test cl, cl
je 0x4f2966
movzx edx, byte [edi]
movzx ecx, cl
mov cl, byte [ecx + 0x58d588]
cmp cl, byte [edx + 0x58d588]
jne 0x4f2966
inc esi
inc edi
test eax, eax
jg 0x4f2944
dec eax
test eax, eax
js 0x4f2986
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x58d588]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x58d588]
sub eax, ecx
jne 0x4f2a0d
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4f2994
cmp byte [ebx - 1], 0x20
jne 0x4f2a11
mov eax, ebx
mov al, byte [eax + 6]
test al, al
je 0x4f29a1
cmp al, 0x20
jne 0x4f2a11
mov esi, dword [esp + 0x1c]
cmp edx, ebp
jge 0x4f2a1f
mov edi, dword [esp + 0x24]
lea ebx, [edx + esi]
xor edx, edx
cmp byte [ebx + 6], dl
setne dl
add edx, 6
lea eax, [edx + edi]
cmp eax, ebp
jg 0x4f29e0
mov esi, edx
mov ecx, ebx
sub esi, dword [esp + 0x1c]
nop word [eax + eax]
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
lea eax, [esi + ecx]
cmp eax, ebp
jle 0x4f29d0
cmp byte [ebx], 0
jne 0x4f29ed
test edi, edi
jle 0x4f29ed
mov byte [ebx - 1], 0
mov ecx, dword [esp + 0x20]
mov edx, 0x400
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
or word [eax + ebp + 0xe], 2
or dword [ecx + 0x1c], 2
jmp 0x4f2a31
mov edx, dword [esp + 0x24]
inc edx
inc ebx
mov dword [esp + 0x24], edx
cmp edx, ebp
jl 0x4f2930
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
movzx eax, dx
or dword [ecx + 0x1c], eax
mov ebx, dword [esp + 0x38]
add ebp, 0x10
movsx eax, word [ecx + 0x22]
inc ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebp
cmp ebx, eax
jl 0x4f28b0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov esi, dword [esp + 0x30]
mov edx, edi
call fcn.0046aca0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x18]
push ebx
call fcn.0046b360
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, ebx
call fcn.0046aca0
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x40
ret