Function at 0x4f9040
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 0x4f9080
nop dword [eax]
cmp dword [eax + 4], ebx
je 0x4f918e
mov eax, dword [eax + 8]
test eax, eax
jne 0x4f9070
mov esi, dword [ebx]
test esi, esi
je 0x4f9564
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f9090
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00471b50
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f9564
push edi
push esi
push eax
call fcn.0054f490
add esp, 0xc
push 0
push 0x1c
call fcn.00471490
mov esi, eax
add esp, 8
test esi, esi
je 0x4f954c
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 0x4f911f
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4f911b
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f9113
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 0x4f91b1
push ebp
call fcn.00471e20
add esp, 4
jmp 0x4f91b9
push dword [ebx]
push str.vtable_constructor_called_recursively:__s
push ecx
call fcn.004740c0
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 0x4f92b8
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4f91fa
mov edi, dword [esp + 0x14]
push edi
push str.vtable_constructor_failed:__s
push ebp
call fcn.004740c0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, esi
mov dword [ecx], eax
mov ecx, ebp
call fcn.00471760
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.00471760
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push eax
push 0x5a04d0
push ebp
call fcn.004740c0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edi, dword [esp + 0x34]
mov dword [ecx], eax
test edi, edi
je 0x4f9294
cmp dword [0x5c2c20], 0
je 0x4f928a
mov eax, dword [0x5d1d18]
test eax, eax
je 0x4f9233
push eax
call dword [0x5c2c70]
add esp, 4
push edi
call dword [0x5c2c4c]
sub dword [0x5d1b20], eax
add esp, 4
dec dword [0x5d1b44]
push edi
call dword [0x5c2c44]
mov eax, dword [0x5d1d18]
add esp, 4
test eax, eax
je 0x4f9294
push eax
call dword [0x5c2c78]
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.00471760
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.00471760
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push edi
call dword [0x5c2c44]
add esp, 4
mov edi, dword [esp + 0x14]
mov edx, esi
mov ecx, ebp
call fcn.00471760
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.00471760
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [ebx]
test eax, eax
je 0x4f9531
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 0x4f9364
mov eax, dword [esp + 0x20]
push dword [eax]
push str.vtable_constructor_did_not_declare_schema:__s
push ebp
call fcn.004740c0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [ecx], eax
add dword [esi + 0xc], 0xffffffff
mov ebp, dword [esi]
jne 0x4f9344
mov edi, dword [esi + 4]
mov ebx, dword [ebx]
add dword [edi + 8], 0xffffffff
jne 0x4f932c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4f9323
push dword [edi + 0xc]
call eax
add esp, 4
mov edx, edi
mov ecx, ebp
call fcn.00471760
test ebx, ebx
je 0x4f933b
mov eax, dword [ebx]
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.00471760
mov ebp, dword [esp + 0x18]
mov esi, 1
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, edi
call fcn.00471760
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 0x4f9531
xor ebp, ebp
mov dword [esp + 0x2c], ebp
nop dword [eax]
mov eax, dword [ecx + 4]
test byte [eax + ebp + 0xe], 4
je 0x4f93ba
mov edx, dword [eax + ebp]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f93a2
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x20]
add esi, edx
mov edx, dword [esp + 0x28]
jmp 0x4f93cd
mov eax, dword [eax + ebp + 4]
shr eax, 4
and eax, 0xf
je 0x4f93da
mov esi, dword [eax*4 + 0x5c3b1c]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4f93e3
jmp 0x4f950b
mov esi, 0x5940a0
mov dword [esp + 0x1c], esi
mov ebp, esi
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4f93e8
sub ebp, ecx
xor edx, edx
mov dword [esp + 0x24], edx
and ebp, 0x3fffffff
je 0x4f9485
mov ebx, esi
mov dword [esp + 0x1c], esi
nop word [eax + eax]
mov eax, 6
test ebx, ebx
je 0x4f94f1
mov esi, str.hidden
mov edi, ebx
mov cl, byte [esi]
dec eax
test cl, cl
je 0x4f9446
movzx edx, byte [edi]
movzx ecx, cl
mov cl, byte [ecx + 0x597af8]
cmp cl, byte [edx + 0x597af8]
jne 0x4f9446
inc esi
inc edi
test eax, eax
jg 0x4f9424
dec eax
test eax, eax
js 0x4f9466
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x597af8]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x597af8]
sub eax, ecx
jne 0x4f94ed
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4f9474
cmp byte [ebx - 1], 0x20
jne 0x4f94f1
mov eax, ebx
mov al, byte [eax + 6]
test al, al
je 0x4f9481
cmp al, 0x20
jne 0x4f94f1
mov esi, dword [esp + 0x1c]
cmp edx, ebp
jge 0x4f94ff
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 0x4f94c0
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 0x4f94b0
cmp byte [ebx], 0
jne 0x4f94cd
test edi, edi
jle 0x4f94cd
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 0x4f9511
mov edx, dword [esp + 0x24]
inc edx
inc ebx
mov dword [esp + 0x24], edx
cmp edx, ebp
jl 0x4f9410
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 0x4f9390
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov esi, dword [esp + 0x30]
mov edx, edi
call fcn.00471760
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00471e20
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, ebx
call fcn.00471760
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x40
ret