Function at 0x4f4b40
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 0x4f4b80
nop dword [eax]
cmp dword [eax + 4], ebx
je 0x4f4c8e
mov eax, dword [eax + 8]
test eax, eax
jne 0x4f4b70
mov esi, dword [ebx]
test esi, esi
je 0x4f5064
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f4b90
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0046d640
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f5064
push edi
push esi
push eax
call fcn.0054b300
add esp, 0xc
push 0
push 0x1c
call fcn.0046cf80
mov esi, eax
add esp, 8
test esi, esi
je 0x4f504c
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 0x4f4c1f
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4f4c1b
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f4c13
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 0x4f4cb1
push ebp
call fcn.0046d910
add esp, 4
jmp 0x4f4cb9
push dword [ebx]
push str.vtable_constructor_called_recursively:__s
push ecx
call fcn.0046fbb0
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 0x4f4db8
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4f4cfa
mov edi, dword [esp + 0x14]
push edi
push str.vtable_constructor_failed:__s
push ebp
call fcn.0046fbb0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, esi
mov dword [ecx], eax
mov ecx, ebp
call fcn.0046d250
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046d250
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push eax
push 0x59cd18
push ebp
call fcn.0046fbb0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edi, dword [esp + 0x34]
mov dword [ecx], eax
test edi, edi
je 0x4f4d94
cmp dword [0x5bec20], 0
je 0x4f4d8a
mov eax, dword [0x5cdd20]
test eax, eax
je 0x4f4d33
push eax
call dword [0x5bec70]
add esp, 4
push edi
call dword [0x5bec4c]
sub dword [0x5cdb28], eax
add esp, 4
dec dword [0x5cdb4c]
push edi
call dword [0x5bec44]
mov eax, dword [0x5cdd20]
add esp, 4
test eax, eax
je 0x4f4d94
push eax
call dword [0x5bec78]
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.0046d250
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046d250
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push edi
call dword [0x5bec44]
add esp, 4
mov edi, dword [esp + 0x14]
mov edx, esi
mov ecx, ebp
call fcn.0046d250
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046d250
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [ebx]
test eax, eax
je 0x4f5031
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 0x4f4e64
mov eax, dword [esp + 0x20]
push dword [eax]
push str.vtable_constructor_did_not_declare_schema:__s
push ebp
call fcn.0046fbb0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [ecx], eax
add dword [esi + 0xc], 0xffffffff
mov ebp, dword [esi]
jne 0x4f4e44
mov edi, dword [esi + 4]
mov ebx, dword [ebx]
add dword [edi + 8], 0xffffffff
jne 0x4f4e2c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4f4e23
push dword [edi + 0xc]
call eax
add esp, 4
mov edx, edi
mov ecx, ebp
call fcn.0046d250
test ebx, ebx
je 0x4f4e3b
mov eax, dword [ebx]
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.0046d250
mov ebp, dword [esp + 0x18]
mov esi, 1
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, edi
call fcn.0046d250
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 0x4f5031
xor ebp, ebp
mov dword [esp + 0x2c], ebp
nop dword [eax]
mov eax, dword [ecx + 4]
test byte [eax + ebp + 0xe], 4
je 0x4f4eba
mov edx, dword [eax + ebp]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f4ea2
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x20]
add esi, edx
mov edx, dword [esp + 0x28]
jmp 0x4f4ecd
mov eax, dword [eax + ebp + 4]
shr eax, 4
and eax, 0xf
je 0x4f4eda
mov esi, dword [eax*4 + 0x5bfb1c]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4f4ee3
jmp 0x4f500b
mov esi, 0x590ac8
mov dword [esp + 0x1c], esi
mov ebp, esi
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4f4ee8
sub ebp, ecx
xor edx, edx
mov dword [esp + 0x24], edx
and ebp, 0x3fffffff
je 0x4f4f85
mov ebx, esi
mov dword [esp + 0x1c], esi
nop word [eax + eax]
mov eax, 6
test ebx, ebx
je 0x4f4ff1
mov esi, str.hidden
mov edi, ebx
mov cl, byte [esi]
dec eax
test cl, cl
je 0x4f4f46
movzx edx, byte [edi]
movzx ecx, cl
mov cl, byte [ecx + 0x5944d0]
cmp cl, byte [edx + 0x5944d0]
jne 0x4f4f46
inc esi
inc edi
test eax, eax
jg 0x4f4f24
dec eax
test eax, eax
js 0x4f4f66
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x5944d0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x5944d0]
sub eax, ecx
jne 0x4f4fed
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4f4f74
cmp byte [ebx - 1], 0x20
jne 0x4f4ff1
mov eax, ebx
mov al, byte [eax + 6]
test al, al
je 0x4f4f81
cmp al, 0x20
jne 0x4f4ff1
mov esi, dword [esp + 0x1c]
cmp edx, ebp
jge 0x4f4fff
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 0x4f4fc0
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 0x4f4fb0
cmp byte [ebx], 0
jne 0x4f4fcd
test edi, edi
jle 0x4f4fcd
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 0x4f5011
mov edx, dword [esp + 0x24]
inc edx
inc ebx
mov dword [esp + 0x24], edx
cmp edx, ebp
jl 0x4f4f10
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 0x4f4e90
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov esi, dword [esp + 0x30]
mov edx, edi
call fcn.0046d250
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x18]
push ebx
call fcn.0046d910
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, ebx
call fcn.0046d250
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x40
ret