Function at 0x4f3bd0
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 0x4f3c10
nop dword [eax]
cmp dword [eax + 4], ebx
je 0x4f3d1e
mov eax, dword [eax + 8]
test eax, eax
jne 0x4f3c00
mov esi, dword [ebx]
test esi, esi
je 0x4f40f4
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f3c20
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0046c6f0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f40f4
push edi
push esi
push eax
call fcn.00549690
add esp, 0xc
push 0
push 0x1c
call fcn.0046c030
mov esi, eax
add esp, 8
test esi, esi
je 0x4f40dc
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 0x4f3caf
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4f3cab
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4f3ca3
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 0x4f3d41
push ebp
call fcn.0046c9c0
add esp, 4
jmp 0x4f3d49
push dword [ebx]
push str.vtable_constructor_called_recursively:__s
push ecx
call fcn.0046ec60
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 0x4f3e48
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4f3d8a
mov edi, dword [esp + 0x14]
push edi
push str.vtable_constructor_failed:__s
push ebp
call fcn.0046ec60
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edx, esi
mov dword [ecx], eax
mov ecx, ebp
call fcn.0046c300
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046c300
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push eax
push 0x59aa60
push ebp
call fcn.0046ec60
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov edi, dword [esp + 0x34]
mov dword [ecx], eax
test edi, edi
je 0x4f3e24
cmp dword [0x5bbc20], 0
je 0x4f3e1a
mov eax, dword [0x5caa10]
test eax, eax
je 0x4f3dc3
push eax
call dword [0x5bbc70]
add esp, 4
push edi
call dword [0x5bbc4c]
sub dword [0x5ca818], eax
add esp, 4
dec dword [0x5ca83c]
push edi
call dword [0x5bbc44]
mov eax, dword [0x5caa10]
add esp, 4
test eax, eax
je 0x4f3e24
push eax
call dword [0x5bbc78]
mov edi, dword [esp + 0x18]
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.0046c300
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046c300
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push edi
call dword [0x5bbc44]
add esp, 4
mov edi, dword [esp + 0x14]
mov edx, esi
mov ecx, ebp
call fcn.0046c300
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.0046c300
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, dword [ebx]
test eax, eax
je 0x4f40c1
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 0x4f3ef4
mov eax, dword [esp + 0x20]
push dword [eax]
push str.vtable_constructor_did_not_declare_schema:__s
push ebp
call fcn.0046ec60
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov dword [ecx], eax
add dword [esi + 0xc], 0xffffffff
mov ebp, dword [esi]
jne 0x4f3ed4
mov edi, dword [esi + 4]
mov ebx, dword [ebx]
add dword [edi + 8], 0xffffffff
jne 0x4f3ebc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4f3eb3
push dword [edi + 0xc]
call eax
add esp, 4
mov edx, edi
mov ecx, ebp
call fcn.0046c300
test ebx, ebx
je 0x4f3ecb
mov eax, dword [ebx]
push ebx
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov edx, esi
mov ecx, ebp
call fcn.0046c300
mov ebp, dword [esp + 0x18]
mov esi, 1
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, edi
call fcn.0046c300
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 0x4f40c1
xor ebp, ebp
mov dword [esp + 0x2c], ebp
nop dword [eax]
mov eax, dword [ecx + 4]
test byte [eax + ebp + 0xe], 4
je 0x4f3f4a
mov edx, dword [eax + ebp]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f3f32
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x20]
add esi, edx
mov edx, dword [esp + 0x28]
jmp 0x4f3f5d
mov eax, dword [eax + ebp + 4]
shr eax, 4
and eax, 0xf
je 0x4f3f6a
mov esi, dword [eax*4 + 0x5bcb1c]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4f3f73
jmp 0x4f409b
mov esi, 0x58e160
mov dword [esp + 0x1c], esi
mov ebp, esi
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4f3f78
sub ebp, ecx
xor edx, edx
mov dword [esp + 0x24], edx
and ebp, 0x3fffffff
je 0x4f4015
mov ebx, esi
mov dword [esp + 0x1c], esi
nop word [eax + eax]
mov eax, 6
test ebx, ebx
je 0x4f4081
mov esi, str.hidden
mov edi, ebx
mov cl, byte [esi]
dec eax
test cl, cl
je 0x4f3fd6
movzx edx, byte [edi]
movzx ecx, cl
mov cl, byte [ecx + 0x591b60]
cmp cl, byte [edx + 0x591b60]
jne 0x4f3fd6
inc esi
inc edi
test eax, eax
jg 0x4f3fb4
dec eax
test eax, eax
js 0x4f3ff6
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x591b60]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x591b60]
sub eax, ecx
jne 0x4f407d
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4f4004
cmp byte [ebx - 1], 0x20
jne 0x4f4081
mov eax, ebx
mov al, byte [eax + 6]
test al, al
je 0x4f4011
cmp al, 0x20
jne 0x4f4081
mov esi, dword [esp + 0x1c]
cmp edx, ebp
jge 0x4f408f
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 0x4f4050
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 0x4f4040
cmp byte [ebx], 0
jne 0x4f405d
test edi, edi
jle 0x4f405d
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 0x4f40a1
mov edx, dword [esp + 0x24]
inc edx
inc ebx
mov dword [esp + 0x24], edx
cmp edx, ebp
jl 0x4f3fa0
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 0x4f3f20
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov esi, dword [esp + 0x30]
mov edx, edi
call fcn.0046c300
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x18]
push ebx
call fcn.0046c9c0
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, ebx
call fcn.0046c300
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x40
ret