Function at 0x4f273c
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x20
call fcn.006021b0
mov ecx, dword [esp + 0x20]
mov ebp, ecx
mov edx, dword [esp + 0x38]
mov al, byte [ebp + 0xb3]
or al, 2
mov byte [ebp + 0xb3], al
mov dword [ebp + 0x49], edx
mov ecx, dword [ebp + 0xf]
xor eax, eax
mov al, byte [ecx + 0xa]
shl eax, 0x1a
and eax, 0xfc000000
cmp eax, 0x14000000
je 0x4f2a14
mov eax, dword [ecx + 0x25]
mov dword [ebp + 0x31], eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ebx, eax
mov dl, byte [ebp + 0xb3]
or dl, 4
mov byte [ebp + 0xb3], dl
xor edx, edx
mov dl, byte [ebx + 9]
and edx, 8
xor eax, eax
mov al, byte [ebp + 9]
and eax, 0xf7
or eax, edx
mov byte [ebp + 9], al
mov esi, dword [ebx + 0x59]
mov dword [ebp + 0x59], esi
mov edi, dword [ebx + 0x55]
mov dword [ebp + 0x55], edi
mov ecx, ebp
call fcn.00529be8
mov esi, 0xffffffff
mov dword [esp + 0x20], esi
mov dl, byte [ebx + 0xb4]
or dl, 1
mov byte [ebx + 0xb4], dl
mov ecx, ebp
call fcn.004f20a8
push ebp
mov ecx, dword [ebp + 0x49]
call fcn.004f5084
mov edx, dword [ebp + 0x35]
push dword [edx + 0x4b]
push dword [edx + 0x47]
push dword [edx + 0xd3]
push dword [edx + 0xcf]
mov ecx, dword [ebp + 0x49]
call fcn.005447f4
call fcn.004f1d34
mov esi, dword [ebp + 0x35]
mov edi, dword [esi + 0x35]
xor edx, edx
mov dl, byte [edi + 4]
add edx, dword [esi + 0x5f]
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [edi + 5]
add edx, dword [esi + 0x63]
mov dword [esp + 0x18], edx
xor edx, edx
mov dl, byte [edi + 6]
add edx, dword [esi + 0x57]
mov dword [esp + 0x1c], edx
xor edx, edx
mov dl, byte [edi + 7]
add edx, dword [esi + 0x5b]
mov dword [esp + 0x10], edx
mov esi, dword [ebp + 0x49]
lea ecx, [esi + 0x28]
call fcn.004e7674
xor edx, edx
push dword [esi + 0x14]
push dword [esi + 0x18]
push edx
push edx
mov ecx, esi
call fcn.00523c20
mov esi, dword [ebp + 0x35]
mov dword [esi + 0x41], eax
mov edi, dword [ebp + 0x35]
mov ecx, dword [edi + 0x41]
mov edx, dword [esp + 0x14]
mov word [ecx + 0x24], dx
mov edx, dword [esp + 0x18]
mov word [ecx + 0x26], dx
mov edx, dword [esp + 0x1c]
mov word [ecx + 0x28], dx
mov edx, dword [esp + 0x10]
mov word [ecx + 0x2a], dx
call fcn.00522a6c
mov edx, dword [esp + 0x1c]
mov dword [esp], edx
mov ecx, dword [ebp + 0x35]
mov esi, dword [ecx + 0x4b]
sub esi, dword [esp + 0x14]
mov dword [esp + 4], esi
mov edi, dword [ecx + 0x29]
mov esi, dword [edi]
test esi, esi
je 0x4f28fb
mov dword [esp + 0xc], ebx
xor edx, edx
mov dl, byte [esi + 0x11a]
test dl, 1
je 0x4f29a6
and edx, 8
test edx, 0xfffffff8
jne 0x4f28e7
lea edx, [esp]
lea ebx, [esp + 4]
push 1
push ebx
push edx
push dword [ebp + 0x49]
mov ecx, esi
call fcn.0055b708
mov ecx, esi
call fcn.004f09f0
mov esi, eax
test esi, esi
jne 0x4f28b6
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x35]
push 0
call fcn.0055c1ec
test byte [ebp + 0xb3], 1
jne 0x4f292f
mov esi, dword [ebp + 0x35]
mov dl, byte [esi + 0xd8]
and dl, 0xf7
mov byte [esi + 0xd8], dl
mov edi, dword [ebp + 0x35]
mov dl, byte [edi + 0xd8]
and dl, 0xef
mov byte [edi + 0xd8], dl
mov esi, dword [ebp + 0x35]
mov dl, byte [esi + 8]
and dl, 0xdf
or dl, 0
mov byte [esi + 8], dl
mov edi, dword [ebp + 0x31]
mov dl, byte [edi + 8]
and dl, 0xdf
or dl, 0
mov byte [edi + 8], dl
mov ecx, dword [ebp + 0x31]
call fcn.00502a14
mov edx, dword [0x65f364]
test edx, edx
je 0x4f296e
mov ecx, 0x74c220
push 0x20041
call fcn.004dc660
mov ecx, 0x74c220
call fcn.004dc6d0
mov edx, dword [ebp + 0x45]
cmp edx, 0x8000d
je 0x4f2989
xor edx, edx
mov dword [esp + 0x20], edx
mov dl, byte [ebx + 0xb4]
and dl, 0xfe
mov byte [ebx + 0xb4], dl
mov eax, dword [esp + 0x20]
add esp, 0x24
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 8], edx
mov ecx, dword [ebp + 0x35]
mov esi, dword [ecx + 0x29]
mov esi, dword [esi + 4]
test esi, esi
je 0x4f28fb
xor edx, edx
mov dl, byte [esi + 0x11a]
test dl, 1
jne 0x4f2a0c
and edx, 8
test edx, 0xfffffff8
jne 0x4f29f7
lea edx, [esp]
lea edi, [esp + 8]
push 1
push edi
push edx
push dword [ebp + 0x49]
mov ecx, esi
call fcn.0055b708
mov ecx, esi
call fcn.004f0a1c
mov esi, eax
test esi, esi
jne 0x4f29ca
mov ecx, dword [ebp + 0x35]
jmp 0x4f28fb
mov ecx, dword [ebp + 0x35]
jmp 0x4f28fb
mov eax, dword [ecx + 0x29]
mov dword [ebp + 0x31], eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ebx, eax
jmp 0x4f278e