Function at 0x4f8f20
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 0x4f8f60
nop dword [eax]
cmp dword [eax + 4], ebx
je 0x4f906e
mov eax, dword [eax + 8]
test eax, eax
jne 0x4f8f50
mov esi, dword [ebx]
test esi, esi
je 0x4f9444
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f8f70
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00471a30
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f9444
push edi
push esi
push eax
call fcn.0054f360
add esp, 0xc
push 0
push 0x1c
call fcn.00471370
mov esi, eax
add esp, 8
test esi, esi
je 0x4f942c
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 0x4f8fff
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4f8ffb
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f8ff3
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 0x4f9091
push ebp
call fcn.00471d00
add esp, 4
jmp 0x4f9099
push dword [ebx]
push str.vtable_constructor_called_recursively:__s
push ecx
call fcn.00473fa0
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 0x4f9198
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4f90da
mov edi, dword [esp + 0x14]
push edi
push str.vtable_constructor_failed:__s
push ebp
call fcn.00473fa0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, esi
mov dword [ecx], eax
mov ecx, ebp
call fcn.00471640
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.00471640
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push eax
push 0x5a0408
push ebp
call fcn.00473fa0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edi, dword [esp + 0x34]
mov dword [ecx], eax
test edi, edi
je 0x4f9174
cmp dword [0x5c2c20], 0
je 0x4f916a
mov eax, dword [0x5d1d18]
test eax, eax
je 0x4f9113
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 0x4f9174
push eax
call dword [0x5c2c78]
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.00471640
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.00471640
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.00471640
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.00471640
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [ebx]
test eax, eax
je 0x4f9411
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 0x4f9244
mov eax, dword [esp + 0x20]
push dword [eax]
push str.vtable_constructor_did_not_declare_schema:__s
push ebp
call fcn.00473fa0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [ecx], eax
add dword [esi + 0xc], 0xffffffff
mov ebp, dword [esi]
jne 0x4f9224
mov edi, dword [esi + 4]
mov ebx, dword [ebx]
add dword [edi + 8], 0xffffffff
jne 0x4f920c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4f9203
push dword [edi + 0xc]
call eax
add esp, 4
mov edx, edi
mov ecx, ebp
call fcn.00471640
test ebx, ebx
je 0x4f921b
mov eax, dword [ebx]
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.00471640
mov ebp, dword [esp + 0x18]
mov esi, 1
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, edi
call fcn.00471640
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 0x4f9411
xor ebp, ebp
mov dword [esp + 0x2c], ebp
nop dword [eax]
mov eax, dword [ecx + 4]
test byte [eax + ebp + 0xe], 4
je 0x4f929a
mov edx, dword [eax + ebp]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f9282
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x20]
add esi, edx
mov edx, dword [esp + 0x28]
jmp 0x4f92ad
mov eax, dword [eax + ebp + 4]
shr eax, 4
and eax, 0xf
je 0x4f92ba
mov esi, dword [eax*4 + 0x5c3b1c]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4f92c3
jmp 0x4f93eb
mov esi, 0x593fe0
mov dword [esp + 0x1c], esi
mov ebp, esi
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4f92c8
sub ebp, ecx
xor edx, edx
mov dword [esp + 0x24], edx
and ebp, 0x3fffffff
je 0x4f9365
mov ebx, esi
mov dword [esp + 0x1c], esi
nop word [eax + eax]
mov eax, 6
test ebx, ebx
je 0x4f93d1
mov esi, str.hidden
mov edi, ebx
mov cl, byte [esi]
dec eax
test cl, cl
je 0x4f9326
movzx edx, byte [edi]
movzx ecx, cl
mov cl, byte [ecx + 0x597a38]
cmp cl, byte [edx + 0x597a38]
jne 0x4f9326
inc esi
inc edi
test eax, eax
jg 0x4f9304
dec eax
test eax, eax
js 0x4f9346
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x597a38]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x597a38]
sub eax, ecx
jne 0x4f93cd
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4f9354
cmp byte [ebx - 1], 0x20
jne 0x4f93d1
mov eax, ebx
mov al, byte [eax + 6]
test al, al
je 0x4f9361
cmp al, 0x20
jne 0x4f93d1
mov esi, dword [esp + 0x1c]
cmp edx, ebp
jge 0x4f93df
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 0x4f93a0
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 0x4f9390
cmp byte [ebx], 0
jne 0x4f93ad
test edi, edi
jle 0x4f93ad
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 0x4f93f1
mov edx, dword [esp + 0x24]
inc edx
inc ebx
mov dword [esp + 0x24], edx
cmp edx, ebp
jl 0x4f92f0
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 0x4f9270
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov esi, dword [esp + 0x30]
mov edx, edi
call fcn.00471640
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00471d00
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, ebx
call fcn.00471640
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x40
ret